Can an interface contain fields?
No Answer is Posted For this Question
Be the First to Post Answer
Can we override a method by using same method name and arguments but different return types?
Explain the mechanism of composition?
What is abstraction? How does it differ from encapsulation
What is the difference between static and dynamic Classificaition.Give some examples.
1 Answers InfoAxon Technologies, Protech, Wipro,
What is an abstract property. Give an example?
How many instances can be created for an abstract class?
What is Object Constraint Language (OCL)?
Can you define OOP and principles of OOP?
What is the difference between multiple and multilevel inheritance?
Write a note on encapsulation?
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?
Differentiate between data abstraction and encapsulation.