What is the output of the following Java program: `System.out.println("Hello, World!");`?
The output of the program will be `Hello, World!` printed to the console.
Excellent! Youâ€™ve correctly predicted the output of the program.
Can you explain how `System.out.println()` works and what would happen if you used `System.out.print()` instead?