Arun Krishnan Nair

Greenhorn
+ Follow
since Aug 14, 2008
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 Arun Krishnan Nair

Thats impossible. If you do that it will come under security violation :-)

If you were owning the www.google.com domain you could add an interceptor.

A simplest form of interceptor can be like,

suppose you have an application hosted on your server. You want to log all input requests and outgoing responses from your service.. You can add an interceptor to log the request and response without disturbing your service application.

-Arun
13 years ago
Hi SCJP aspirants,

The following link can be considered as the starting point to look for SCJP mock tests,

http://faq.javaranch.com/java/ScjpMockTests

It include both paid and free SCJP mocks...

15 years ago
No problem at all...somebody provided the links and I used I got good results...So I dont have any problem in transferring the knowledge to others..
15 years ago
Hi All,

I feel the exam simulator for Devaka (ExamLab) is a very good one.

Also the Q&A available at the end each chapter of Kathy's book is also very good.

hope it helps those who are preparing for SCJP
15 years ago
Sun has already stopped support for Java 1.4 so I think there is no point in going for SCJP 1.4. In SCJP 5 you will have to learn Generics, Static imports, Streams, etc...I am not pretty sure about the difference between SCJP 5 and SCJP 6.

I feel it is better to go for SCJP 5/6.

hope it helps.

15 years ago
hi all,

I mainly studied Kathy Sierra' book on SCJP.. I have been in Java 1.4 domain for the past 5 years...that has also helped.

Personally I feel that Kathy's book is the best, not only in terms of SCJP preparation, it will definitely add value to your Java knowledge....
I did the mock tests available in SCJP CD, then used Whizlab exam simulator trail questions...

I will update you all with the other mock exam links....

Regards
Arun
15 years ago
Dear All,

I have passed SCJP 5 with 100% score...I did a lot of mock exams and read K&B book 3 times...

Regards
Arun Krishnan Nair
SCJP 5 - 100%
15 years ago
Yes it can do either of the two ways...but better to be handled
This question is more related to a development strategy. I guess such questions are not likely to be part of SCJP.

To answer your question, it is always better to handle exception at the software side than letting the JVM handle it.
Exception is the super class for checked as well as unchecked exceptions. If you want to have a general handling (logging/error message) for all the exceptions occuring in a code block you can catch the Exception. So when you write Exception in the catch block an unexpected runtime exception can be expected by the try block.

In the case of FileNotFoundException it is checked one, and it should be thrown by any of the line/method with in the try block.

I hope it is clear now
If you use Iterator on a LinkedHashmap you will be able to iterate the elements in the exact order, but if you are using a Hashmap the order cannot be guranteed. Thats why it is said that when using an Iterator what matters is the type of Collection you are iterating.

I hope it helps..
Why the variable logLevel is declared as final?
yes sweety..but it was a new knowledge for me that even if create object the private variables can be accessed using . operator

Thanks for all the replies
In the code given below, eventhough the variables i and sampleString is declared as private the same is accessable directly from the object through the main method of test class. Does it mean that private/protected declaration is ignored within the class?

public class Test {
private int i = 25;
private String sampleString = "Arun";
public static void main(String[] args) {
Test test = new Test();
System.out.println("String is --" + test.sampleString);
System.out.println("Int value is --" + test.i);
}
}