what is encapulation?

Answer Posted / yohesh rasal

The wrapping up of data and function into a single
unit(called class) is known as encapsulation.

The data is not accessible to the out side word,and only
those functions which are wrapped in the class can access
it.These function provide the interface between the object
data and the program.This insulation of data from direct
access by the program is called data hiding or information
hiding.

Is This Answer Correct ?    32 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the extension of SPDS Dynamic cluster tables?

1622


How do you pass variables forwrd to future CECI sessions

4075


Compare any 4 software development life cycle paradigms with each other. Indicate at least one application for each of the paradigms that are suitable to developed using that paradigm.

2361


Write a program that prints the numbers from 1 to 100. But for multiples of three print "Fit" instead of the number and for the multiples of five print "Bit". For numbers which are multiples of both three and five print "FitBit".

1953


public static void main(String args[]) describe it

1575






they asked me about srs (software requirement specifcation)? how can i get anydocumentation about srs & other documnts infomation like bdd, in testing? its urgent?

1451


What is Negative testing?

1499


THE CHANNEL IN DATA COMMUNICATION CAN BE?

1566


What is %Type,%Rowtype?

1838


Hello Experts, What is the difference between move and move corresponding exactly? please post me asap

1328


Write a program to create a process in UNIX

2085


how will you code the subfile which is in editing mode (multiple case subfile)?

1598


What for decision coverage and modified condition decision coverage are used? Wat is the difference between them?

1626


write algo for cobol program whichuse three flat file to extract some specific information 8 marks mainframe

1559


the systematic access of small computers in a distributed data processing system is referred as?

2719