History of java and its features

0
486
java

History of java and its features

java

java is developed by JAMES GOSLING in 2008 in sun microsystem,nowadays it has been acquired by oracle . java is general purpose programming language.It is object oriented programming,class based. It is basically developed for run everywhere means “write once read anywhere”(WHORA).

History of java and its features 1

java code can run on all platforms that support Java without the need for recompilation. Its code is converted firstly into bytecode then it can run at ant java virtual machine(JVM).

Its language is very similar to similar talk and its syntax are similar to c and c++. At 2016 java became most used programming language particularly for client server web application.
Java compilers, virtual machines, and class libraries were originally released by Sun under proprietary licenses.

The latest version is Java 11.It is released on September 25, 2018 which is currently supported long-term support (LTS) version by Oracle.
since java 9 is not suppoted . so oracle advice to switch towards java 11. Nowadays. java 11 version is good. Oracle and others “highly recommend that you uninstall older versions of Java”[23] because of serious risks due to unresolved security issues.

hello world written in java program:

public class HelloWorldApp {
public static void main(String[] args) {
System.out.println(“Hello World!”); // Prints the string to the console.
}
}

explanation: here class concept is used . we have class name HelloWorldApp. main function gets started with void (means no return value)with static means value remains fixed in public part of the class.

TAKE THIS QUIZ

[wpViralQuiz id=4321]

then pointer goes towards printing the string i.e Hello World.
Here one thing keep in mind while compiling . It is firstly converted into byte code and then run. Its project is saved by using .java .

LEAVE A REPLY

Please enter your comment!
Please enter your name here