Hi,
I am trying to implement a controller function which will test all my methods.
As a result of this class information will be displayed.
Below is a sample of my coding.
System.out.println("After copy method, is Date1 equal to Date2? "); if (Date2.equals(Date1)) System.out.println("The copy method in class Date is functioning correctly. Date2 has been copied to Date1."); else { System.out.println("The copy method in class Date is not functioning correctly"); }
I wish for there to be a blank line between "After copy method, is Date1 equal to Date2? " and whichever line is returned after the if statement. How do i implement this?
Thanks in advance.