22. can a class be a super class and a sub-class at the same time? Give example.
Answers
Answered by
0
Answer:
yes
Step-by-step explanation:
Subclassing from Swing components is rarely good idea. These classes are already very large. It's better to use composition (your class will have reference to frame
Similar questions