| Forums.Sureshkumar.net : A Perfect Place to Share Knowledge Blogs Games Magazines |
|
|
#1 (permalink) |
|
Junior Member
Join Date: Jul 2008
Age: 24
Posts: 14
Thanks: 0 Thanked 0 Times in 0 Posts Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 1
|
Pls Give me Answer to these question
What are all Checked and unChecked Exception in java
why we set classpath in java (for run a class file or store class file ) what are all methods in entity bean in ejb? what is deployment descriptor in EJB?(is it ejb_jar.xml) |
|
|
|
|
|
#2 (permalink) |
|
Senior Member
Join Date: Oct 2006
Location: Mayiladurai (TN)
Posts: 225
Thanks: 8 Thanked 4 Times in 4 Posts Thanks: 8
Thanked 4 Times in 4 Posts
Rep Power: 4
|
Re: Pls Give me Answer to these question
1. UnChecked Exceptions are the exceptions of belonging to the subclasses of Error and RuntimeExceptions class... We don't need to provide any exception handler for this kind of exceptions.. They occur only because of ur logical error in the prgm like ArrayIndexOutOfBounds....
On the other hand for Checked Exceptions we have to either provide handler or ur method which cause these exceptions must define it using throws clause...... Exceptions like SocketException, FileNotFound Falls into this category 2. By setting classpath, we tell the JVM to look for the class files in this particular location... |
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| must read all UG students!!!!!!!!!!!!! | sanjay | Other Queries | 15 | 04-09-08 03:10 PM |
| Core Java Questions Interview Ques n Answers-II | vijayrmca | JAVA Technologies | 0 | 12-06-08 01:12 PM |
| Interview questions you may be asked | yathish | HR Questions | 6 | 24-12-06 07:35 PM |
| The 25 most difficult questions you'll be asked on a job interview | AjayKumar.Kataram | HR Questions | 1 | 22-09-06 08:30 PM |
| Help me for Interview question | ajutipu | EMBEDED SYSTEMS & VLSI | 4 | 31-08-06 07:04 PM |