Introduction to Object Oriented Programming - Assignment 1
Introduction to Object Oriented Programming - Assignment 1
Assignment - 1
MCQs
1. What is Object-Oriented Programming (OOP)?
a) A programming paradigm based on functions
b) A programming paradigm based on structured programming
c) A programming paradigm based on objects and classes
d) A low-level programming approach
1. The special method that is automatically called when an object is created is called a
______.
2. A constructor that takes no parameters is called a ______ constructor.
3. In Java, an interface can have only ______ methods by default.
4. The keyword used to implement an interface in Java is ______.
5. In multiple inheritance, a class can inherit from multiple ______.