Created
July 29, 2014 10:57
-
-
Save EvaGL/a64c24ce78bf6eddb06a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class A { | |
| public void doSmth() { | |
| System.out.println("YOLO!"); | |
| } | |
| public void b() { | |
| System.out.println("I am good method!"); | |
| } | |
| } | |
| public class B extends A { | |
| @Override | |
| public void doSmth() { | |
| // NO YOLO! | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment