Path: csiph.com!eeepc.pasdenom.info!news.pasdenom.info!news.dougwise.org!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!weretis.net!feeder4.news.weretis.net!news.albasani.net!not-for-mail From: Lew Newsgroups: comp.lang.java.programmer Subject: Re: Why =?UTF-8?B?4oCcbmV34oCdPw==?= Date: Sat, 05 Feb 2011 09:07:15 -0500 Organization: albasani.net Lines: 44 Message-ID: References: <4d4ca255$0$23765$14726298@news.sunsite.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: news.albasani.net CpWjzQaHVWTfEVPSfyRZzdPKf/5V1dG7sTTOcwmk3oOX6KoW7qAt/EpI/EG5uHFFU+f/hyC93uvOzJqQcC/1ZA== NNTP-Posting-Date: Sat, 5 Feb 2011 14:07:14 +0000 (UTC) In-Reply-To: Cancel-Lock: sha1:DOCO1BwxGXnQykihfs9BzCRvVNo= User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101208 Thunderbird/3.1.7 Injection-Info: news.albasani.net; logging-data="HKHYwENswPLL4HExPApMS9pMBzAns7nmix7Of7R2ft3SL6F5skMfxRxfUvysZ6RkXnHWd0O2xDqjozhaHJkKv1bDj3EA6XG4C73plLNOQYUdf1I3EoKz1LBI/kZ2TJPy"; mail-complaints-to="abuse@albasani.net" Xref: csiph.com comp.lang.java.programmer:25789 Lew wrote: >> Reference to the C++ spec sheds absolutely no light whatsoever on Java. Lawrence D'Oliveiro wrote: > That’s where the term “virtual” comes from. No, that is completely mistaken. C++ adopted the term because it used the technique. Smalltalk had it before C++. >>> Like I said, in Java, effectively all methods are virtual. Lew wrote: >> Wrong. Private and static methods are not virtual. Lawrence D'Oliveiro wrote: > Without understanding the C++ spec, you cannot understand what “virtual” > means. What a bullshit thing to say. Surely you aren't serious. You could, for example, understand the Java spec. Or you could understand the Smalltalk spec. Or you could understand http://en.wikipedia.org/wiki/Dynamic_dispatch It remains that in Java, static and private methods are not virtual, a point you seem to want to refute by talking about the C++ spec. That's like trying to understand a Porsche by reading a Ford repair manual. In any event, you're wasting your time trying to refute a point that happens to be factual and verifiable. Without understand what a "virtual" method is, you won't understand the Java spec. -- Lew Ceci n'est pas une fenêtre. .___________. |###] | [###| |##/ | *\##| |#/ * | \#| |#----|----#| || | * || |o * | o| |_____|_____| |===========|