(Choose 1 answer)
What is the output when you try to compile and run the following program?
public class Main {
void f(String t) (System.out.println("String");}
void f(StringBuffer h) (System.out.println("StringBuffer");}
public static void main(String argv[]){
f("ABC");
System.out.println();
}
A. No output, compile-time error.
B. StringBuffer
C. String
D. The code runs with no output.
Finish
E33