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


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

Thanks (Was: A small quiz)

From j4n bur53 <janburse@fastmail.fm>
Newsgroups comp.lang.java.programmer
Subject Thanks (Was: A small quiz)
Date 2015-10-02 00:12 +0200
Organization albasani.net
Message-ID <mukb49$sub$1@news.albasani.net> (permalink)
References (2 earlier) <c4e3bc51-840d-443c-ba12-b91b0e139d38@googlegroups.com> <mujk3i$3j8$1@dont-email.me> <45bae432-2df5-4878-832b-11c465d666d8@googlegroups.com> <mujoqo$mnr$1@dont-email.me> <a93a2c6f-706a-4d08-8c1c-d54de4d33443@googlegroups.com>

Show all headers | View raw


Eric Douglas schrieb:
> Why does passing in a null constant generate this runtime error, and not a compile error?
> It's just a confusing use of overload.
> http://stackoverflow.com/questions/3131865/why-does-string-valueofnull-throw-a-nullpointerexception

Was just wondering how long it takes me to find
the Java language choice rule for overloaded
Java class members. And here it is.

Currently doing an experiment in Prolog to Java
scripting, and need to code a dispatcher. An ad-hoc
dispatcher which uses the input order of the
Java class members already works:

Better Modules: An auto loader for overloaded members. (Jekejeke)
https://plus.google.com/+JekejekeCh/posts/SANxqdzvUaz

But I guess sooner or later I will need something
more intelligent and closer to the Java language
rules. Respecting the implements relation ship
of the base class to its super class is also on
the todo list.

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


Thread

Re: A small quiz Eric Sosman <esosman@comcast-dot-net.invalid> - 2015-10-01 08:24 -0400
  Re: A small quiz e.d.programmer@gmail.com - 2015-10-01 08:33 -0700
    Re: A small quiz Eric Sosman <esosman@comcast-dot-net.invalid> - 2015-10-01 11:41 -0400
      Re: A small quiz Eric Douglas <e.d.programmer@gmail.com> - 2015-10-01 08:59 -0700
        Re: A small quiz Jeff Higgins <jeff@invalid.invalid> - 2015-10-01 12:49 -0400
        Re: A small quiz Eric Sosman <esosman@comcast-dot-net.invalid> - 2015-10-01 13:02 -0400
          Re: A small quiz Eric Douglas <e.d.programmer@gmail.com> - 2015-10-01 10:19 -0700
            Thanks (Was: A small quiz) j4n bur53 <janburse@fastmail.fm> - 2015-10-02 00:12 +0200
            Re: A small quiz Mike Amling <mamling@chaff.us> - 2015-10-02 09:18 -0500

csiph-web