1.

Which of these methods is a part of Abstract Window Toolkit (AWT)?(a) display()(b) paint()(c) drawString()(d) transient()This question was addressed to me during an interview.Origin of the question is Applets Fundamentals topic in portion I/O & Applets of Java

Answer»

The CORRECT option is (b) PAINT()

To EXPLAIN I would say: paint() is an abstract METHOD defined in AWT.



Discussion

No Comment Found

Related InterviewSolutions