Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #27489

Re: Unable to Overload toString for Object

X-Received by 10.58.38.137 with SMTP id g9mr624204vek.6.1392162575133; Tue, 11 Feb 2014 15:49:35 -0800 (PST)
X-Received by 10.50.85.225 with SMTP id k1mr21734igz.11.1392162574793; Tue, 11 Feb 2014 15:49:34 -0800 (PST)
Path csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!peer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!k15no17762045qaq.0!news-out.google.com!ul13ni14igb.0!nntp.google.com!c10no18251080igq.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
Newsgroups comp.lang.java.programmer
Date Tue, 11 Feb 2014 15:49:34 -0800 (PST)
In-Reply-To <1138f80c-bc7c-4edd-a91b-fb5f8e2137d6@googlegroups.com>
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=69.28.149.129; posting-account=CP-lKQoAAAAGtB5diOuGlDQk0jIwmH0T
NNTP-Posting-Host 69.28.149.129
References <705891c8-b170-44c0-866f-48eec7b38c4d@googlegroups.com> <a4GdnaxRH4JrfGTPnZ2dnUVZ8vednZ2d@giganews.com> <1138f80c-bc7c-4edd-a91b-fb5f8e2137d6@googlegroups.com>
User-Agent G2/1.0
MIME-Version 1.0
Message-ID <afa4179b-ea47-4bc4-b9d3-a3a4e7df06bf@googlegroups.com> (permalink)
Subject Re: Unable to Overload toString for Object
From Lew <lewbloch@gmail.com>
Injection-Date Tue, 11 Feb 2014 23:49:34 +0000
Content-Type text/plain; charset=ISO-8859-1
X-Received-Bytes 1619
X-Received-Body-CRC 3868489947
Xref csiph.com comp.lang.java.programmer:27489

Show key headers only | View raw


Ojesh Dugar wrote:
> But now how can I access content of a object from some other class??

(You only need one question mark at the end to indicate an interrogative sentence.)

You access content from an instance of a class by using what methods it provides to reveal what it considers "content".

What is the type whose content you are trying to reveal, and what is its API?

-- 
Lew

Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


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