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
Write a java program for binary search?
What is string made of?
What is the generic class?
Explain public static void main(string args[]).
When is the finally clause of a try-catch-finally statement executed?
What is listnode in java?
What is static import?
Is vector synchronized in java?
Explain the significance of class loaders in bootstrap?
Is string thread safe in java?
What does java stand for?
What will happen when using pass by reference in java?
What is an interoperable application in java ?
What is args length in java?
How do you add an element to a hashset in java?