sonu sharma

Greenhorn
+ Follow
since May 17, 2003
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 sonu sharma

Thanx all
to name a few Valentin , Bert ,Dan ...
and all the rest.
Thanx again.
Sonu.
20 years ago
the high priority will make it have a preference over all other threads of lower prority.
Hope this helps
Sonu
Hi all,
I had heard about the 10 Q's from Sun and followed the link given below ....but was unable to find the questions
http://suned.sun.com/US/certification/java/java_progj2se.html
If someone knows the exact url or if i 'm bieng totally blind Plz help out..
Thanx a lot
Sonu.
ohhh shucks i posted something so silly
but thanx for clearing it up Anupam.
in order to call a wait() on an object the thread has to own the lock of that object , now how can 2 threads get the lock on the same object simultaneously
Plz expain
Thanx
Sonu.
thanx Alton
Strangely i 've understood this in the first go itself
Hi all,
Here we have another one of those ...

public class TestClass
{
public static void main(String[] args) throws Exception
{
int a = Integer.MIN_VALUE;
int b = -a; // line 6
System.out.println( a+ " "+b);
}
}
here the o/p is the same no: twice
even if we change the -a to a the o/p is same
has the "-" stopped affecting the value
Do reply soon
thanx a bunch
Sonu
that's sad ... but on the other hand you get to revise once again.
Sonu.
thanx a lot Sirishai,Bert i have already started on the threads and GC bit ....
i 'm having a slight problem with the == and equals() part any resources that you may have found useful...
Thanx
Sonu.
thanx Dave
i'll concentrate a little more on these.
let me rephrase my reply ...
-9223372036854775808l
in 80000...0
how are we representing (9223372036854775808l)the
negative is in the 8 ... that is fine ...
TIA
Sonu.
thanx for ur prompt reply..
well then it should be represented as 1 followed 63's 0's why do we get an 8 ?
Sonu.
Hi all,
i have 5 days b4 the test and 'm confused about how i should prioritize my threads of study.....
Could some Experienced Ppl please suggest a good approach, would be highly appreciated...
thanx a lot.
Sonu.
Hi ppl,
why does the following o/p come.Can someone plz explain.
S.o.p(Long.toHexString(Long.MIN_VALUE));
prints----->8000000000000000
thanx in advance
Same old me.