Un-Answered Questions { OOAD }

If a method definition has been specified in the base class and the interface which the class is implementing, which definition will be picked if we try to access it using interface reference and class object?

511


Can we use static method definitions in interfaces?

545


Can a class implement two interfaces having default method with same name and signature?

566


What if we override the conflicting method in the class?

514


Can we override static methods? Why?

503


Can we access interface static method using interface references?

521


If a method definition has been specified in class , its base class , and the interface which the class is implementing, which definition will be picked if we try to access it using interface reference and class object?

543


What is difference between encapsulation and abstraction?

565


Difference between encapsulation and data hiding ?

505


Difference between abstraction and implementation hiding ?

573


What are the features of encapsulation ?

557


Difference between composition and inheritance ?

548


Are constructors inherited? Can a subclass call the parent's class constructor? When?

559


Can we reduce the visibility of the inherited or overridden method ?

602


Does a class inherit the constructor of its super class?

513