Exception handling-ChiranjeebLAB
Exception handling-ChiranjeebLAB
Date: .....................................
import java.util.Scanner;
try {
if (number < 0) {
throw new NegativeNumberException("Negative number
entered.");
}
Rubrics
Concept 10
Planning and Execution/ 10
Practical Simulation/ Programming
Result and Interpretation 10
Record of Applied and Action Learning 10
Viva 10
Total 50