Java_Abstract_Classes_Interfaces Flashcards
1
Q
What are the Abstract classes in Java?
A

2
Q
Why we need abstract classes in Java?
A

3
Q
What are the rules of Abstract classes?
A

4
Q
What are the interfaces in Java?
A

5
Q
Some rules of the interface in Java.
A

6
Q
What is a default modifier in Java?
A

7
Q
What are static methods in interfaces?
A

8
Q
Why do we need interfaces in Java?
A

9
Q
Example of Interface.
A
