History of Java - Supercoders | Web Development and Design | Tutorial for Java, PHP, HTML, Javascript History of Java - Supercoders | Web Development and Design | Tutorial for Java, PHP, HTML, Javascript

Post Top Ad

Post Top Ad

Thursday, March 7, 2019

sUPERCODER%2BLOGO

History of Java


History of Java


Javahistory-720x340

1. Java is a general purpose object oriented programming  language.
2. Developed by Sun Microsystems. (James Gostling)
3. Initially called “Oak” but was renamed as “Java” in 1995.
4. Initial motivation is to develop a platform independent language to create software to be embedded in various consumer electronics devices.
5. Become the language of internet. (portability and security).

Features of Java

java-features

1. Simple, Small and Familiar
2. Compiled and Interpreted
3. Object Oriented
4. Platform Independent and portable
5. Robust and Secure
6. Distributed / Network Oriented
7. Multithreaded and Interactive
8. High Performance
9. Dynamic 

Simple, Small and Familiar

java-features+%25281%2529

Similar to C/C++ in syntax.
But eliminates several complexities of
No operator overloading.
No direct pointer manipulation or pointer arithmetic.
No multiple inheritance.
No malloc() and free() – handles memory automatically.

Compiled and Interpreted

java

Java works in two stage.
Java compiler translate the source code into byte code.
Java interpreter converts the byte code into machine level
representation.

Byte Code:
java-bytecode

-A highly optimized set of instructions to be executed by tehe java runtime system, known as java virtual machine (JVM).
-Not executable code.

Java Virtual Machine (JVM):

jvm

-Need to be implemented for each platform.
-Although the details vary from machine to machine, all JVM understand the same byte code.

No comments:

Post a Comment

Post Top Ad