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


Groups > comp.lang.java.help > #2568

difference between child class object and downcasting object

Newsgroups comp.lang.java.help
Date 2013-03-07 05:59 -0800
Message-ID <46d55c9b-7f17-4927-8b9f-b3acf8a0c407@googlegroups.com> (permalink)
Subject difference between child class object and downcasting object
From Sai varma <saikondla@gmail.com>

Show all headers | View raw


hi,
i am java fresher,
i am a little bit confusion about runtime polymorphism.
and what is difference between child class object and downcasting object (i.e.both are access same methods then why we select downcasting).
plz give reply.
thanks.

Back to comp.lang.java.help | Previous | NextNext in thread | Find similar | Unroll thread


Thread

difference between child class object and downcasting object Sai varma <saikondla@gmail.com> - 2013-03-07 05:59 -0800
  Re: difference between child class object and downcasting object Daniel Pitts <newsgroup.nospam@virtualinfinity.net> - 2013-03-07 09:53 -0800
    Re: difference between child class object and downcasting object Lew <lewbloch@gmail.com> - 2013-03-10 18:22 -0700
  Re: difference between child class object and downcasting object Roedy Green <see_website@mindprod.com.invalid> - 2013-03-09 17:31 -0800
    Re: difference between child class object and downcasting object Roedy Green <see_website@mindprod.com.invalid> - 2013-03-11 22:35 -0700

csiph-web