What is encapsulation?

Answers were Sorted based on User's Feedback



What is encapsulation?..

Answer / nagababu

Wrapping up data and methods in a single unit is called
Encapsulation.
Eg:-class

Is This Answer Correct ?    16 Yes 1 No

What is encapsulation?..

Answer / kumar vishal

wrapping up data and function as a single intity called
encapsulation.

Is This Answer Correct ?    11 Yes 2 No

What is encapsulation?..

Answer / tejavishu

combining the data and data members into a singe unit is
called the encapsulation.


ex:class.

Is This Answer Correct ?    6 Yes 1 No

What is encapsulation?..

Answer / saamy

Data Encapsulation combines data and functions into a
single unit called Class. When using Data Encapsulation,
data is not accessed directly; it is only accessible
through the functions present inside the class. Data
Encapsulation enables the important concept of data hiding
possible.

Is This Answer Correct ?    6 Yes 1 No

What is encapsulation?..

Answer / deep

wrapping of data and function in single unit (class)is
called encapsulation.

Is This Answer Correct ?    3 Yes 0 No

What is encapsulation?..

Answer / guest

binding of data and code

Is This Answer Correct ?    2 Yes 0 No

What is encapsulation?..

Answer / p suresh kumar

It is the mechanisum which unities code and data it
manipulate.

Is This Answer Correct ?    2 Yes 1 No

What is encapsulation?..

Answer / sree

encapsulation means combining the data and the functions
using that data.
EX: class

Is This Answer Correct ?    1 Yes 0 No

What is encapsulation?..

Answer / navneet kaur

combining data and data members is encapsulation.

Is This Answer Correct ?    1 Yes 0 No

What is encapsulation?..

Answer / anjana

ENCAPSULATION:
*ENCAPAULATION IS A WRAPPING UP OF DATA INTO A SINGLE UNIT.
*IT IS LIKE A CAPSULE.

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More OOPS Interview Questions

Why is polymorphism important in oop?

0 Answers  


What is the difference between encapsulation and polymorphism?

0 Answers  


what is main difference between object oriented object base

2 Answers   Wipro,


what do you mean by static member variable?

2 Answers  


What is the difference between C++ and java?

6 Answers   Atos Origin,






Hi friends I have experience of 6 months in website design and maintanence. Now i am looking for other IT jobs.. to switch platform. please post any interview you know in chennai.

0 Answers  


Write pseudo code for push in a stack?

2 Answers   emc2,


What is oops in programming?

0 Answers  


if i have same function with same number of argument but defined in different files. Now i am adding these two files in a third file and calling this function . which will get called and wht decide the precedence?

1 Answers  


write knight tour problem which is present in datastructure

0 Answers  


string is a class or data type in java?

3 Answers  


write a code for this:trailer recordId contains a value other than 99, then the file must error with the reason ‘Invalid RECORD_ID’(User Defined Exception).

0 Answers  


Categories