MCQOPTIONS
Saved Bookmarks
| 1. |
Where are the following four methods commonly used?1) public void add(Component c)2) public void setSize(int width,int height)3) public void setLayout(LayoutManager m)4) public void setVisible(boolean) |
| A. | Graphics class |
| B. | Component class |
| C. | Both A & B |
| D. | None of the above |
| Answer» C. Both A & B | |