I really don't like the fact that you can run static class-methods from an object in Java. In effect, object.staticMethod(); gets translated into something like object.getClass().staticMethod();. AFAIK, no other language has this "feature". Is there any reason behind this madness?
Showing posts with label java. Show all posts
Showing posts with label java. Show all posts
Tuesday, May 6, 2008
Java oddity
Posted by
Bjørn Arild Mæland
at
12:57 PM
0
comments
Labels: java
Subscribe to:
Posts (Atom)