Win a copy of Head First Android this week in the Android forum!

Prameela Nair

Greenhorn
+ Follow
since Oct 24, 2006
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 Prameela Nair

Did that class compile for you?
SCJP is not about solving maximum mock tests (altough i myself did many). its about understanding why something works the way it does. 2 days before i gave my exams i still scored 44% in a few mocks. I wont lie saying i wasnt scared but i decided to understand where i went wrong and to my surprise i found out that i went wrong with things i never knew about. So with every wrong answer you learn something new.

With this in mind keep solving mocks but not with the motive of scoring high but learning. All the very best
i referred to Khalid Muggal's book. But what i feel is that any reference book would be fine. SCJP is all about those nitty gritty details that you generally overlook while learning Java
15 years ago
Hi Arun,

http://faq.javaranch.com/view?ScjpMockTests
That site contains a list of number of free mock exams.

Took me one month(approximately) of serious preparation which included many of these mock exams .

HTH,
Prameela
15 years ago
I am so happy
All thanks to java ranch and its members.This site helped me a lot, especially with the number of mock links that i got.
Future aspirants, just remembeer its all about concentration. Remember "The devil is in the details"

Cheers,
Prameela
15 years ago
Got it!!!

I missed the mod 0 while reading the question .

SO in this case obj[0] == obj[1] only.

Cheers,
Prameela
Object[] obj = new Object[3];
for(int i=0;i<obj.length;i++)
obj[i] = (i%2==0)?new Object()bj[i-1];



Doesn�t this mean that all the objects in the array are pointing to the same object? If so, obj[0] == obj[1] == obj[2] which is not the case when you execute. AM I missing something?
Would someone please explain how does the following work?

operand1 <</>>/>>> -operand2
The x in the static initializer block ends with the block itself.
the static vars x & y are then initialized to 0 and are incremented in the function doStuff(). so x = y = 1; [Note: here post/pre increments dont make an impact]

In the System.out the incremented values are used for adding up as follows :-
System.out.println((1)++ + (1)+ (2)); [Note: incase of post increment the value is fist utilized and then incremented...as here for y]
hence the output 4

HTH,
Prameela
http://www.geocities.com/SiliconValley/Orchard/9362/java/javacert/newboone1-19.html
This is the link i am referring to for teh Barry Boone mock test.
I am unable to find the answers for the same. would someone help?
Am unable to find the link mentioned for teh answers to barry boones questions. Would someone help?
15 years ago