Answer Posted / sharvari
Thread is a unit of program code in execution. It is unit of
dispatching.
Thread can be viewed as an independent program counter
within a process.
Basically it reduces switching overhead and helps
multiprogramming.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is the main method java?
Define an enumeration?
What is bom encoding?
Explain what access modifiers can be used for variables?
How do you check whether the list is empty or not in java?
Is there any way to find whether software installed in the
system is registered by just providing the .exe file?
I have tried the following code but its just displaying the
directory structure in the registry.
Here the code :
package com.msi.intaller;
import java.util.Iterator;
import ca.beq.util.win32.registry.RegistryKey;
import ca.beq.util.win32.registry.RootKey;
public class RegistryFinder {
public static void main(String... args) throws Exception
{
RegistryKey.initialize(RegistryFinder.class.getResource("jRe
gistryKey.dll").getFile());
RegistryKey key = new RegistryKey(RootKey.HKLM,
"Software\\ODBC");
for (Iterator
Which api is provided by java for operations on set of objects?
What is singleton class in ruby?
Which arithmetic operations can result in the throwing of an arithmeticexception?
What is the difference between the prefix and postfix forms of the ++ operator?
Can we have multiple classes in single file ?
Can we write method inside a method in java?
Garbage collection in java?
Can a boolean be null java?
Why is flag used in java?