Can encapsulation be called as a security device?
No Answer is Posted For this Question
Be the First to Post Answer
What do you mean by virtual function and virtual classes?
Explain the purpose of composition.
What is association?
What is multiple inheritance? How java 8 supports multiple inheritance?
What is difference between static and non-static fields of a class?
What are the interfaces you used in beans?
What is the order of call of constructors in inheritiance?
explain the difference between operator overloading and function overloading.
What is the use if instanceof keyword?
What is the default access modifier for a class,struct and an interface declared directly with a namespace?
Can we override static methods? Why?
A class inherits from 2 interfaces and both the interfaces have the same method name as shown below. How should the class implement the drive method for both car and bus interface?