Un-Answered Questions { OOAD }

What is the difference between an abstract class and interface in java?

563


What's the benefit of using inheritance?

679


What is the significance of encapsulation?

583


What is data encapsulation and what's its significance?

616


How can we restrict inheritance for a class so that no class can be inherited from it?

666


What is data encapsulation and what is its significance?

512


What's the order of call of constructors in inheritiance?

588


What are the types of polymorphism?

566


What is inheritance in java?

558


What is abstract method?

540


Can we have default method with same name and signature in the derived interface as the static method in base interface and vice versa?

563


What if we make the method as abstract in another interface?

525


What is the @functionalinterface annotation?

542


Can we have a default method definition in the interface without specifying the keyword "default"?

542


What is a nested interface?

587