This example shows how to read an integer input from the user in Java. First, the program creates a Scanner object connected to the keyboard. Then it waits for the user to type a number and press Enter. The nextInt() method reads the typed number and stores it in the variable 'num'. Finally, the program prints the number back to the screen. The execution table traces each step, showing how variables change and when output happens. Key points include creating the Scanner before reading input and storing the input in a variable for later use. If the user types something not an integer, the program will throw an error. This simple flow helps beginners understand how input works in Java.