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


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

Re: Using main from abstract class in concrete class

Path csiph.com!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From Eric Sosman <esosman@comcast-dot-net.invalid>
Newsgroups comp.lang.java.programmer
Subject Re: Using main from abstract class in concrete class
Date Sun, 13 Aug 2017 10:37:30 -0400
Organization A noiseless patient Spider
Lines 14
Message-ID <ompnve$8g6$1@dont-email.me> (permalink)
References <87h8xbx0ig.fsf@munus.decebal.nl> <ompnlf$7j6$1@dont-email.me>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding 7bit
Injection-Date Sun, 13 Aug 2017 14:33:18 -0000 (UTC)
Injection-Info mx02.eternal-september.org; posting-host="410ddc2ef7245f2a5cc32ddea669ec9d"; logging-data="8710"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+xO0WoyZ1LjJNc8FDNs4VK"
User-Agent Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1
In-Reply-To <ompnlf$7j6$1@dont-email.me>
Content-Language en-US
Cancel-Lock sha1:kYDNi8esS5WJjUCncO0TQzI0k0g=
Xref csiph.com comp.lang.java.programmer:37180

Show key headers only | View raw


On 8/13/2017 10:32 AM, Eric Sosman wrote:
> [...]
> What *won't* work is to tell the JVM to run
> the main() method of a subclass that doesn't actually have one, and
> have the JVM somehow know to run Abstract::main in its place.

     ... for suitable values of "*won't*", such as (for example)
"WILL CERTAINLY".

     Sorry about that.

-- 
esosman@comcast-dot-net.invalid
Twelve hundred fifty-six days to go.

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


Thread

Using main from abstract class in concrete class Cecil Westerhof <Cecil@decebal.nl> - 2017-08-13 11:47 +0200
  Re: Using main from abstract class in concrete class Andreas Leitgeb <avl@logic.at> - 2017-08-13 10:59 +0000
    Re: Using main from abstract class in concrete class Andreas Leitgeb <avl@logic.at> - 2017-08-13 11:38 +0000
  Re: Using main from abstract class in concrete class Cecil Westerhof <Cecil@decebal.nl> - 2017-08-13 15:43 +0200
  Re: Using main from abstract class in concrete class Eric Sosman <esosman@comcast-dot-net.invalid> - 2017-08-13 10:32 -0400
    Re: Using main from abstract class in concrete class Eric Sosman <esosman@comcast-dot-net.invalid> - 2017-08-13 10:37 -0400
    Re: Using main from abstract class in concrete class Cecil Westerhof <Cecil@decebal.nl> - 2017-08-13 17:17 +0200
      Re: Using main from abstract class in concrete class Andreas Leitgeb <avl@logic.at> - 2017-08-17 18:56 +0000
        Re: Using main from abstract class in concrete class Cecil Westerhof <Cecil@decebal.nl> - 2017-08-18 06:37 +0200
          Re: Using main from abstract class in concrete class Andreas Leitgeb <avl@logic.at> - 2017-08-18 19:48 +0000
            Re: Using main from abstract class in concrete class Cecil Westerhof <Cecil@decebal.nl> - 2017-08-18 23:37 +0200
              Re: Using main from abstract class in concrete class Cecil Westerhof <Cecil@decebal.nl> - 2017-08-19 01:32 +0200
  Re: Using main from abstract class in concrete class Joshua Cranmer 🐧 <Pidgeot18@verizon.invalid> - 2017-08-13 12:03 -0500

csiph-web