




Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Learn the basics of java programming by writing and running your first java program. This guide covers commenting, class definition, main method, and output. Compiling and running the program is also explained.
Typology: Study notes
1 / 8
This page cannot be seen from the preview
Don't miss anything!





//The Hello, World! program in Java
public class Hello {
public static void main(String[] args) { System.out.println("Hello, World!"); }
public class Hello {
}
public static void main(String[] args) { }
High level Code
Compiler
Interpreter Output (JVM)
Bytecode