Java Positions in top Software Consulting Company in US

Multiple Java positions in top Software Consulting Company in US!

 


What are the two types of multitasking?

What is a Thread?

What are the two ways to create a new thread?

If you have ABC class that must subclass XYZ class, which option will you use to create a thread?

Which package contains Thread class and Runnable Interface?

What is the signature of the run() mehod in the Thread class?

Which methods calls the run() method?

Which interface does the Thread class implement?

What are the states of a Thread ?

Where does the support for threading lie?

In which class would you find the methods sleep() and yield()?

In which class would you find the methods notify(),notifyAll() and wait()?

What will notify() method do?

Can you notify a particular thread?

What is the difference between sleep() and yield()?

What is a Daemon Thread?

How to make a normal thread as daemon thread?

What is the difference between normal thread and daemon thread?

Give one good example of a daemon thread?

What does the start() method of Thread do?

What are the two ways that a code can be synchronised?

Can you declare a static method as synchronized?

Can a thread execute another objects run() method?

What is the default priority of a Thread?

What is a deadlock?

What are all the methods used for Inter Thread communication and what is the class in which these methods are defined?

What is the mechanisam defind in java for a code segment be used by only one Thread at a time?

What is the procedure to own the moniter by many threads?

What is the unit for 500 in the statement, obj.sleep(500);?

What are the values of the following thread priority constants?
MAX_PRIORITY,MIN_PRIORITY and NORMAL_PRIORITY

What is the default thread at the time of starting a java application?

The word synchronized can be used with only a method. True/ False?

What is a Monitor?

What are all the methods defined in the Runnable Interface?

How can i start a dead thread?

When does a Thread die?

What does the yield() method do?

What exception does the wait() method throw?

What does notifyAll() method do?

What does wait() method do?


comments powered by Disqus