preview

Advantages And Disadvantages Of Java And Java

Satisfactory Essays

JAVA is a machine independent and operating system independent language. A program written in JAVA can be run on any machine or in any platform provided the interpreter of that particular platform. ADVANTAGES: Simple and powerful. safe. Robust. Interactive. Neutral. Interpreted and high performance. JAVA FEATURES: JAVA IS SIMPLE Even though Java is object oriented, there are some differences in C++ and JAVA. In Java there are no pointers, no multiple inheritance, no go to, an operator overloading. The Java language has an embedded auto garbage collection mechanism. The Garbage collector simplifies Java programming by automatically freeing memory area when it is not required. Java programs are therefore simple, comparative …show more content…

This is a possibility in Java programs. But due to the strong type checking done by Java on the user’s local machine, any changes to the program are tagged as an error. The program will not be executed. This means that Java programs cannot be infected by a virus. JAVA IS ARCHITECTURE NEUTRAL Due to the byte-code compilation process, and interpretation by the browser, Java can work with variety of hardware and operating systems. The only requirement is that the system should have a Java-enabled Internet browser. JAVA IS PORTABLE The Java system was built to be portable. The Java compiler is written using the Java language and the run-time environment; the interpreter is Written in ANSI C. The Java interpreter can execute the byte-code directly on any machine onto which the interpreter can execute the byte-code directly on any machine onto which the interpreter has been installed. JAVA IS HIGH PERFORMENCED High performance does not mean that Java is faster than another language; Instead, Java is comparable in speed to other languages like C or C++. For a simple application, the difference in speed is hardly

Get Access