Object-Oriented Programming MCQs (Part-5)

What is Dynamic Binding in OOP?

A Static method calling
B Object instantiation
C Compile-time binding
D Run-time binding

Which of the following allows multiple methods to have the same name but different signatures?

A Method Overloading
B Method Overriding
C Method Inheritance
D Method Cloning

What is the key difference between Method Overloading and Method Overriding?

A Object vs class
B Compile-time vs runtime
C Same class, same signature
D Different classes

What is the purpose of an Abstract Class in OOP?

A To instantiate objects
B To hide data
C To provide a blueprint
D To implement interfaces

Which of the following cannot be defined in an Interface in OOP?

A Concrete methods
B Static methods
C Constants
D Abstract methods

What is the purpose of Static Binding in OOP?

A Method overriding
B Object initialization
C Resolving methods at runtime
D Resolving methods at compile time

Which of the following is a feature of Interfaces in OOP?

A Cannot inherit methods
B Can be instantiated
C Can implement multiple classes
D Can have constructors

Which concept in OOP allows a subclass to define its version of a method already defined in its superclass?

A Abstraction
B Method Overriding
C Method Overloading
D Inheritance

What is the significance of Abstract Methods in OOP?

A To enforce method implementation
B To provide code reuse
C To hide class details
D To support multiple inheritance

Which of the following is a valid characteristic of an Interface?

A Can include constructor methods
B Method definition with implementation
C Multiple inheritance support
D Can be instantiated directly

Which OOP principle ensures that a class has only one instance throughout the system?

A Factory Pattern
B Observer Pattern
C Singleton Pattern
D Proxy Pattern

What is the main function of Method Overriding in OOP?

A To manage object states
B To change inherited behavior
C To increase performance
D To improve code readability

Which of the following best defines Polymorphism in OOP?

A Same method, different behavior
B Combining methods
C Inheriting behavior
D Different method, same name

What happens when an object implements an interface?

A The object provides method definitions
B The object can inherit methods
C The object can use constructors
D The object must define the interface methods

Which of the following is an example of Method Overloading?

A Changing the method signature in a subclass
B Implementing abstract methods
C Defining methods with the same name but different parameters
D Overriding inherited methods