Article View: borland.public.jbuilder.java.language
Article #8627Re: RTTI at method call time
From: Torsten Welches
Date: Mon, 12 Mar 2001 18:28
Date: Mon, 12 Mar 2001 18:28
12 lines
1102 bytes
1102 bytes
Calvin,
could you provide a real example?
In your example it would clearly call b, not c. I assume you meant:
public void c(MyClass mc) {}
public void c(Object o) {}
But even then it would call the MyClass version.
Torsten
Technical Details
Message-ID:
<3aad162e_2@dnews>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!news.maxwell.syr.edu!news.stealth.net!nntp1.njy.teleglobe.net!teleglobe.net!hub.org!hub.org!PeerFeed.KWeb.on.ca!bornews.borland.com!dnews!213.168.73.203References:
<3aacf50e_2@dnews>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,236a87dd0ff35d6d X-Google-Attributes: gidf74b3,public X-Google-ArrivalTime: 2001-03-12 10:52:06 PST From: "Torsten Welches" <torsten.welches@who.cares.netcologne.de> Newsgroups: borland.public.jbuilder.java.language References: <3aacf50e_2@dnews> Subject: Re: RTTI at method call time Date: Mon, 12 Mar 2001 19:28:06 +0100 Lines: 14 X-Newsreader: Microsoft Outlook Express 4.72.3110.5 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 NNTP-Posting-Host: 213.168.73.203 Message-ID: <3aad162e_2@dnews> X-Trace: 12 Mar 2001 10:32:14 -0800, 213.168.73.203 Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!news.maxwell.syr.edu!news.stealth.net!nntp1.njy.teleglobe.net!teleglobe.net!hub.org!hub.org!PeerFeed.KWeb.on.ca!bornews.borland.com!dnews!213.168.73.203