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?

702


Can we use static method definitions in interfaces?

746


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

759


What if we override the conflicting method in the class?

714


Can we override static methods? Why?

682


Can we access interface static method using interface references?

751


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?

727


What is difference between encapsulation and abstraction?

734


Difference between encapsulation and data hiding ?

666


Difference between abstraction and implementation hiding ?

824


What are the features of encapsulation ?

749


Difference between composition and inheritance ?

711


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

751


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

780


Does a class inherit the constructor of its super class?

692