Monday, April 23, 2018

Java Interface and Abstract class Interview Questions


---------------------------------------
What is Abstract class?
What is interface?
Difference between Abstract class and inteface?
Can we make a class abstract without abstract method?
Can we make a class final and abstract?
Can we declare constructor in abstract class in Java?
Can an interface extend more than one interface in Java?
Can a class extend more than one class in Java?

Can we have non abstract method inside interface?
What is default method of Java 8?

No comments:

Post a Comment

Feel free to comment, ask questions if you have any doubt.