Created
May 7, 2017 07:05
-
-
Save BalicantaYao/5078550fd402e9bf3b6cdd270448a7cb 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
class Base{ | |
public void foo() throws FileNotFoundException { | |
thorw new FileNotFoundException(); | |
} | |
} | |
class OverideTest extends Base{ | |
public void foo() throws IOException{ | |
throw new IOException(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment