JAVA - An object oriented programming
JAVA is basically an object oriented programming language which means that it emphasis on objects or data rather than algorithms. Its development took place in 1990 and was developed by the Sun Microsystems. JAVA has many things in common with C++, it has added features as compared to C++. One of the most important features of JAVA is that it is Platform independent, which means that it can run on any operating system like Windows, Unix etc. The reason behind this feature is that the machine code is converted into byte code with the help of java virtual machine concept, so byte code is suitable for every operating system.
JAVA supports the features like encapsulation, data abstraction, polymorphism, inheritance etc as the concept of classes is also present in JAVA like C++. One difference between JAVA and C++ is that JAVA does not support multiple inheritance. JAVA is quite secure as it does not involve the use of pointers JAVA is solely an object oriented programming language. It writes every program involving the use of classes. All the JAVA files are stored with the .java extension. Usually, the name of a JAVA file is same as that of the class that is present in the file. The concept of main function is also present in JAVA as it was present in C++.
JAVA also facilitates the users by having in built packages and interfaces. Another important feature of JAVA is its garbage collection system. This system remains invisible to the users and performs its tasks behind the scenes. JAVA also facilitates you to create dynamic applications like the JAVA applets which are different from the normal applications as they are executed by JAVA enabled browser and can also be transmitted over internet. JAVA applets incorporate the use of buttons, radio buttons, popup windows, tables etc. Before creating a java applet, you have to import the package java.applet.*.
JAVA is quite a secure language as it does not involve any use of pointers and also it has firewalls feature installed in it between the network applications. J2EE is another feature which is now being used for web based applications. It has a three tier architecture which also includes the business layer. All the mobile soft wares are constantly using JAVA platform. JAVA is also finding its use in gaming. Due to its security feature, it is a widely used language.
by Camila 19 years ago