What is Java and Introduction
JAVA INDRODUCTION:-
On May 23, 1995, Sun introduced the Java language and its associated development tools only took about four years to create, but as the Green group proved, four years was ample time to create a new standard for the rest of the world to follow. Soon after the announcement of Java, alpha versions of the language started appearing across the World Wide Web. Another noteworthy date to mark on your calendar is December 7, 1995. Its platform independence and potential to turn the Web into a much more dynamic and interactive environment—something that is badly needed.its support of popular object-oriented programming techniques, making it easier for hundreds of thousands of C and C++ programmers to quickly master Java’s powerful features.
What is Java:-
Java is an object-oriented programming language and best known for its high-end Unix workstations. Modeled after C++, the Java language was designed to be small, simple, and portable across platforms and operating systems, both at the source and at the binary level.
Java is often mentioned in the same breath as HotJava a World Wide Web browser from Sun like Netscape or Mosaic. it can also download and play applets on the reader’s system. Applets appear in a Web page. Java support is rapidly becoming available in other browsers.
Java Concepts:-
Object
Class
Constructor
Inheritance
Polymorphism
Abstraction
Encapsulation
Components of Java:-
JVM :- The Java Virtual Machine is provides an environment for Java Program’s.
JRE:- The Java Runtime Environment (JRE) is software package that contains with JAVA class libraries and java class.
JDK: – JDK is a superset of JRE and is a software development environment used to develop Java applications and applets.
public class Main{
public static void main(string []args){
System.out.println("Hello India");
}
}
// Output
Hello India