EASY
HSSC Clerk
IMPORTANT
Earn 100

Which of the following OOPS concepts means wrapping up of data and functions together?
(a)Abstraction
(b)Encapsulation
(c)Inheritance
(d)Polymorphism
(e)None of these

50% studentsanswered this correctly

Important Questions on Object Oriented Programming
EASY
HSSC Clerk
IMPORTANT
Which one of the following options is correct about the statement given below? The compiler checks the type of reference in the object and not the type of object.

EASY
HSSC Clerk
IMPORTANT
Which of the following OOPS concepts is used to implement late binding?

EASY
HSSC Clerk
IMPORTANT
Which of the following is a mechanism of static polymorphism?

EASY
HSSC Clerk
IMPORTANT
What happens if the base and derived class contains definition of a function with same prototype?

EASY
HSSC Clerk
IMPORTANT
Which of the following is used to make an abstract class?

EASY
HSSC Clerk
IMPORTANT
Which one of the following is correct about the statements given below?
1. All function calls are resolved at compile-time in Procedure Oriented Programming.
2. All function calls are resolved at compile-time in OOPS.
3. Direct function calls can be resolved using a process known as early binding.

EASY
HSSC Clerk
IMPORTANT
In a class, member variables are often called, and its member functions are sometimes referred to as its behavior or _____.

EASY
HSSC Clerk
IMPORTANT
The polymorphism can be characterized by the phrase
