A language feature that combine variables and methods in a single package is called _____

A language feature that combine variables and methods in a single package is called _____
A. Encapsulation
B. Inheritance

C. Polymorphism
D. None of These

ANSWER: A) Encapsulation
Explanation : Encapsulation is a language feature that packages attributes and behaviors into a single unit. That is, data and methods comprise a single entity.

Leave a Comment