Encapsulation makes it easier to
Encapsulation इसे करना आसान बनाता है
Select one
A All
सभी
B. REUSE AND MODIFY EXISTING
MODULES OF CODE.
कोड के मौजूदा मॉड्यूल को फिर से उपयोग
और संशोधित करना
C. HIDE AND PROTECT DATA FROM
EXTERNAL CODE.
डेटा को बाह्य कोड से छुपाना और सुरक्षा करना
D. WRITE AND READ CODE BY
SHARING METHOD NAMES.
मेथड नाम शेयरिंग के द्वारा कोड को रीड और
राइट करना
Answers
Answered by
3
Answer:
I think all
hope this will help you
plzzzzz follow me ☺☺
Answered by
0
Option c ) HIDE AND PROTECT DATA FROM EXTERNAL CODE
Encapsulation makes it easier to hide and protect data from external code.
- The definition of encapsulation is the grouping of data into a single unit. It is the mechanism that connects the data the code manipulates with the code itself. Encapsulation can also be viewed as a barrier that stops code from the outside of the barrier from accessing the data.
- In Java, encapsulation is the technique of combining code and data into a single entity, like a capsule containing a variety of medications. Java allows us to entirely encapsulate a class by keeping all of its data members private.
- The values or state of a structured data item are hidden inside a class using encapsulation, limiting direct access to them by unauthorized parties.
#SPJ2
Similar questions