6. Which of the following is not a wrapper class
A. String
B. Integer
C. Boolean
D. character
Answer : String.
7. How do you change the current layout manager for container?
A. use setLayout()
B. once created you cannot change it
C. You set setLayoutManager()
D. use updateLayout()
Answer : use setLayout().
8. In order to cause the paint(Graphics) method to execute, which of the following is the most appropriate method to call
A. paint()
B. repaint()
C. paint(Graphics)
D. update(Graphics)
Answer : repaint().
CDAC Blog..