Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.0
-
None
-
None
Description
class A { static void dangerous() { println "I'm an A" } } class B extends A { static void dangerous() { println "I'm a B" } } A object1 = new A() object1.dangerous() // outputs "I'm an A" B object2 = new B() object2.dangerous() // outputs "I'm an A" OOOPS