what is multi-tasking

Answer Posted / nishant lokhande

Multi tasking means No of tasks are running simultaniously.
In java multitasking is possible. To use multitasking there
are two methos
a> To extends Thread class
b> To implement Runnable interface.

In java it is possible to creat no of thread for multiple
application

Methods in Thread class is,
start() :- it is used to create a new thread and to
execute a run method that is defined in this thread class.
run() :- this method is invoked after start() method.
this methos is present in Thread class but we shoult
override it.

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is nextint java?

640


EDS (Electronic Data Systems India Pvt Ltd) at Chennai on 16-12-2006.

8759


Can a static member function access member variable of an object?

649


Is nan false?

627


Does sprintf allocate memory?

704






What is the difference between the font and fontmetrics classes in java programming?

587


How does sublist works in java?

624


Can arraylist hold different types java?

576


What is boolean false?

625


Why does java does not support multiple inheritance? Explain

645


Can you declare the main method as final?

619


Is this valid in java ? Can we instantiate interface in java?

644


How do you achieve singleton?

617


What will happen if non-synchronized method calls a static synchronized method and what kind of lock it acquires?

612


What is import java util arraylist?

756