File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes java.awt question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "java.awt question" Watch "java.awt question" New topic

java.awt question

Chris Mathews
Ranch Hand

Joined: Jan 08, 2001
Posts: 46
Which of the following are subclasses of Container?

a) ComboBox

b) Event

c) ScrollPane

d) TextArea

e) Slider

Please answer.
Fred Abbot
Ranch Hand

Joined: Jun 01, 2000
Posts: 300
comboBox abd Event are not
Scott Kiel

Joined: Jan 05, 2001
Posts: 15
inheritance hierarchy available in api documentation at:
Pratap Reddy
Ranch Hand

Joined: Jan 05, 2001
Posts: 36
Chris , In my opinion right answer is: (C). Since ComboBox , TextArea and Slider subclass of components and Event is subclass of Object.
I agree. Here's the link:
subject: java.awt question
It's not a secret anymore!