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


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

Re: Why “new”?

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 <noone@lewscanon.com>
Newsgroups comp.lang.java.programmer
Subject Re: Why “new”?
Date Sat, 05 Feb 2011 09:08:25 -0500
Organization albasani.net
Lines 24
Message-ID <iijlkm$a3i$2@news.albasani.net> (permalink)
References <iii71v$3ud$1@lust.ihug.co.nz> <4d4ca255$0$23765$14726298@news.sunsite.dk> <iii8s4$4tt$1@lust.ihug.co.nz> <iii9dq$3pr$1@news.eternal-september.org> <iiiaia$5t9$1@lust.ihug.co.nz> <iiicja$epf$1@news.eternal-september.org> <iiihfu$9pf$1@lust.ihug.co.nz> <iiikcq$rp2$1@news.albasani.net> <iiirln$fh3$3@lust.ihug.co.nz> <4d4cfcce$0$32450$ba4acef3@reader.news.orange.fr>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding 8bit
X-Trace news.albasani.net TkUJz8ShLq5k7GBBO9hvZu2Cqi4QsgtbYK8JUxIe/pfJgUhwnJB77QCn9ixqTZHM4PXBqFm3ccGixfpvOKU/dg==
NNTP-Posting-Date Sat, 5 Feb 2011 14:08:22 +0000 (UTC)
In-Reply-To <4d4cfcce$0$32450$ba4acef3@reader.news.orange.fr>
Cancel-Lock sha1:C/XP44JKFHRLfXFEb8bXyRN+Ab4=
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="2Dexw3Df1qQdIwiizsKcAd+QyLIcyFyrVLaLuW2M5WoKSdDTnjDVkAu5ap9wWMFNxPKYBtwBp31G7S6k/6cZlL/4+D2H2tsTcziyX/iHzTYsKGJualnybKmoBKLjQUq9"; mail-complaints-to="abuse@albasani.net"
Xref csiph.com comp.lang.java.programmer:26010

Show key headers only | View raw


jlp wrote:
> from wikipedia : http://en.wikipedia.org/wiki/Virtual_function
> so private methods can be virtual

Not in Java, they can't.

> In Java, all non-static methods are by default "virtual functions." Only
> methods marked with the keyword final, which cannot be overridden, along with
> private methods, which are not inherited, are non-virtual.

So you contradict yourself.  Make up your mind.

-- 
Lew
Ceci n'est pas une fenêtre.
.___________.
|###] | [###|
|##/  | *\##|
|#/ * |   \#|
|#----|----#|
||    |  * ||
|o *  |    o|
|_____|_____|
|===========|

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


Thread

Re: Why “new”? "Mike Schilling" <mscottschilling@hotmail.com> - 2011-02-04 18:27 -0800
  Re: Why “new”? Lars Enderin <lars.enderin@telia.com> - 2011-02-05 18:04 +0100
  Re: Why “new”? "Mike Schilling" <mscottschilling@hotmail.com> - 2011-02-05 02:49 -0800
    Re: Why “new”? Lew <noone@lewscanon.com> - 2011-02-05 09:14 -0500
  Re: Why “new”? Lawrence D'Oliveiro <ldo@geek-central.gen.new_zealand> - 2011-02-05 20:42 +1300
    Re: Why “new”? Arne Vajhøj <arne@vajhoej.dk> - 2011-02-06 20:46 -0500
    Re: Why “new”? Joshua Cranmer <Pidgeot18@verizon.invalid> - 2011-02-05 10:38 -0500
    Re: Why “new”? Lew <noone@lewscanon.com> - 2011-02-05 09:13 -0500
  Re: Why “new”? jlp <jlp@jlp.com> - 2011-02-05 08:31 +0100
    Re: Why “new”? Lew <noone@lewscanon.com> - 2011-02-05 09:08 -0500
  Re: Why “new”? Arne Vajhøj <arne@vajhoej.dk> - 2011-02-06 20:44 -0500
  Re: Why “new”? Lew <noone@lewscanon.com> - 2011-02-05 09:07 -0500
  Re: Why “new”? Lawrence D'Oliveiro <ldo@geek-central.gen.new_zealand> - 2011-02-05 16:51 +1300
    Re: Why “new”? Joshua Cranmer <Pidgeot18@verizon.invalid> - 2011-02-04 23:06 -0500
    Re: Why “new”? Lawrence D'Oliveiro <ldo@geek-central.gen.new_zealand> - 2011-02-05 19:45 +1300
      Re: Why “new”? Joshua Cranmer <Pidgeot18@verizon.invalid> - 2011-02-05 10:32 -0500
    Re: Why “new”? Lew <noone@lewscanon.com> - 2011-02-04 23:40 -0500
    Re: Why “new”? Arne Vajhøj <arne@vajhoej.dk> - 2011-02-07 19:15 -0500
  Re: Why “new”? Kevin McMurtrie <mcmurtrie@pixelmemory.us> - 2011-02-04 21:31 -0800
    Re: Why “new”? Lew <noone@lewscanon.com> - 2011-02-05 01:25 -0500

csiph-web