Core Java Interview questions on Java abstract class

Core Java Interview questions on Java abstract class

1. How you define Abstract class ?
2. What is abstract class ?
3. Can there be an abstract class with no abstract methods ?
4. Can we instantiate an abstract class ?
5. What are the differences between Interface and Abstract class ?
6. When you will use abstract classes or interfaces ?
7. When you declare method abstract, can other non abstract methods access it ?
8. What is an Abstract Class and what’s use ?
9. Can you declare abstract class final ?
10. What is use of abstract variable ?
11. Can you create object of abstract class ?
12. What is abstract method ?
14. Can there be any abstract method without abstract class ?
15. Can you use abstract and final both with method ?
16. Can you instantiate the abstract class ?
17. Can we write abstract class without method. If yes what is the use of that ?

Check out all interview questions:

Leave a Reply

Your email address will not be published. Required fields are marked *

I am not Robot *