Latest Activity In Study Groups

Join Your Study Groups

VU Past Papers, MCQs and More

We non-commercial site working hard since 2009 to facilitate learning Read More. We can't keep up without your support. Donate.

Suppose you have to write a small Java program that catches exceptions with super classes. You are required to use inheritance to create an exception superclass (called ExceptionA) and exception subclasses ExceptionB and ExceptionC; where ExceptionB inherits from ExceptionA and ExceptionC inherits from ExceptionB. Your program must demonstrate that the catch block for type ExceptionA catches exceptions of types ExceptionB and ExceptionC.

Hint: You can use Arithmetic exception like divide by 0 or any similar one.
NOTE: You are required to use Graphical User Input (GUI) to show output on the screen.

Views: 18304


Replies to This Discussion

bro mny yeh try kia hai pr erors hain plz ap apni file share kr den run kr k plz

bhai cs604  ki b kr den 

koe assignment ka code b discuss kar ly ab

assalam o alaikum friends

software install kr lia cmd prompt main notepad file open ho rahi hy lakin compile karty hoy yeh msg araha hy

'javac' is not recognized as an internal or external command,operable program or batch file.

yeh kaisy remove ho ga or file compile ho saky gi.

javac ka path set karain


check this file clearly princess


mera laptop ka operating system 64 bit hy or jis path se JDK fil download krni thi wahan pr 64 bit k liay kuchni tha likha hua or na hi 32 bit wali fil mili hy mujhy ab main kia krun... koi help kry warna assignment miss ho jay gi



Yahoooo I have this assignment.


Looking For Something? Search Below

Latest Activity

VIP Member Badge & Others

How to Get This Badge at Your Profile DP


Management: Admins ::: Moderators

Other Awards Badges List Moderators Group

© 2021   Created by + M.Tariq Malik.   Powered by

Promote Us  |  Report an Issue  |  Privacy Policy  |  Terms of Service