Question
Easy
........... is used to combine data and its associated functions under a single unit.
1
Inheritance
2
Encapsulation
3
Association
4
Polymorphism
Question Details
Time to Solve: 12
Exam: HTET
Level/Paper: Level 3
Chapter:
Topic:
Correct Answer
Option B
Explanation
The correct option is (2): Encapsulation is a cornerstone of Object-Oriented Programming (OOP) and is precisely defined as the mechanism for bundling data (attributes/variables) and the methods (functions) that operate on that data into a single, self-contained unit, traditionally known as a class. This concept directly answers the question as its primary function is to create a logical container for related data and behavior. The bundling facilitates a critical feature…Read More
Similar Questions from HTET Exam - Level 3 - Year 2016
Question 1
Easy
Source :
HTET 2016
Slide show can be stopped by pressing ........... key.
Question 2
Easy
Source :
HTET 2016
........... constraint ensures that no two 'rows' have same value in specified column/columns.
Question 3
Easy
Source :
HTET 2016
........... command provides a window through which one can see the data of another table.
Question 4
Easy
Source :
HTET 2016
In SQL decimal data type, ........... indicates the maximum number of digits to the right of decimal point.