Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #27486
| X-Received | by 10.58.218.40 with SMTP id pd8mr255172vec.39.1392110859608; Tue, 11 Feb 2014 01:27:39 -0800 (PST) |
|---|---|
| X-Received | by 10.50.43.137 with SMTP id w9mr323962igl.14.1392110859249; Tue, 11 Feb 2014 01:27:39 -0800 (PST) |
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!peer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!k15no16990661qaq.0!news-out.google.com!vg8ni28igb.0!nntp.google.com!c10no17100737igq.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail |
| Newsgroups | comp.lang.java.programmer |
| Date | Tue, 11 Feb 2014 01:27:38 -0800 (PST) |
| In-Reply-To | <access-20140211101604@ram.dialup.fu-berlin.de> |
| Complaints-To | groups-abuse@google.com |
| Injection-Info | glegroupsg2000goo.googlegroups.com; posting-host=14.141.91.20; posting-account=eLbnfAoAAAD_IYDiRD2zMjaeA0fYnz67 |
| NNTP-Posting-Host | 14.141.91.20 |
| References | <705891c8-b170-44c0-866f-48eec7b38c4d@googlegroups.com> <overwriting-20140211095259@ram.dialup.fu-berlin.de> <e34ad319-598a-4872-b90c-64a16d35cdac@googlegroups.com> <access-20140211101604@ram.dialup.fu-berlin.de> |
| User-Agent | G2/1.0 |
| MIME-Version | 1.0 |
| Message-ID | <6b78f736-cf64-4a0b-8f83-82beb1aba0d2@googlegroups.com> (permalink) |
| Subject | Re: Unable to Overload toString for Object |
| From | Ojesh Dugar <ojesh.u@gmail.com> |
| Injection-Date | Tue, 11 Feb 2014 09:27:39 +0000 |
| Content-Type | text/plain; charset=ISO-8859-1 |
| Content-Transfer-Encoding | quoted-printable |
| X-Received-Bytes | 2442 |
| X-Received-Body-CRC | 2556233920 |
| Xref | csiph.com comp.lang.java.programmer:27486 |
Show key headers only | View raw
On Tuesday, February 11, 2014 2:47:27 PM UTC+5:30, Stefan Ram wrote: > Ojesh Dugar <ojesh.u@gmail.com> writes: > > >But my problem still remains how do i ACCESS the content of »createResult« which is not instance of my class?? > > > > In Java and OOP, one prefers to hide the content. This is > > called »information hiding« or »encapsulation«. Objects > Thanks a lot. I'll work on it. > instead have »behavior«. > > > > What comes most close to »access the content of an object«, > > would be to read the documentation of the class of the object. > > > > When »o« is an object, you can get its class with »o.getClass()«. > > When the class is being defined in a library or program, someone > > should have written a documentation for it, and you should read > > that documentation to learn how to get information from the object > > (using your point of view, although we prefer not to think of > > objects as information containers but rather of entities with behavior).
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Find similar | Unroll thread
Unable to Overload toString for Object Ojesh Dugar <ojesh.u@gmail.com> - 2014-02-10 22:59 -0800
Re: Unable to Overload toString for Object leif.roar@invalid.com (Leif Roar Moldskred) - 2014-02-11 02:40 -0600
Re: Unable to Overload toString for Object Ojesh Dugar <ojesh.u@gmail.com> - 2014-02-11 01:03 -0800
Re: Unable to Overload toString for Object Lew <lewbloch@gmail.com> - 2014-02-11 15:49 -0800
Re: Unable to Overload toString for Object Ojesh Dugar <ojesh.u@gmail.com> - 2014-02-12 00:38 -0800
Re: Unable to Overload toString for Object markspace <markspace@nospam.nospam> - 2014-02-12 10:37 -0800
Re: Unable to Overload toString for Object Eric Sosman <esosman@comcast-dot-net.invalid> - 2014-02-12 13:57 -0500
Re: Unable to Overload toString for Object Ojesh Dugar <ojesh.u@gmail.com> - 2014-02-12 20:24 -0800
Re: Unable to Overload toString for Object Eric Sosman <esosman@comcast-dot-net.invalid> - 2014-02-13 08:29 -0500
Re: Unable to Overload toString for Object Ojesh Dugar <ojesh.u@gmail.com> - 2014-02-12 20:58 -0800
Re: Unable to Overload toString for Object markspace <markspace@nospam.nospam> - 2014-02-12 21:29 -0800
Re: Unable to Overload toString for Object Ojesh Dugar <ojesh.u@gmail.com> - 2014-02-13 00:59 -0800
Re: Unable to Overload toString for Object Ojesh Dugar <ojesh.u@gmail.com> - 2014-02-11 01:06 -0800
Re: Unable to Overload toString for Object Ojesh Dugar <ojesh.u@gmail.com> - 2014-02-11 01:27 -0800
csiph-web