What is encapsulation | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 6

What is encapsulation

9th Nov 2019, 4:53 AM
aman Kumar
aman Kumar - avatar
6 Answers
+ 4
This question for NICL interview
9th Nov 2019, 4:54 AM
aman Kumar
aman Kumar - avatar
+ 8
Encapsulation means combination of information or properties in a single unit.
12th Nov 2019, 11:23 AM
~A~
+ 6
Encapsulation is a mechanism of wrapping all your variables and methods inside a single unit and you can take a class as an example.
9th Nov 2019, 4:59 AM
Avinesh
Avinesh - avatar
+ 3
Creating methods to use functionality
12th Nov 2019, 3:16 PM
Sanjay Kamath
Sanjay Kamath - avatar
+ 1
Encapsulation is a mechanism of wrapping all your variables and methods inside a single unit and you can take a class as an example. Encapsulation is a process of binding the data members and member functions into a single unit. class is the real time example for encapsulation because it will combine a various type of data members and member functions into a single unit.
27th Nov 2019, 9:42 AM
Amitabh Pandey
Amitabh Pandey - avatar
0
Encapsulation is a process of binding the data members and member functions into a single unit. class is the real time example for encapsulation because it will combine a various type of data members and member functions into a single unit.
11th Nov 2019, 4:35 AM
Shaili Shah
Shaili Shah - avatar