Concrete vs Abstract Flashcards
1
Q
What is the difference between Concrete and Abstract classes?
A
Concrete classes can instantiate instances, abstract classes cannot be instantiated and can use methods defined in them
2
Q
JFrame (Concrete or Abstract?)
A
concrete
3
Q
JButton (Concrete or Abstract?)
A
concrete
4
Q
JComponent (Concrete or Abstract?)
A
Abstract
5
Q
JLabel (Concrete or Abstract?)
A
concrete
6
Q
JTextField (Concrete or Abstract?)
A
concrete
7
Q
JTextArea (Concrete or Abstract?)
A
concrete
8
Q
JApplet (Concrete or Abstract?)
A
concrete
9
Q
JContainer (Concrete or Abstract?)
A
Abstract