+ 3

What is encapsulation in java?

20th Jul 2017, 4:09 PM
Viraj Singh
Viraj Singh - avatar
3 Antworten
+ 4
encapsulation is one of the features of Object Oriented Programming it lets the programmer set a particular level of access for a variable,method or class
20th Jul 2017, 4:20 PM
cHiRaG GhOsH
cHiRaG GhOsH - avatar
+ 4
yes...absolutely
20th Jul 2017, 4:38 PM
cHiRaG GhOsH
cHiRaG GhOsH - avatar
+ 3
@Chirag, Is it related to access sepcifiers ?
20th Jul 2017, 4:23 PM
Viraj Singh
Viraj Singh - avatar