Question

The base class of the classes "Button" and "TestComponent" is

A Component
B Label
C Objects
D Container
Answer & Explanation
Option: [A]

The Component class is the base class for classes "Button" and "TestComponent". It is base class for almost all the interface components in the AWT.