What is the coding for hello word Java
Answers
Answered by
1
Answer:
public static void main(String args[]){ System. out. println("Hello Java");
Explanation:
Steps to Compile and Run first Java program
1) Declare a class with name A.
2) Declare the main method public static void main(String args[]){
3)Now Type the System. out. println("Hello World"); which displays the text Hello World.
Hope it helps.. :)
Similar questions