wahts is mean by thread?
Answers were Sorted based on User's Feedback
Answer / madhuri reddy
thread is a light weight process.it divide the hole
programm into small groups.it is based on the kernal
Is This Answer Correct ? | 33 Yes | 3 No |
Answer / kranti rajan singh
1.thread is an independent path of execution within ur java
program.that means thread can share the same memory space.
2. the sequence of code executed for each task defines a
separate path of execution is called thread.
Is This Answer Correct ? | 34 Yes | 10 No |
Answer / zoheb
thread is the sub task in a program,thread is usually used
for purpose of serving the multiple client
Is This Answer Correct ? | 14 Yes | 4 No |
Answer / mukthiyar
Thread is a light weight process.
Thread is a single sequential execution flow of control.
Each thread has its own Stack memory.
Different Threads share the same memory(Heap Memory) and it
use some algorithm for implementing time slice like(Round
Robin).were as different Process take different memory space.
Is This Answer Correct ? | 13 Yes | 6 No |
Answer / venkat reddy
A thread is a single sequence stream within in a process
Is This Answer Correct ? | 9 Yes | 5 No |
Answer / kiran
Thread is sequenctial flow of a control with in a program
Is This Answer Correct ? | 13 Yes | 12 No |
What is the use of hashmap in java?
what is the use/perpose of having a method antive?
wht is customised exception?
1 Answers Logica CMG, Novell, Prudential,
Draw a UML class diagram for the code fragment given below: public class StringApplet extends Applet { private Label sampleString; private Button showTheString; private ButtonHandler bHandler; private FlowLayout layout; public StringApplet() { sampleString = new Label(" "); showTheString = new Button (" Show the String"); bHandler = new ButtonHandler(); layout = new FlowLayout(); showTheString.addActionListener(bHandler); setLayout(layout); add(sampleString); add(showTheString); } class ButtonHandler implements ActionListener { public void actionPerformed(ActionEvent e) { samplestring.setText("Good Morning"); } } } Note: The methods need not be indicated on the diagram.
What is getkey () in java?
How does compareto method work?
Does java support function overloading, pointers, structures, unions or linked lists?
Which package has light weight components?
Why cant we define System.out.println() inside a class directly?
What do you understand by looping in java? Explain the different types of loops.
What is the difference between method overriding and overloading?
Can we use string in switch case in java?