
Post


My guess is that @EclipseJavaIDE is training a deep learning network to become a Java compiler... Double semicolon on line 5 causes a compile error...
🌒 Eclipse IDE@EclipseJavaIDE
What's going to be the output of the following program? (cheaters suck ;) #EclipsePuzzle
English

@EclipseJavaIDE Execute the Derived class :: show().
English

@EclipseJavaIDE Of course it prints “Derived::show() called”.
English

@EclipseJavaIDE Derived:: show() called because reference is of derived class and method call binds at run time so call gets to derived class method
English

@EclipseJavaIDE Will not compile because of semicolon in line 5. I guess
English

@EclipseJavaIDE Syntex error at line 5, because of two semicolons.
English

@EclipseJavaIDE I hear that it's preferable to use the key word "@Override" on top of the method
English









