Programming - Threads
You Are Here :: Home > JAVA > Threads - General Questions
25. |
_____________________ method is used to retrieve the name of particular group.
|
A. |
getName() |
B.
|
getParent() |
C.
|
activeGroupCount()
|
D.
|
getThreadGroup()
|
|
Answer: Option A
Explanation:
getName() ? This method is used to retrieve the name of particular group. |
|
26. |
____________________method is used to retrieve the name of parent threadgroup of sub group.
|
A. |
getName() |
B.
|
getParent() |
C.
|
activeGroupCount()
|
D.
|
getThreadGroup()
|
|
Answer: Option B
Explanation:
getParent() ? This method is used to retrieve the name of parent threadgroup of sub group. |
|
27. |
______________ method returns the number of active thread group in a particular thread group and all its subgroups.
|
A. |
getName() |
B.
|
getParent() |
C.
|
activeGroupCount()
|
D.
|
getThreadGroup()
|
|
Answer: Option C
Explanation:
activeGroupCount() ? This method returns the number of active thread group in a particular thread group and all its subgroups. |
|
28. |
______________________ method is used to know the thread is belong to which thread group.
|
A. |
getName() |
B.
|
getParent() |
C.
|
activeGroupCount()
|
D.
|
getThreadGroup()
|
|
Answer: Option D
Explanation:
getThreadGroup() ? This method is used to know the thread is belong to which thread group. |
|
29. |
Multitasking allow to execute more than one tasks at the same time, a task being a program.
|
A. |
Multi Tasking |
B.
|
Multi Threading |
C.
|
Multi Performance
|
D.
|
none
|
|
Answer: Option A
Explanation:
Multitasking allow to execute more than one tasks at the same time, a task being a program. |
|
30. |
In multitasking only one CPU is involved but it can switches from one program to another program
|
A. |
Multi Tasking |
B.
|
Multi Threading |
C.
|
Multi Performance
|
D.
|
none
|
|
Answer: Option A
Explanation:
In multitasking only one CPU is involved but it can switches from one program to another program |
|
« prev
next »