belongs to collection: Java exercises
What does this program print? Pay close attention to spaces
public class Test { public static void main(String[] args) { System.out.print("Hello"); System.out.println("World"); } }
(Because there are no spaces after the System.out.print("Hello"); the next line prints World directly after Hello is printed.)
HelloWorld
total answers (1)
start bookmarking useful questions and collections and save it into your own study-lists, login now to start creating your own collections.
(Because there are no spaces after the System.out.print("Hello"); the next line prints World directly after Hello is printed.)
need an explanation for this answer? contact us directly to get an explanation for this answer