How can you say HashMap is syncronized?
Answer Posted / dijesh
hashmap is unsynchronised and hash table is
synchronised.....hashmap permits null...but hashtable does
not.
Is This Answer Correct ? | 7 Yes | 0 No |
Post New Answer View All Answers
What is the right data type to represent a price 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
If you do not want your class to be inherited by any other class. What would you do?
How do generics work in java?
How can a gui component handle its own events?
why are wait(), notify() and notifyall() methods defined in the object class? : Java thread
Can we write method inside a method in java?
How big is a 64 bit float?
When can we say that threads are not lightweight process in java?
Can I declare class as static or private?
What does int argc char * argv [] mean?
How java is similar to c?
Explain about complier design(phases)
Can you explain the private protected field modifier?
What is an example of character?