Re: another design question, abstract static methods...

From: Silvio Bierman (sbierman_at_idfix.nl)
Date: 11/13/03


Date: Thu, 13 Nov 2003 22:24:01 +0100

Polymorphism in Java is resolved by the type of the actual object (dynamic,
runtime) the method is called against instead of the class of the reference
(static, compile time). With static methods there is no object in play, only
a class so it can only ve resolved statically during compiletime.

What calling constructs (and behaviour) do you seek for?

Silvio Bierman



Relevant Pages

  • Re: Multi Dimensional Array Reallocation ?
    ... Compile time binding eliminates the need for ... >>> instance types on each reference, and the need to store class symbol ... >> It would free the programmer from these stinking limitations where the ... It makes much more sense to fit a design to the language. ...
    (alt.comp.lang.borland-delphi)
  • Re: Static vs Dynamic
    ... > compile time (but you misunderstood the original point, ... > there is a good chance that type errors that are flagged by the Java ... > chance that code that is accepted by the type checker is still buggy. ... > Java's type system wouldn't hinder you to write straightforward code ...
    (comp.lang.lisp)
  • Re: Python syntax in Lisp and Scheme
    ... In Java, methods with the same name but different ... methods at compile time can't also be used to select methods at run time. ... The claim that congruent argument lists are necessary for multi-method ... dispatch is clearly false. ...
    (comp.lang.python)
  • Re: Python syntax in Lisp and Scheme
    ... In Java, methods with the same name but different ... methods at compile time can't also be used to select methods at run time. ... The claim that congruent argument lists are necessary for multi-method ... dispatch is clearly false. ...
    (comp.lang.lisp)
  • Re: SQL and the LGP-30
    ... What needs to happen is a tighter integration of Java and SQL. ... Then you could do compile time checking to make sure column names are ... correct and the types of local variables could be generated from the ... SQL allows fully dynamic work that could not be type checked, ...
    (comp.lang.java.databases)