Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.help > #514
| From | markspace <-@.> |
|---|---|
| Newsgroups | comp.lang.java.help |
| Subject | Re: Casts and special things of the Java language |
| Date | 2011-04-03 10:53 -0700 |
| Organization | A noiseless patient Spider |
| Message-ID | <inac6q$6ns$1@dont-email.me> (permalink) |
| References | <874o6gqv2k.fsf@merciadriluca-station.MERCIADRILUCA> <lmtfp6d63kcrqortkn60q7maipr5cg36qn@4ax.com> <87tyefbsol.fsf@merciadriluca-station.MERCIADRILUCA> <4f3453aa-5824-4aa1-81f0-6bfabcff3c7b@hd10g2000vbb.googlegroups.com> |
On 4/3/2011 9:01 AM, Merciadri Luca wrote: > > I just re-thought about the fact that in Java, variables are accessed > using `static links,' when an object methods are accessed using a > `dynamic link.' As a result, I realize that there may be English language issues here, but I'd hope that an advanced student in OOP would know that "dynamic links" is called "polymorphism." > * output 1 is 1 because a becomes b, Oddly stated, but ok. > * output 5: ((A) b).m() is equivalent to b.m(), that is, output 2, > which is 1, Why? There's a technical word that belongs here instead of "equivalent." > * output 6: ((A) b).v is not b.v, because variables are accessed using > static links. Too poorly stated to pass. Again, there is some technical language that describes "static links" properly that a OOP student should know about from previous studies. What are those technical words?
Back to comp.lang.java.help | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Casts and special things of the Java language Merciadri Luca <Luca.Merciadri@student.ulg.ac.be> - 2011-04-02 22:04 +0200
Re: Casts and special things of the Java language Lew <noone@lewscanon.com> - 2011-04-02 17:22 -0400
Re: Casts and special things of the Java language Roedy Green <see_website@mindprod.com.invalid> - 2011-04-02 21:31 -0700
Re: Casts and special things of the Java language Merciadri Luca <Luca.Merciadri@student.ulg.ac.be> - 2011-04-03 11:16 +0200
Re: Casts and special things of the Java language Merciadri Luca <merciadriluca@gmail.com> - 2011-04-03 09:01 -0700
Re: Casts and special things of the Java language markspace <-@.> - 2011-04-03 10:53 -0700
Re: Casts and special things of the Java language Merciadri Luca <merciadriluca@gmail.com> - 2011-04-03 11:28 -0700
Re: Casts and special things of the Java language markspace <-@.> - 2011-04-03 13:35 -0700
Re: Casts and special things of the Java language Merciadri Luca <Luca.Merciadri@student.ulg.ac.be> - 2011-04-03 22:58 +0200
Re: Casts and special things of the Java language Lew <noone@lewscanon.com> - 2011-04-06 12:32 -0400
csiph-web