wood burning stoves 2.0*
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
Author

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
Greenhorn

Joined: Jan 05, 2001
Posts: 15
scrollpane
inheritance hierarchy available in api documentation at: http://java.sun.com/j2se/1.3/docs/api/index.html
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: http://aspose.com/file-tools
 
subject: java.awt question