Abstract classes in Java – Objective Test

This “Core Java Practice Test on abstract classes in Java” providing set of objective type questions on java abstract classes to test your theoretical skills and technical skills.


1. Can we combine abstract and final ?

 
 
 
 

2. Why abstract and static cannot be combined ?

 
 
 
 

3. How to access non static members of abstract class ?

 
 
 
 

4. Can we define main() inside abstract class ?

 
 
 
 

5. What is abstraction ?

 
 
 
 
 

6. How to initialize abstract class instance variables ?

 
 
 
 

7. Can we define constructor inside abstract class ?

 
 
 
 

8. Can a final class extends abstract class ?

 
 
 
 

9. Can we instantiate abstract class directly ?

 
 
 
 

10. How can we access static members of abstract class ?

 
 
 
 
 

Question 1 of 10

Share this