Write a Java Program to calculate the Result. Result should consist of name, seatno, date, center number and marks of semester three exam. Create a User Defined Exception class MarksOutOfBoundsException, If Entered marks of any subject is greater than 100 or less than 0, and then program should create a user defined Exception of type MarksOutOfBoundsException and must have a provision to handle it.
Answers
Answered by
1
Answer:
Input:
Enter marks: 80
Output:
Entered marks are: 80
Input:
Enter marks: 120
Output:
Error:ExceptionHandling.StudentManagement: invalid Mark's:120
Similar questions
Hindi,
2 months ago
English,
2 months ago
Social Sciences,
2 months ago
Social Sciences,
5 months ago
History,
5 months ago
English,
10 months ago
English,
10 months ago