Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Why Wait and notify are kept in Object class although they
are used only with Thread Class

Answer Posted / srinivas

Since the locking mechanism happens at the Object level so
they are in Object Class.

Is This Answer Correct ?    21 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the different types of inheritance in java?

991


What is runtime polymorphism or dynamic method dispatch?

1016


What is immutability in java?

1094


What is stream api in java8?

1189


What are static initalizers in java ?

1019


What is better- service oriented or batch oriented solutions?

2226


What are the differences between this and super keyword?

948


What is the maximum size of a string in java?

1104


Give us a program to check for parenthesis matching using stack.

1004


What is google full form?

1015


What are the differences between heap and stack memory?

1090


Difference between comparator and comparable in java?

1103


What is the difference between public, private, protected, and friend access?

1048


What is variable length arguments in java?

980


What is the difference between stream and buffer?

968