Object Oriented Programming (oop) Concepts Mcqs Start Creating PDF
Object Oriented Programming (oop) Concepts Mcqs, this topic has 18 mcqs, It takes five to ten minutes to complete this free object oriented programming (oop) concepts mcqs test. You will see 4 or 5 option of each question. You must choose / think only one option and then press on answer key for check right answer. Practice "object oriented programming (oop) concepts mcqs" MCQs and share with your friends, brothers, sisters.
object oriented programming (oop) concepts mcqs (Total Quiz: 18)
MCQ: Break statement in switch case
- prevents from fallthrough
- causes an exit from innermost loop
- both a and b
- none
C
MCQ: Fallthrough in a switch case statement
- prevents the next case after the matching block to be executed
- Allows the next case after the matching block to be executed
- no fallthorugh occurs in switch case
- none
B
MCQ: Overloaded methods in java
- Compiler uses method signature to determine which method to invoke. They may have different functionality
- They are not available in fundamental classes
- They have the same name and signature
- none
A
MCQ: Which Java.Lang contains only static methods?
- Math ,System
- Number,Exception
- There is no such class
- none
A
MCQ: Invoking methods characteristics
- methods can be invoked in any order and calling method should be in same class as worker method
- Worker method and calling method can be invoked in same way
- Any method can call any method
- all the above
A
MCQ: Constructor chaining is
- subclass constructor calling super class constructor
- super class constructor calling subclass constructor
- both
- none
A
MCQ: Abstract class vs Interface
- A class may inherit only one abstract class but may inherit several interfaces.
- An abstract class can provide complete and default code but an interface has no code
- both a and b
- none
C
MCQ: Use of preprocessor directive in OOP
- for conditional compilation
- for macro expansion
- error and warning reporting
- all the above
D
MCQ: Pure virtual function is used
- to give meaning to derived class function
- to give meaning to base class function
- to initialize all functions
- None
B
MCQ: Function templates are considered equivalent when
- Declared in same scope
- Having same name
- Having identical return type and parameter list
- All of the above
D
Related Keywords
- object oriented programming
- oop
- oops concepts
- oops concepts in java
- oops concepts in c++
- python oop
- object oriented programming python
- php oop
- oop java
- object oriented software engineering
- object oriented programming tutorial