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?
Which of the following is tightly bound ? Inheritance or composition ?
What is a try/ catch block?
What's the main difference between arraylist / hashmap and vector / hashtable?
What is the difference between a class and an object?
What are manipulators?
How to differentiate between a CreateObject() and GetObject() ?
What is the syntax of object oriented method call?
When do you prefer to use composition than aggregation?
1 Answers InfoAxon Technologies, Protech,
Can you define OOP and principles of OOP?
Are constructors inherited? Can a subclass call the parent's class constructor? When?
Is @functionalinterface annotation mandatory to define a functional interface? What is the use of @functionalinterface annotation? Why do we need functional interfaces in java?
State some of the advantages of object oriented programming?