Professional Documents
Culture Documents
Java C2
Java C2
Characteristics of JAVA
• Simple
• Object-Oriented
• Portable
• Platform independent
• Secured
• Robust
• Architecture neutral
• Interpreted
• High Performance
• Multithreaded
• Distributed
• Dynamic
Java Environment Components
• JDK(Java Development Kit)
• JRE(Java Runtime Environment)
• JVM: JVM (Java Virtual Machine) is an abstract machine.
JAVA ENVIRONMENT
A simple helloworld program
import java.io.*;
System.out.println("Hello, World!");
}
Filename and Extension
?.java
helloworld.java
Public
You can run this method without creating an instance with main
void