Which of these methods belong to Thread & Object class?
join, yield, sleep, wait, notify

Answer Posted / paletipatisrinu

wait()and notify() methods are Thread and object class methods

Is This Answer Correct ?    8 Yes 13 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is regex used for?

767


What is meant by the value of a variable?

701


What is sleep method?

837


What is jpa specification?

753


Does garbage collection occur in permanent generation space in jvm?

836


What is <> used for in java?

871


Which collection is best for sorting in java?

904


What are the different tags provided in jstl?

774


What is structure of java heap? What is perm gen space in heap?

796


What is the difference between JVM and JRE?

842


Are strings immutable in java?

754


How do you reverse a string in java?

875


Difference between ‘>>’ and ‘>>>’ operators in java?

904


What are the different ways of implementing thread? Which one is more advantageous?

768


What are nested classes in java?

839