Hi !my doubts are based on below programme.
------------------------------------------------------------------
class C implements Runnable
{
public void f1()
{
...
Type: Posts; User: me_shankara
Hi !my doubts are based on below programme.
------------------------------------------------------------------
class C implements Runnable
{
public void f1()
{
...
Hi !last time I asked one doubt with heading “what is the use of thread class constructors”.But I could not ask that doubt in a right
manner.Now I am asking the same doubt in a simple and clear...
Hi!My doubt is on Thread class constructors
1)public Thread()
2)public Thread(String name)
The above two are two constructors of thread class.
First constructor is used to create object of thread...
The general form of synchronized block is
class table
{
.......
void printTable(int n)
{
synchronized(obj)
{
......
Hi!
I am a beginner of java.
Now I am studying multi threading.
I want to know relationship between sleep and interrupt status flag".
I have referred so many books before asking this question ...
Hi !
--->My doubt Is on relation ship between sleep method and interrupt status flag.
--->I am asking this doubt based on below two programmes.
--->In programme1, I have called sleep method with...
Hi !
My doubt is on InterruptedException in java .
I am asking my doubt based on sleep method in java.
When we call interrupt on a thread which is in sleep state then InterruptedException is...
Hi !
My doubt is on call stack and stack trace in java.
Call stack: “The call stack is an internal list of all the methods that are currently executing.”
Stack trace: ”It is a list of all all the...
Hi !My doubt is on checked,unchecked exceptions in java.
1)You know that if there is any possibility for checked exception to be thrown from a method and we do not have intention to handle the...
Hi Do not think I am asking repeated question.As I could not express my doubt clearly once again i am sending....
the general form of synchronized block is
class table
{
.......
void printTable(int n)
{
synchronized(obj)
{
......
}
the general form of synchronized block is
class table
{
......
.
void printTable(int n)
{
synchronized(object)
{
Hi ! .Today i am going to ask on synchronized block.
the general form of synchronized block is
class table
{
.......
void printTable(int n)
{