preview

Java Is A Machine Independent And Operating System Independent Language Essay

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 bug-free Memory management. JAVA IS OBJECT - ORIENTED Java is an Object – Oriented language. It defines data as objects with methods that support the objects. Java does not support multiple inheritance. It support the objects. Java does not support multiple inheritance. It supports inheritance where one class can inherit from only one other class; on the other hand Java supports abstract classes using which, programmers can stimulate multiple inheritance. The abstract base class for all Java classes is a class called an object. All the code used for Java is divided into classes. Behaviors can be inherited from one class to the next. JAVA IS DISTRIBUTED Java like any other Client/Server application, Java shares the

Get Access