Title: RE: Java Wrapping Questions

It's like chocolate bars.
the chocolate bar is an object with particaluar attributes.
the bar comes (usually) in packaging (like container, sweet paper/whatever...)
The packaging is an object with particular attriutes (not the same as the chocolate bar). The packaging is a container (the CONTAINER word being important) for a bar of chocolate. the packaging is a wrapper around the chocolate bar.  This wrapper enables you to do things with the object it wouldn't normally be able to do itself. e.g. stay in a single position in space/time in the sunshine.

See www.javaworld.com for articales about warpping things with code examples.

-----Original Message-----
From: Mark Galbreath [mailto:[EMAIL PROTECTED]]
Sent: 27 July 2001 22:26
To: [EMAIL PROTECTED]
Subject: Fw: Java Wrapping Questions


Anyone(s) want to handle this?  I'm tired of private emails asking me to
write their code for them.

Cheers!
Mark

----- Original Message -----
From: "Leroy Williams" <[EMAIL PROTECTED]>
Sent: Friday, July 27, 2001 3:10 PM


> Hi, Java Expert. How are you? I'm trying to understand
> a java term called wrap better. So I thought to email
> my java wrapping questions.
>
> So here we go!
>
>
> What does the words: wrap the object, mean? What I
> basicly need is an understanding in, what the verb in
> java called wrap means. Please explain what the word
> wrap means. Like for example if you said to me:
>
> One way to pass ResultSets via RMI is to
> wrap the ResultSet in a remote object.
>
> Now what would that mean?
>
> I also would like to know how would you wrap a class
> into another class. Please explain and use a coded
> example of how to wrap a class into another class.
>
> So how would you?
>
> Oh one last thing, please explain and use some coded
> examples on how to wrap an object or variable; by
> delegation and by the other method called adapting an
> object.
>
>
>
>
>
>
> Please email me back, as soon as possible; your
> answers at [EMAIL PROTECTED]
>
>
> God bless you!
> Have a great week.
>
> -Leroy
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Make international calls for as low as $.04/minute with Yahoo! Messenger
> http://phonecard.yahoo.com/
>

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to