Ok thats fine,But why is these methods declared in Object class rather than Thread class.My real question is we r using this methods only in threads not for any other purposes. so Iam still not...
Type: Posts; User: harijava79; Keyword(s):
Ok thats fine,But why is these methods declared in Object class rather than Thread class.My real question is we r using this methods only in threads not for any other purposes. so Iam still not...
No U cant declare main method as Private.
During runtime it gives no such method error.
Hi ,
Can u tell me why is wait,Notify,Notifyall methods declared in object class only.