Answer Posted / dsr
By using wait(),notify and notifyall() methods in the code.
Is This Answer Correct ? | 2 Yes | 4 No |
Post New Answer View All Answers
How many functional interfaces does java 8 have?
What is a singleton factory?
What is set and get methods in java?
How many arguments can a method have java?
worst case complexities of Quick sort and Merge sort.
What differences exist between iterator and listiterator?
Explain about collection interface in java?
How do you sort a string in alphabetical order in java?
What is the difference amongst jvm spec, jvm implementation, jvm runtime ?
What are the three types of design patterns?
How do you check if two given string are anagrams?
Can inner class have constructor?
Explain the importance of throws keyword in java?
What is primitive array?
How do you reverse a word in java?