/** * JavaVariables series to demonstrate how primitive data types work in Java * JavaVariables03 - try to change data type from integer to String * * Note: uncomment lines 12 and 13 to show error * * @author Tim Pierson, Dartmouth CS10, Winter 2025 */ public class JavaVariables03 { public static void main(String[] args) { int x; //x = "Hello world"; //System.out.println("x = "+x); } }