Java Questions & Answers – Concepts of OOPs Posted on June 10, 2020June 10, 2020 by admin 2 Created on June 10, 2020 By admin Java Questions & Answers – Concepts of OOPs 1 / 10 1. Which of the following is not OOPS concept in Java? A. Inheritance B. Encapsulation C. Polymorphism D. Compilation 2 / 10 2. Which of the following is a type of polymorphism in Java? A. Compile time polymorphism B. Execution time polymorphism C. Multiple polymorphism D. Multilevel polymorphism 3 / 10 3. When does method overloading is determined? A. At run time B. At compile time C. At coding time D. At execution time 4 / 10 4. When Overloading does not occur? A. More than one method with same name but different method signature and different number or type of parameters B. More than one method with same name, same signature but different number of signature C. More than one method with same name, same signature, same number of parameters but different type D. More than one method with same name, same number of parameters and type but different signature 5 / 10 5. Which concept of Java is a way of converting real world objects in terms of class? A. Polymorphism B. Encapsulation C. Abstraction D. Inheritance 6 / 10 6. Which concept of Java is achieved by combining methods and attribute into a class? A. Encapsulation B. Inheritance C. Polymorphism D. Abstraction 7 / 10 7. What is it called if an object has its own lifecycle and there is no owner? A. Aggregation B. Composition C. Encapsulation D. Association 8 / 10 8. What is it called where child object gets killed if parent object is killed? A. Aggregation B. Composition C. Encapsulation D. Association 9 / 10 9. What is it called where object has its own lifecycle and child object cannot belong to another parent object? A. Aggregation B. Composition C. Encapsulation D. Association 10 / 10 10. Method overriding is combination of inheritance and polymorphism? A. True B. false Your score is The average score is 5% LinkedIn Facebook Twitter 0% Restart quiz