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?
Can we use static method definitions in interfaces?
Can a class implement two interfaces having default method with same name and signature?
What if we override the conflicting method in the class?
Can we override static methods? Why?
Can we access interface static method using interface references?
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?
What is difference between encapsulation and abstraction?
Difference between encapsulation and data hiding ?
Difference between abstraction and implementation hiding ?
What are the features of encapsulation ?
Difference between composition and inheritance ?
Are constructors inherited? Can a subclass call the parent's class constructor? When?
Can we reduce the visibility of the inherited or overridden method ?
Does a class inherit the constructor of its super class?