whst is encapsulation?when u encpsulate actually while
devoloping code?

Answer Posted / pardhu

The binding up of data & code into a single unit is called
as ENCAPSULATION

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the transient field modifier?

557


What is the difference between preemptive scheduling and time slicing in java programming?

524


How does class forname work in java?

472


What is array size in java?

488


Difference between string, string builder, and string buffer?

520






What is the difference between private & public & friendly classes?

538


Give few difference between constructor and method?

511


What is the purpose of a parameter?

517


Give any two differences between C++ and java.

550


Java is pass by value or pass by reference? Explain

527


How to sort numbers in java without array?

519


What is mnemonic code?

528


Is this valid in java ? Can we instantiate interface in java?

538


What is the synchronized method modifier?

579


What is the difference between an if statement and a switch statement?

637