deshdeep divakar

Ranch Hand
+ Follow
since Apr 19, 2004
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 deshdeep divakar

i Cant use if else as the ladder will be too long. n how do i map it to integer. Cant i use Enumeration...???
15 years ago
Hi All,
i have a method that returns string value and i want to use this string in the switch case. I tried using enum but it is not available in JAVA 1.4. can anbody suggest something.
15 years ago
Hi Ricky,

As far as I know You Can find tricky sought of Questions at Danch following
Link:

http://www.danchisholm.net/july21/
And along with that Play RANCHROUNDUP there you can find ample of tricky Question.
TRY TO BE MORE ALERT THEN U UsUALLy DO No TRICK Can BoGle You...

Hi Amit,
NIIT is also offering some discounts.
Hi,
All Ranchers have a close look to this code

Output:
false,true
false,true
true,true,true
whether according to me
Output:
false,true
false,true
false ,true,true
which is coz we r comparing two different object references via ==
plz elobrate to this...
Seenu
Thanks well that's a blunder I will be more
alert from now thanks one again.
Hello Rick,

do'nt you think the answer should be compilation error
also coz public method getLeader() is not implemented in
concrete class which is must.

Thanks & Regards
Java Man
Deshdeep
Hello Rick,

do'nt you think the answer should be compilation error
also coz public method getLeader() is not implemented in
concrete class which is must.

Thanks & Regards
Java Man
Deshdeep
This is a Question from Danch

According to me the Output should be:false,true,true.becoz valueOf();
method is just another way to construct wrapper object,and when we compare
two different object references it returns false.While the idea i have got
from the explanation of Question is their is a huge difference between
saying:
But Still the thing left dangling is,is'nt both the objects are different.
plz elobrate on to this as soon as possible.

Thanks
Java Man
Deshdeep
Hey
Dear Tanu,
Buddy You did it.
17 years ago
Hello Barry & Steve,

you both are great help to understand this concept
but if we look to this method its not returning anything,so this
could also be a reason as well.Please do correct me if I am thinking
wrong.
Hey
George that's superb would you please share
your preparation procedure with all of us.
Congrates!
17 years ago
Hi Buddy
Srinivasa Raghavan
When I assigned String x = "null";
the
Output is :null null does this mean that in case when
we say String x="null"; reference variable x value
does'nt have any spaces while saying String x=null;
does have space.Plz elaborate on this...
Hi Buddy
Srinivasa Raghavan
When I assigned String x = "null";
the
Output is :null null does this mean that in case when
we say String x="null"; reference variable x value
does'nt have any spaces while saying String x=null;
does have space.Plz elaborate on this...
17 years ago