elangomaran kathirvel

Greenhorn
+ Follow
since Jan 24, 2005
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by elangomaran kathirvel

Hi Guys,

I cleared the SCJP 5 with 91%. This forum has been extremely helpful in understanding the finer concepts of JAVA. I used K&B as the bible. I had to go through the book at least 3 or 4 times to get my confidence up. Reviewing some of the posting in the SCJP forum helped me. I had time to take only one mock exam that came with the K&B. I believe reading the K&B with full understanding of each and every concept is the key for clearing the exams. Also I had to do hundreds of small programs to understand some concepts which were not explicitly mentioned in K&B.
17 years ago
Hi Nilesh,

i think answer 3 is not correct. I believe you need to intitialize final variable when you declare.
Hi Gowher,

Your finally Block has a call to a method which inturn throws an exception. This exception is not caught . Any uncaught exception is handled by the default handler provided by the java run-time system. This prints the exception and terminates the program and the function you called in the finally block is never returned. so whatever you do after the call to the fucntion m() will not be executed.

just add a try-catch in method m as given below

static void m()throws Exception{

try {
throw new Exception();
} catch(Exception e) {
System.out.println("Caught");
}
}
Hi Gowher,

Your finally Block has a call to a method which inturn throws an exception. This exception is not caught . Any uncaught exception is handled by the default handler provided by the java run-time system. This prints the exception and terminates the program and the function you called in the finally block is never returned. so whatever you do after the call to the fucntion m() will not be executed.

just add a try-catch in method m as given below

static void m()throws Exception{

try {
throw new Exception();
} catch(Exception e) {
System.out.println("Caught");
}
}
Hi Nick,
Thnks for ur suggestion.
Hi,
I have started preparing for SCJP 1.4.I have planned to take the exam in March.Can you suggest whether to take SCJP 1.4 or wait for SCJP 1.5.And when does SCJP 1.5 start ?