Answers for "how to start a java file"

1

how to start a java program

class A {
 public static void main(String args[]){
     System.out.println("Hello World");
 }
}
Posted by: Guest on February-20-2021
2

how to run java files

javac filename.java //(This will compile the program)
java filename //(This will run the file)
Posted by: Guest on June-03-2021

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language