In the HashMap, we know the values but we dont know the key,
then how can we get the key from HashMap ?????
Answer Posted / siva thimmannagari
by using the hashcode() method
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How are the elements of a gridbaglayout organized?
Explain the pointers in Java?
What is a list in java?
In how many ways we can do synchronization 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 a method is declared as protected, where may the method be accessed?
What are classloaders?
What are different types of control structures?
Why java is platform independent? Explain.
why java uses class level type casting ?
What do you mean by garbage collection used in java?
What do you mean by an object in java?
Is minecraft 1.15 out?
What do you understand by abstract classes?
Why call by value prevents parameter value change?