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: 18355


Replies to This Discussion


mera path to set he but mje smj nai aa rhe he k problem kahan he plzzz ap bta den 

Yaar please share the source code. GUI ka smjh nahi aa rha

mje uski smj aa gai he GUI but divide ka option kam nai ker rha 

koi bta de ga

g pochain kya pochna hai

mje cmd use nai kerni aa rhe he kxe kerte hen use bta den asal me me GUI application pe kam ker rhe hn

ap k pas solution ha??

jo smj aya hai please hme bhi smjha den 

muje tu khud kuch samaj nai a riiiii

ho sake to ap ye sara process ek sath bta den at least ye problem to solve ho g

saqib g hamen b bta do assignment 


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

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