What can you add at LINE 6 so that the program will print Java Exam Prep?
class ExamPrep {
public static void main(String[] args){
String a = "Java";
String b = "Exam";
String c = "Prep";
// LINE 6
System.out.println(result);
}
}
Choose the correct answer:
A. String result = String.format("%d %d %d", a, b, c);
B. String result = String.format("%s %s %s", a, b, c);
C. String result = String.format("%n %n %n", a, b, c);
D. String result = String.format("%a %b %c");