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?

543


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?

511


Can we override static methods? Why?

503


Can we access interface static method using interface references?

518


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?

542


What is difference between encapsulation and abstraction?

564


Difference between encapsulation and data hiding ?

505


Difference between abstraction and implementation hiding ?

571


What are the features of encapsulation ?

557


Difference between composition and inheritance ?

545


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