0
I've wrote a java code for User Define Exception .
can anyone please help me out , my code has error in it. if mark is <0 or mark >100 it must throw exception else print the percentage https://code.sololearn.com/clJ4lK1x4TML/?ref=app
2 Respostas
+ 3
the main method should be in a class with the same name as the file.
in the main method you should create a testexception class and then call its validate method.
validate method, there is no adopts int table.
offer
https://code.sololearn.com/c5sxhSM62hZ2/?ref=app
0
thank you so much :)