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
If I only change the return type, does the method become overloaded?
What variables are stored in stack?
How do you compare two objects?
Why there are some null interface in java? What does it mean?
What are the states of thread in java?
What are the types of strings?
What is the difference between a switch statement and an if statement?
Is array primitive data type in java?
What is return type in java?
What are the access modifiers in java?
What is java util concurrentmodificationexception?
Can you start a thread twice in Java?
What is the ==?
What is the current version of java?
Is there any case when finally will not be executed?