Advertisements
Advertisements
Question
System.out.print("BEST ");
System.out.println("OF LUCK");
Choose the correct option for the output of the above statements.
Options
BEST OF LUCK
BEST
OF LUCK
MCQ
Solution
BEST OF LUCK
shaalaa.com
Is there an error in this question or solution?
APPEARS IN
RELATED QUESTIONS
Name the keyword which: indicates that a method has no return type.
Name the keyword which: makes the variable as a class variable.
Evaluate the following expression if the value of x = 2,y = 3 and z = 1.
v = x + – z + y + + + y.
What is the difference between the Scanner class functions next () and nextLine()?