70.4k views
2 votes
What will be displayed if the following Java code segment is run? System.out.println("one "); System.out.print("two "); System.out.println("three");

1 Answer

4 votes

I'm not familiar with Java, but I'm familiar with C#.

Ok, back to the point. Those lines will print in your console: "One", "Two" and "Three"

User Tim Howland
by
7.6k points