Hi,
The teacher asks me to use both methods System.out.println ( )and System.out.print ( ) but I only see that they are the same. I have just worked out with Java for a few days and I really need help. I appreciate your help a lot. Thank you so much.
My sample code:
public class Question4{//The class name
public static void main(String[]args){ //method name
System.out.println(new String("This is my first try"));
System.out.println();//The blank line
System.out.println(new String("at programming in Java"));
System.out.println();//The blank line
System.out.println("It's fun!");