ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip   To Refer this Site to Your Friends   Click Here
Google
 
Categories  >>  Software  >>  Core Java  >>  Java J2EE  >>  Java Related
 
 


 

 
 Core Java interview questions  Core Java Interview Questions
 Advanced Java interview questions  Advanced Java Interview Questions
 Swing interview questions  Swing Interview Questions
 EJB interview questions  EJB Interview Questions
 Servlets interview questions  Servlets Interview Questions
 Struts interview questions  Struts Interview Questions
 JDBC interview questions  JDBC Interview Questions
 JMS interview questions  JMS Interview Questions
 SunOne interview questions  SunOne Interview Questions
 J2EE interview questions  J2EE Interview Questions
 Weblogic interview questions  Weblogic Interview Questions
 Websphere interview questions  Websphere Interview Questions
 Java Networking interview questions  Java Networking Interview Questions
 Java J2EE AllOther interview questions  Java J2EE AllOther Interview Questions
Question
what is Thread?
 Question Submitted By :: Guest
I also faced this Question!!     Rank Answer Posted By  
 
  Re: what is Thread?
Answer
# 1
Thread is an independent flow of execution with in a 
process. A process can have any number of threads.
 
Is This Answer Correct ?    1 Yes 0 No
Surya Simhadri
 
  Re: what is Thread?
Answer
# 2
Thread is a block of code which is executed concurrently 
independent of other threads with in a process.
 
Is This Answer Correct ?    0 Yes 0 No
Harika
 
 
 
  Re: what is Thread?
Answer
# 3
single process running at a time or current process is 
thread.
 
Is This Answer Correct ?    1 Yes 0 No
Ruchi
 
  Re: what is Thread?
Answer
# 4
Interrupts are necessary for handling time-critical 

tasks, but there’s a large class of problems in 

which you’re simply trying to partition the problem 

into separately-running pieces so that the whole 

program can be more responsive. Within a program, 

these separately-running pieces are called threads 

and the general concept is called multithreading. A 

common example of multithreading is the user 

interface. By using threads, a user can press a 

button and get a quick response rather than being 

forced to wait until the program finishes its 

current task.

Ordinarily, threads are just a way to allocate the 

time of a single processor.
 
Is This Answer Correct ?    0 Yes 0 No
Venkatachalapathy
 
  Re: what is Thread?
Answer
# 5
Thread is a sequential flow execution, that it has one 
entry point,one exit point, some sequence of steps in 
betwwen start nd stop. Other wise u can say like this : 
Thread is alight weight process, y because its havening 
less over heads
 
Is This Answer Correct ?    1 Yes 0 No
Tulasi Prasad
 
  Re: what is Thread?
Answer
# 6
Itz a small unit of execution or a light weight process.
 
Is This Answer Correct ?    0 Yes 0 No
Preeti Halapnavar
 

 
 
 
Other Core Java Interview Questions
 
  Question Asked @ Answers
 
Howmany classes that package java.applet.* contains? TCS1
What are interfaces?  1
when we have to use final class in java?  2
What is an abstract class and abstract method?  4
explain the concept of inheritance with an example? Polaris5
What will happen inside init() in servlet. my interviewer asked servlet lifecycle. i said "once servlet is loaded in to memory init() will be called which performs servlet initialization " . Again interview asked what values will be initialized . what is difference between init() and init(ServletConfig config). Infinite-Computer-Solutions1
How does serialization work Ordain-Solutions2
strings in java are objects.why?  2
How to override a equals() method and what is the use?  1
If your team member writes code with lots of static variables and static methods, will it cause any side effects? KPIT1
Why is prepared Statement, Callable Statement used for? What is the need of Batch updates? Logica-CMG1
What is System class and its purpose?  2
what is meant by UP& DOWN casting in java?  4
What is meant by class loader and how many types are there? Apple1
Why null interfaces are used in Java?  2
How many ways can an argument be passed to a subroutine?  2
Can you run the product development on all operating systems ?  1
What is Servlet?  8
Sample code to retrieve objects from HashMap in sorted ascending order?  1
Functionality of JVM? Infosys4
 
For more Core Java Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com