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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we have a try block without catch block?

756


What is string length in java?

700


Difference between static binding and dynamic binding?

788


what is function overloading in java?

952


How do we access static members in java?

837


What is private static class in java?

749


What is the need of transient variables in Java ?

803


What is a line separator in java?

737


How can we make copy of a java object?

775


What about main() method in java ?

768


What is the impact of declaring a method as final?

758


How can a gui component handle its own events in java programming?

758


If we don’t want some of the fields not to serialize how to do that?

788


what is the difference between the methods sleep() and wait()? : Java thread

726


Can we use both this () and super () in a constructor?

773