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

Mike Anakin

Greenhorn
+ Follow
since Aug 02, 2007
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 Mike Anakin

Which two CANNOT directly cause a thread to stop executing? (Choose Two)


DELETED

answer and why ?
[ August 09, 2007: Message edited by: Burkhard Hassel ]
what does he mean "share the same interface"???
can someone give me explain for the following option?

Image removed.

[[ August 06, 2007: Message edited by: Mike Anakin ]
[ August 08, 2007: Message edited by: Burkhard Hassel ]
nobody knows why ?

can someone explain ?
to Deepak Jain

I think you have got a confuse about the methods.

would you read my code again .

thank you all the same



why we got Output like this :

class A has name A
class B has name A

[ August 05, 2007: Message edited by: Mike Anakin ]
[ August 08, 2007: Message edited by: Burkhard Hassel ]
IMAGE REMOVED
hei , guis ,what will be the correct answer, and why ?
[ August 08, 2007: Message edited by: Burkhard Hassel ]
hey , guis , what will be the correct answer ,and why

[edited] - this was a real exam question !!!

Do NOT post real exams questions at JavaRanch - if you somehow get a copy of a real exam question it is, ILLEGAL! There is no way a copy of a real exam question can be legal.

Thanks,

Bert

[end of edit]
[ August 05, 2007: Message edited by: Bert Bates ]


but I ran these code fine , and these code input fine.
It seems that t1 and t2 will not block each other.

[ August 05, 2007: Message edited by: Ulf Dittmer ]

[ August 05, 2007: Message edited by: Mike Anakin ]
[ August 05, 2007: Message edited by: Mike Anakin ]
]what will be the right answer ?

and why ?

REMOVED
[ August 08, 2007: Message edited by: Burkhard Hassel ]
what does these words mean ?


Threads calling non-static synchronized methods in the same class will only block each other if they're invoked using the same instance. That's because they each lock on this instance, and if they're called using two different instances, they get two locks, which do not interfere with each other. ---comes form 'Java Study Guide'



can someone give me an example for above words .
[ August 04, 2007: Message edited by: Mike Anakin ]
which will be the right answer ? and why ?

IMAGE REMOVED ILLEGAL COPY
[ August 08, 2007: Message edited by: Burkhard Hassel ]
what will be the right answer for following problem

note: illegal posting of copyrighted material deleted - Bert
[ August 07, 2007: Message edited by: Bert Bates ]
what is the difference between

List<? extends String>

List<? super String>
hey, guis ,what is wrong with these code