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
What is a package in java? List down various advantages of packages.
What if I write static public void instead of public static void in java?
What is get () in java?
What is the current version of java?
How we can run a jar file through command prompt in java?
What is the declaration statement?
Why chararray() is preferred over string to store the password?
What is t type java?
What is overriding in java?
Explain static nested classes ?
java Technical questions asked by JPMC
What is externalizable interface?
What is local variable and instance variable?
What is null statement?
Do I need to import java.lang package any time? Why?