☞To print something on the screen, we use the following statements in java.
System.out.print(); or System.out.println();
☞To understand the difference between above mentioned statement, try to print the "Hello World" using these statements.
1. Hello World 2. Hello World Hello World 3. Hello World Hello World 4. Hello WorldHello World