archu sweet

Ranch Hand
+ Follow
since Mar 07, 2011
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by archu sweet

@ jesper:

CardBoard c3 = c1.go(c2); i when this line is compiled go function is invoked which sets c2's value to null in go function...am i correct??
14 years ago

When // doStuff is reached,

I guess 3 objects are eligible for Garbage collection..C1,C2,C3...am i correct?? correct me if i'm wrong ??
14 years ago
i think overriding of same functions is not possible in same class....am i correct??
14 years ago
yes i meant p0 == p1...i tried out it says it is valid....but they belong to different classes how can they be equal ??
14 years ago
It is throwing this error : Exception in thread "main" java.lang.Error: Unresolved compilation problem
14 years ago


I just wanted to know what is wrong in the above code ?
14 years ago


I want to know how come p0=p1 is true ??
14 years ago
marc weber : Thanks a ton!!....I have understood...Your explanation is too good!!
14 years ago


I jus wanted to know what is wrong here which causes the compiler to throw Exception in thread "main" java.lang.ClassCastException: Hi.Dog1 cannot be cast to Hi.Cat5
at Hi.Cat5.main(Cat5.java:8)...error....Please help me out !!
14 years ago
i have jus another silly doubt ..

can we declare static a[0]=2; instead of static { a[0]=2; } ??


i'm not clear with the declarations...
14 years ago