preview

Jav A Simple Object Oriented Computer Programming Language

Better Essays

JAVA AND FETURES
NAME: HIMAJA RAVI
ID NO: 3868705
Prof. Nicholas Rosasco
COURSE: IT-500
DATE: 09-11-2014

HISTORY OF JAVA:
Java is a simple object oriented computer programming language. Java is developed by James Gosling at sun Microsystems. At first java is called as “OAK” after it is named as “Green” later on it is named as java. Java is similar to C/C++ style. It is popular for “Write once, Run Anywhere” (WORA). It released in 1995 as “Java 1.0”. Unlike C and C++, Java can run in any operating system or in any computer. Java allowed accessibility to network also. We can use java applets for web pages which increased the popularity of java. Java programs take more memory than C++ programs, but java programs …show more content…

Java has garbage collection. It is nothing but it creates an automatic memory. When compare to C++, java is easy to build and less complicated. Full build in C++ might take up to 20 hours, while in java it takes seven minutes. C++ don’t have binary standard, but java have binary standard. Java is a general purpose programming language, but C++ is designed for systems and application programs.

Features:
Object Oriented: Java is a pure object oriented programming language where C++ is semi oriented. Basic concepts of object oriented program are object, class, inheritance, polymorphism, abstraction and encapsulation.
Data Types: We can use many data types like Boolean, char, byte, int, short, float, long, double.
Memory Management: We can allocate memory for new objects. Objects that are not are in use will be removed from the garbage collection by the garbage collector.
Multithreading: Java allows multiple threads to run and execute at a time. By using “Thread” class the method will start, run and stop.
Simple: The java is simple and easy to understand. It is similar to C and C++. It contains no “goto” statement but we can use “break” and “continue”. It don’t have any header files. Java don’t contain any structures, unions, functions.
Interpreted:
When java code is compiled, it is converted into java byte code which is executed by java virtual machine. JVM is not physically existed but it is a hypothetical processor that can run java code. Then it is send to

Get Access