What is multithreading ???? How to stop multithrading in
java????



What is multithreading ???? How to stop multithrading in java????..

Answer / jyothsna ivaturi

An independent sequential path of execution with in a program is called as THREAD.

MULTITHREADING is the proess of execution of two or more threads concurrently at a time.

This process can be stopped in java with the help of synchronization.

SYNCHRONIZATION can be defined as "a shared resource can be used by only a single thread at a time"

Is This Answer Correct ?    13 Yes 0 No

Post New Answer

More Core Java Interview Questions

What is a boolean flag in java?

0 Answers  


What is difference between char array and string?

0 Answers  


How can an object be unreferenced?

0 Answers  


string is immutable? right every one knows that, my question is it advantage or disadvantage making string immutable?

5 Answers   HCL,


What are concepts of OOPS and how are they implemented in Java?

2 Answers   KPIT,






How do you create a reference in java?

0 Answers  


What is the public field modifier?

0 Answers  


Which is better stringbuffer or stringbuilder?

0 Answers  


What state is a thread in when it is executing?

0 Answers  


What is stack example?

0 Answers  


How do you bind variables?

0 Answers  


What will be the output of the program? public class Test { public static void main(String args[]) { ArrayList<String> list = new ArrayList<String>(); list.add("2"); list.add("3"); list.add("4"); list.add("5"); System.out.println("size :"+list.size()); for(int i=0;i<list.size();i++) { list.remove(i); } System.out.println("size after:"+list.size()); } }

5 Answers   Rolta,


Categories