What is the basic syntax of Java?


Warning: Trying to access array offset on false in /home3/indiakep/public_html/wp-content/plugins/dw-question-answer/inc/Template.php on line 8
All QuestionsCategory: JavaWhat is the basic syntax of Java?
chetan shidling asked 5 years ago

I need short information.

1 Answers
chetan shidling answered 5 years 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