We are here with you hands in hands to facilitate your learning & don't appreciate the idea of copying or replicating solutions. Read More>>
You will write a simple JAVA program that will take input from user, After taking input in try block it will check it if it is your VU id. If it is your VU-ID it will display message “Yes it is my VU-ID” else it will raise an exception MyException, in catch block you will catch the myException.
Note you will not write anything in the catch block.
You will write a simple class MyException, this class will extend the exception class and it will display the message, You will write the method public MyException (), to
display the following message.
This is not my VU-ID
My VU-ID is bc123456789 (Note you will display your VU-ID here )
In case if you will write your correct VU-ID
1) In order to understand how to take input in java go through this tutorial
2) You will provide code and screenshot of your run to get full marks.
+ Click Here To Join also Our facebook study Group.
.+ http://bit.ly/vucodes (Vu Study Groups By Subject Codes Wise)
tm chup kro spoooonnn mai ne requirment k mutabik kia hay apne se na mara kro :p
sorry to all cs508 ka solution main ju upload kia tha wo theak nhi haa please assignment theak sa parh kar submit karwana custom exception class banani haa apni ek iss link sa help luhttp://www.seasite.niu.edu/cs580java/testexception.htm
guys what does it means
in our assignment file it is
is it like
// Exception throw here
}//end of try
}//end of try
Exception code goes here
Dear Students Don’t wait for solution post your problems here and discuss ... after discussion a perfect solution will come in a result. So, Start it now, replies here give your comments according to your knowledge and understandings....
is main varibales k name aur classes k name change krny hn wo kr lena dhiyan sy aur compile run kr k screen shots ly lena
please koi yahan with snapshot kay sath code paste kar day ...matlab code be ho aur osay run karnay ka procedure be ....
code not working
Aslam-O-Alikum. try it and please must change
Code not working
kia problem kia error aa raha?