Explain why wait(), notify() and notifyall() methods are in object class rather than in thread class?
No Answer is Posted For this Question
Be the First to Post Answer
What does super keyword do?
Can we execute java program without main method?
How can we find the sum of two linked lists using stack in java?
How many bytes is a character?
Why inputstreamreader is used in java?
Explain the difference between arraylist and linkedlist in java?
What is struts in java?
What are the basic control structures?
What is Session and cookies?Explain in detail with an example?
What is Classloader in Java?
Why does java have different data types for integers and floating-point values?
for(i=0;i<100;i++) { int i=method();//method returns no's from 1 to 10; /* insert some stmts which can give output like no.of times numbers(1-10) returned. (for example if it returns 2 then i want output how many times 2 returned) like that i want output for no's 1 - 10 how many times each no returned. */ }