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 the function of static in java?

535


How to print an arraylist in java?

489


What are void pointers?

705


What is a bubble sort in java?

537


What is the difference between method overriding and overloading?

569






How does callback work in java?

597


Can we cast any other type to boolean type with type casting?

533


What is the advantage of preparedstatement over statement?

552


What is the purpose of javac exe?

555


What is the use of private static?

526


What are benefits of java?

550


What is the purpose of java?

552


What is the final keyword?

547


Is java based on c?

525


what do you understand by synchronization? : Java thread

543