different types of threads?

Answer Posted / sunil verma

Thread is the path of execution of a program..Types of
threads are Single-threaded and Multi-threaded...This is
mainly differentiated on the basis of synchronisation..A
synchronised thread means a single thread executed only
once at a time..Multithread means threads are executed
simultaneously...

Is This Answer Correct ?    18 Yes 17 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is space a string in java?

519


Compare Mutex and Semaphore in java.

566


What are the restrictions imposed on method overriding?

566


What is the properties class in java programming?

557


Q1.A. Write note on “The class path Environment Variable”? B. Which are different kinds of source code? Q2.A. How to create an interface? B. Why convert an applet to an application? Q3.A. How to use Media tracker Class. B. How to use string tokenizer class. Q4 A. Explain the overview of UDP messaging. B. Difference between SQL Exception class and SQL Warning class. Q5. A. How to create com object in Java? B. Write short notes on “The properties class” Q6. A. When object is created and destroyed? B. Explain the JDB in depth & command line. C. Write short notes on Web Sites.

7444






What is meant by design patterns?

598


Do I need to import java.lang package any time? Why?

751


Write a java program to find the route that connects between Red and Green Cells. General Rules for traversal 1. You can traverse from one cell to another vertically, horizontally or diagonally. 2. You cannot traverse through Black cells. 3. There should be only one Red and Green cell and at least one of each should be present. Otherwise the array is invalid. 4. You cannot revisit a cell that you have already traversed. 5. The maze need not be in the same as given in the above example

2142


Difference between ‘is-a’ and ‘has-a’ relationship in java?

549


What is a static class in java?

566


Explain covariant method overriding in java.

553


What is the difference between member variables initialization and assignment in a constructor?

676


How many classes can any class inherit java?

516


can used Protected Class outside Function.?

618


What is meant by main method?

590