why we cannot access private variable named as "threadstatus" of the class Thread in out side of that class
when i call accessThreadStatus method it generates one exception
And if the above happens , then how to make a private variable not accessible to the out side class.
please any one find the solution
Thanks in advance.
when i call accessThreadStatus method it generates one exception
And if the above happens , then how to make a private variable not accessible to the out side class.
please any one find the solution
Thanks in advance.