Constructor and destructor
Java is a high-level programming language developed by the sun microsystem. First, it was conceived by James Gosling, Patrick Naughton, Chris Warth, Ed Frank, and Mike in the year 1991. Initially, it was named “Oak,” and it was renamed “Java” in 1995. Java is a highly object-oriented, platform-independent, and secure programming language.
One of the most important factors in the java programming language is its Bytecode conversion. Byte codes in Java are a highly optimized set of instructions designed to be executed by Java Virtual Machine. JVM works as an interpreter for the byte code.
We require JDK (Java Development Kit) to use java programming language, including JRE (Java Runtime Environment).
Today’s modern technology of software development java programming language provides greater advantages. Following some features of Java, languages give some basic ideas about why to learn Java.
Java is used in various application developments following are some real-time applications of Java.
public class SimpleExample1
public static void main(String args)
int a = 10;
System.out.println("Value of a = "+ a);
To learn java programming language programmer should have prior basic knowledge of any programming language such as C. Since Java is a purely object-oriented language, basic knowledge of any object-oriented language like C++ is necessary, and it becomes easier to understand Java. The only programmer needs to understand the basic syntax and structure of the java programming language.
Starting from the java standard edition, it's a greater beginning for java programmers Standard Edition support to develop, ranging from Desktop applications to embedded systems. Advanced java version i.e. J2EE technologies, support to develop Enterprise level applications, web applications, gaming applications, etc….