Variables
Typed variables (int, double, String, boolean), final constants, and naming.
Simple enough for a 5-year-old to understand
Typed variables
public class Main { public static void main(String[] args) { int age = 36; double height = 1.72; String name = "Alex"; System.out.println(name + " " + age + " " + height); }}🎯 Exercise & Practice
Test what you've learned — answer, write code, check instantly. (1 left)
🎯 Expected output: Lisbon