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
Which class should you use to obtain design information about an object in java programming?
What is application system?
What a static class can contains?
What is the difference between the paint() and repaint() methods?
What is keyset in java?
Explain what is encapsulation?
What does sprintf return?
Can we override tostring method in java?
Is java a pure object oriented language?
What carriage return means?
What is variable and constant explain with example?
What is arrays fill in java?
What is array pointers ?
Is java hashset ordered?
How can you share data between two thread in Java?