what is multi-tasking
Answers were Sorted based on User's Feedback
Answer / manikandan [ gtec,vellore ].
multi tasking,multiple programes can b run at a same time.
ex:we can run a mp3 player while we using another
application such as word but both application gets keep
running with out interrupt with one another
| Is This Answer Correct ? | 17 Yes | 0 No |
Answer / kasthuri.d
Multi tasking means,a user can work multiple task at the
same time with one cpu.
For ex,a user works msword,and mspaint at the same time
without interrupt.
| Is This Answer Correct ? | 6 Yes | 0 No |
Answer / 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 |
Explain about transient variables in java?
Why method overriding is used?
How is rounding performed under integer division?
why java does not have operator overloading?
Can singleton class be serialized?
What are adapter classes?
In Java why we write public static void main(String args[]) why not main()?
46 Answers Aptech, GE Healthcare, Infosys, Microsoft, New Horizon, Practical Viva Questions, TCS, Wipro,
Can finally block be used without a catch?
When do we use synchronized methods in java?
what is request processor?
Say you want to store the information about a number of pets in an array. Typical information that you could store for each pet (where relevant) would be • Breed of animal • Animal's name • Its birth date • Its sex • Whether it has been sterilised or not • When it is due for its next inoculation • When it last had its wings clipped For each type of pet (eg. dog, cat or bird) you would typically define a class to hold the relevant data. Note: You do not need to implement these classes. Just answer the following questions. 3.1.1 What would be the advantage of creating a superclass (eg. Pet) and declaring an array of Pet objects over simply using an array of Objects, storing each of the instances of the different pet classes (eg. Dog, Cat or Bird) in it? 3.1.2 Would you define Pet as a class or as an interface? Why? (2) (2)
Why string is not thread safe?