What is the basic syntax of Java?

All QuestionsCategory: JavaWhat is the basic syntax of Java?
chetan shidling asked 2 weeks ago

I need short information.

1 Answers
chetan shidling answered 2 weeks ago
public class Chetan {
  public static void main(String[] args) {
    System.out.println("Hello World By Chetan");
  }
}


Output:

$javac Chetan.java
$java -Xmx128M -Xms16M Chetan
Hello World By Chetan
Your Answer