Programming Forums

Programming Forums (http://www.programmingforums.org/forumindex.php)
-   Java (http://www.programmingforums.org/forum17.html)
-   -   Encapsulation (http://www.programmingforums.org/showthread.php?t=15425)

chandana Mar 16th, 2008 1:47 PM

Encapsulation
 
how to develop a java program by using Excapsulation?Give me some exampes

chandana Mar 16th, 2008 1:48 PM

Re: Encapsulation
 
what are the java web sites for reference

lectricpharaoh Mar 16th, 2008 10:30 PM

Re: Encapsulation
 
Quote:

Originally Posted by chandana
what are the java web sites for reference

If you mean an API reference for Java, try Sun's site.

RainMan Mar 16th, 2008 10:45 PM

Re: Encapsulation
 
Encapsulation is a part of Java programmings structure. All Object Oriented programming uses encapsulation. When you refer to encapsulation you are just saying that something is contained in something else, i.e methods are contained inside a class therefore they are encapsulated in the class.

mrynit Mar 17th, 2008 1:10 AM

Re: Encapsulation
 
Quote:

Originally Posted by RainMan (Post 142586)
Encapsulation is a part of Java programmings structure. All Object Oriented programming uses encapsulation. When you refer to encapsulation you are just saying that something is contained in something else, i.e methods are contained inside a class therefore they are encapsulated in the class.

...and there are access modifiers that restrict who can see these members.


All times are GMT -5. The time now is 4:26 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC