Java Programming - Part-3
AItβs a process in which two different processes run simultaneously
BItβs a process in which two or more parts of same process run simultaneously
CItβs a process in which many different process are able to access same information
DItβs a process in which a single process can access information from many sources
Correct Answer
Itβs a process in which two or more parts of same process run simultaneously
AProcess based
BThread based
CProcess and Thread based
DNone of the mentioned
Correct Answer
Process and Thread based
AInteger
BFloat
Cdouble
Dlong
Correct Answer
Integer
AAnyone will be executed first lexographically
BBoth of them will be executed simultaneously
CNone of them will be executed
DIt is dependent on the operating system
Correct Answer
It is dependent on the operating system
ABy multithreading CPU idle time is minimized, and we can take maximum use of it
BBy multitasking CPU idle time is minimized, and we can take maximum use of it
CTwo thread in Java can have the same priority
DA thread can exist only in two states, running and blocked
Correct Answer
A thread can exist only in two states, running and blocked
Asynchronize
Bsyn
Csynch
Dsynchronized
Correct Answer
synchronized
Await()
Bnotify()
CnotifyAll()
Dall of the mentioned
Correct Answer
all of the mentioned
Await()
Bnotify()
CnotifyAll()
Dsleep()
Correct Answer
wait()
Awake()
Bnotify()
Cstart()
DnotifyAll()
Correct Answer
notify()
AwakeAll()
Bnotify()
Cstart()
DnotifyAll()
Correct Answer
notifyAll()
AItβs a process of handling situations when two or more threads need access to a shared resource
BItβs a process by which many thread are able to access same shared resource simultaneously
CItβs a process by which a method is able to access many different threads simultaneously
DItβs a method that allow too many threads to access any information the require
Correct Answer
Itβs a process of handling situations when two or more threads need access to a shared resource
Asynchronize
Bsyn
Csynch
Dsynchronized
Correct Answer
synchronized
Await()
Bnotify()
CnotifyAll()
Dsleep()
Correct Answer
wait()