Originally posted by dhwani mathur:
Thanks a lot......to
praveen oruganti for this information !!
Originally posted by anilkumar Gannavarapu:
Hi all,
I am planning to write SCJP1.4. But I am confusing to choose 1.5 or 1.4. Please guide which is the best and will give more advantage. I have 11 months time to write Certification Exam. Awaiting for your reply.
Thanks in Advance.
Cheers,
Anilkumar.
Originally posted by dipayan chatterjee:
hello all
i am an undergraduate and novice to java programming , have been programming in java for the past one and half months only. i am planning to undertake SCJP1.4 exam somewhere in december end .currently i am referring "core java 2 fundamentals" by conell & horstman and have also finished java certification book by khalid mogul once.please tell me what other books need to be referred and what my future course of preparations be to secure a good score in the exam
looking forward for your valuable inputs
Originally posted by vianyrajnish rajnish:
hi,
can constructor have the return statement..?
thanks,
vinay rajnish
Originally posted by Srikanth Iyer:
During the exams scjp 1.4 is there is a quesiton on bitwise oprators or the shift operators will the binary value of the numbers be given???
Originally posted by Tony Smith:
First of all check the code. You have Test10 t= new Test10();
but class is called Practice, they don't match.
Non -Static methods cannot be reference from static context .
That is true, but you got to read the fine print: except through instance variables. Then you can!
Yes method calling is always "pass by value". But you got to twist your thought a bit on this one. For primitives like byte, short, int, long, boolean, char, a copy is made and passed in. So the original is not touched. HOWEVER, when you are passing in an reference/pointer to an object. A copy of the reference/pointer is passed, not a copy of the whole object is passed. You got to read this twice and think about it. There is only one ojbect, and no additional object is created. Only additional reference/pointer is created when passed into the method.
So since that additional reference is pointing to the same object, you can actually change the value. That's why arr[0] = 10;
Originally posted by Jesper Young:
No; the bitwise operators & and | have higher precedence than the logical operators && and ||. The Java Tutorial: Operators has a table with the operator precedences.
So line 1: false && true || true is evaluated as (false && true) || true which is true
And line 7: false && true | true is evaluated as false && (true | true) which is false
[ September 18, 2007: Message edited by: Jesper Young ]