Answers

Question and Answer:

  Home  AWT

⟩ Why does JComponent class have add() and remove() methods but Component class does not?

JComponent is a subclass of Container and can contain other components and JComponents.

 208 views

More Questions for you: