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 nextint java?
EDS (Electronic Data Systems India Pvt Ltd) at Chennai on 16-12-2006.
Can a static member function access member variable of an object?
Is nan false?
Does sprintf allocate memory?
What is the difference between the font and fontmetrics classes in java programming?
How does sublist works in java?
Can arraylist hold different types java?
What is boolean false?
Why does java does not support multiple inheritance? Explain
Can you declare the main method as final?
Is this valid in java ? Can we instantiate interface in java?
How do you achieve singleton?
What will happen if non-synchronized method calls a static synchronized method and what kind of lock it acquires?
What is import java util arraylist?