java
java
Features of Java :
1. Object Oriented
2. Platform Independent
3. Simple language
4. Secure
5. Portable
6. Compiled & Interpreted
7. Robust
8. Distributed
9. Multi-Threaded
10. Performance
11. Dynamic
12.
Class hello
{
public static void main(String args[])
{
System.out.println(“Hello World”);
}
}
Example:
class Bicycle
{
private int gear=5;
public void braking ()
{
System.out.println (“Working of Braking”);
}
}
Java Code
Java Compiler
Byte Code
JVM