Java is a programming language and a platform developed by James Gosling at Sun Microsystems (which has since been acquired by Oracle) and released in 1995.
Java is a high level, robust, object-oriented, class-based, concurrent, secured and general-purpose computer-programming language. It is a widely used robust technology.
For executing any java program, you need to
Simple Java Example:-
class HelloJava { public static void main(String args[]) { System.out.println("Hello Java"); } }
To compile and run this program, you need to open the command prompt in windows by
start menu -> All Programs -> Accessories -> command prompt
Compile the above code using the command:-
javac HelloJava.java
When we compile Java program using javac tool, java compiler converts the source code into byte code.
Execute the above code using the command:-
java HelloJava
There are 4 platforms or editions of Java:- Java SE (Java Standard Edition) Java EE…
Java Applications are mainly 4 types of applications that can be created using Java programming.…