Define MultiTasking in Java



MultiTasking :

There are two types of executing the statements in MultiTasking.

Executing several task at a time by the microprocessor is called MultiTasking.

In MultiTasking the processor time is utilized in an optimum way

The 2 type of MultiTasking are as follows.

(i) Process Based MultiTasking :

In this several programs are executed by the Microprocessor using RoundRobin Method.

(ii) Thread Based MultiTasking :

Executing different parts (methods ) of the same program at a time using thread is called Thread Based MultiTasking.

Random Posts

  • Java-Jdbc Questions
  • Define Cookies
  • Creating a Text file using Java
  • What is Anonymous Inner Class
  • Core Java Interview Questions
  1. 1 Comment(s)

  2. By Ramaswamy Ratnala on Feb 5, 2009 | Reply

    In java Multithreading is a specialized form of multitasking.
    multitasking have two process1)procssbased multitasking 2)Thread based multitasking
    processbased multitasking is the multitasking .two or more porgrams that can run concurently.
    Thread based multitasking:single program contains the two or more tasks that can run concurently.each part of the program is called as a thread.
    difference between abvoe two forms:
    1)process based multitasking requries own address space 2)inter process communication is expensive

Post a Comment