Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Mar 16th, 2008, 12:47 PM   #1
chandana
Newbie
 
Join Date: Mar 2008
Posts: 3
Rep Power: 0 chandana is on a distinguished road
Encapsulation

how to develop a java program by using Excapsulation?Give me some exampes
chandana is offline   Reply With Quote
Old Mar 16th, 2008, 12:48 PM   #2
chandana
Newbie
 
Join Date: Mar 2008
Posts: 3
Rep Power: 0 chandana is on a distinguished road
Re: Encapsulation

what are the java web sites for reference
chandana is offline   Reply With Quote
Old Mar 16th, 2008, 9:30 PM   #3
lectricpharaoh
Caffeinated Neural Net
 
lectricpharaoh's Avatar
 
Join Date: Jun 2005
Location: Dry west coast of Canada
Posts: 1,031
Rep Power: 5 lectricpharaoh will become famous soon enough
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.
__________________
And once again, Probability proves itself willing to sneak into a back alley and service Drama as would a copper-piece harlot.
- Vaarsuvius, Order of the Stick
lectricpharaoh is offline   Reply With Quote
Old Mar 16th, 2008, 9:45 PM   #4
RainMan
Newbie
 
Join Date: Mar 2008
Posts: 7
Rep Power: 0 RainMan is on a distinguished road
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.
RainMan is offline   Reply With Quote
Old Mar 17th, 2008, 12:10 AM   #5
mrynit
Hobbyist Programmer
 
mrynit's Avatar
 
Join Date: Mar 2006
Location: WA, USA
Posts: 332
Rep Power: 3 mrynit is on a distinguished road
Send a message via AIM to mrynit Send a message via MSN to mrynit Send a message via Yahoo to mrynit Send a message via Skype™ to mrynit
Re: Encapsulation

Quote:
Originally Posted by RainMan View Post
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.
__________________
i dont know much about programming but i try to help
mrynit is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Windows Encapsulation Zap C++ 12 Jul 8th, 2006 7:57 AM




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 12:42 AM.

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