write the hierarchy of component class?

Answer Posted / narasimha

abstract class Compoent extends java.lang.Object implents
ImageObserver, MenuContainer, Serializable

the known subclasses are

Button,
Canvas,
Checkbox,
Choice,
Container,
Label,
List,
Scrollbar,
TextComponent

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Tell me about different OOPS concepts.

593


What is a boolean field?

531


What is double checked locking in singleton?

611


Does apple use java?

497


Is set sorted in java?

521






What is string args [] in java?

540


What is proper subset?

537


Is there any case when finally will not be executed?

527


What is ordered map in java?

542


Can we override constructors in java?

681


What is set string?

596


What is a default constructor and also define copy contrucyor?

603


What are the advantages of passing this into a method instead of the current class object itself?

1174


Why generics are used in java?

553


What is the difference between throw and throws in java?

559