hi this prints 1 button with label "Ok" and 4 buttons with label "cancel", pls explain, thanks.
import java.applet.*;
import java.awt.*;
public class Q16 extends
Applet {
Button okButton = new Button("Ok");
public void init()
{
add(okButton);
add(okButton);
add(okButton);
add(okButton);
add(new Button("Cancel"));
add(new Button("Cancel"));
add(new Button("Cancel"));
add(new Button("Cancel"));
setSize(300,300); }
}