Chapter 01 of 76 min read
Java Architecture & The First Program
Understand the JVM, JDK, bytecode compilation, and the anatomy of a Java class.
Write Once, Run Anywhere (WORA)
Java compiles source code (.java) into platform-independent Bytecode (.class) executed by the Java Virtual Machine (JVM).
Java Example • Chapter 01
public class Main {
public static void main(String[] args) {
String institute = "WeBotApp Academy Guwahati";
int establishedYear = 2009;
int currentYear = 2026;
int experience = currentYear - establishedYear;
System.out.println("=========================================");
System.out.println("☕ Welcome to WeBotApp Java CodeLab");
System.out.println("Institute: " + institute);
System.out.println("Experience: " + experience + " Years of Excellence");
System.out.println("Guaranteed Placement: 100% Certified");
System.out.println("=========================================");
}
}💡 Click "Try in Editor" to run, edit, and experiment with this code in our live split-view environment.100% Live Preview
Key Concepts • Chapter 01
- •Every Java program must have at least one class matching the filename.
- •public static void main(String[] args) is the mandatory entry point.
- •System.out.println() prints lines to standard output.
🎯 Chapter Practice Challenge
Declare an int studentBatch = 2026 and print it to the console.