EASY
HSSC Clerk
IMPORTANT
Earn 100

Abstraction and encapsulation are fundamental principles that underlie the object oriented approach to software development. What can you say about the following three statements?
I. Abstraction allows us to focus on what something does without considering the complexities of how it works.
II. Encapsulation allows us to consider complex ideas while ignoring irrelevant detail that would confuse us.
III. In encapsulation data member's data type can be changed without changing any other code.

50% studentsanswered this correctly

Important Questions on Object Oriented Programming

EASY
HSSC Clerk
IMPORTANT
Which feature can be implemented using encapsulation?
EASY
HSSC Clerk
IMPORTANT
Which among the following violates the principle of encapsulation almost always?
EASY
HSSC Clerk
IMPORTANT
Which among the following can be a OOPS concept against encapsulation rules?
EASY
HSSC Clerk
IMPORTANT
Which among the following would destroy the encapsulation mechanism if it was allowed in programming?
EASY
HSSC Clerk
IMPORTANT
Which among the following can't be used for polymorphism?
EASY
HSSC Clerk
IMPORTANT
In case of using abstract class or function overloading, which function is supposed to be called first?