Following is a question from Valiveru's exam :
Question 5.
If you want to create
java GUI application using AWT, you constructed a frame calling
Frame f = new Frame();
What methods you need to call on the Frame f to make it visible.
A.f.setVisible(true);
B.f.setSize(true);
C.Both A & B
D.There is no need to call any methods on f explicitly to
make it visible.
I had answered A,
But the correct Answer is C.
Now how can that be, i have nt' come across any such method
as B ?