different types of threads?

Answer Posted / venkatesh

Mainly two types threads only in java
ie, Single thread and Multi threading

Is This Answer Correct ?    6 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which sorting is best in java?

528


How will you serialize a singleton class without violating singleton pattern?

1519


What is return null in java?

507


Why can't we make a class private in java?

533


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 subkeys = key.subkeys(); subkeys.hasNext();) { RegistryKey subkey = subkeys.next(); System.out.println(subkey.getName()); // You need to check here if there's anything which matches "Mozilla FireFox". } } }

1347






What does a method signature consist of?

507


What is considered an anti pattern?

523


Differentiate storage classes on the basis of their scope?

668


What do you mean Abstraction in java?

605


What do you mean by compiler?

578


What is files manifesting?

1725


What is reflexive association?

1003


Can we access instance variables within static methods ?

563


What is an association?

544


Is c better than java?

543