Hard
Given these two codes
1.
private void stuff() {
throw new MyException();
}
private static class MyException extends Exception { }
2.
private void stuff() {
throw new MyException();
}
private static class MyException extends RuntimeException { }
Author: Clément DevosStatus: PublishedQuestion passed 282 times
Edit
0
Community EvaluationsNo one has reviewed this question yet, be the first!
Similar QuestionsMore questions about Java
3
This code allows to randomly get numbers between 1 to 31 in results. Should have declard SimpleDateFormat in the Thread.1
Write a function that returns the first character of a string in Java1
Java code that replaces keys in a template with their values.1
A Java class that converts Arabic numbers to Roman numerals.1
A code kata is a small exercice thought to train a certain development competence