Explain why wait(), notify() and notifyall() methods are in object class rather than in the reading class?
No Answer is Posted For this Question
Be the First to Post Answer
Hi Friends, I am beginner in java. what i know about synchonized keyword is,If more that one 1 thread tries to access a particular resource we can lock the method using synchronized keyword. Then after that how the lock is released and how next thread access that.Please explain with example.
What is the difference between ArrayList and Vector? which one is better in Java
0 Answers SkillGun Technologies,
What is arrays fill in java?
What is the difference between serializable and externalizable interface?
How the elements are organized in BorderLayout?
Real Time sample code for Encapsulation and Abstraction. where to use abstract and where to use specifies like public private.
what is default layout of JFrame class?
What is map and hashmap in java?
How to add two numbers with out using Arithmetic , union operators in java....? But we can use bitwise operators... but how...?
Why method overriding is used?
Can a java program have 2 main methods?
How do you pass by reference?