The following program is written to create a frame. The program seems to be correct but when it is compiled, the compiler is not accepting it. Why?
class Myframe {
public static void main(string_args[]) {
Frame f = new frame("My frame");
f.setsize(300, 250);
f.setvisible(true);
}
}
Reveal answer
Fill a bubble to check yourself