MCQ
Single Best Answer
Easy
Q Give the output of the following program
// Give the output of the following program fragment:
class MCQClass {
public static void main(String args[]){
String s = "String";
int a = 12, b = 45;
System.out.println(s + a + b);
System.out.println(a + s + b);
System.out.println(a + b + s);
}
}
ID: #22214
Introduction in String Java
79 views
Question Info
#22214Q ID
EasyDifficulty
Introduction in String JavaTopic
Your Answer
Choose the Best Option
Click any option to instantly check if you're correct.
Correct Answer: Option A
Explanation
Continue Practice
Share
Share This Question
Challenge a friend or share with your study group.
More from This Topic