Write a program to read 20 marks and store them in an array. Define y…

Previous year question for Java Programming.

Question

Write a program to read 20 marks and store them in an array. Define your own exception. Make use of your exception when mark is less than zero and greater than 100. (20)

Related pages

More PYQs on User-Defined Exceptions

Open on CachedInfo