Answer Posted / stranger_ajnabi53@yahoo.c
string is an array of character.
| Is This Answer Correct ? | 4 Yes | 5 No |
Post New Answer View All Answers
How do you compare two objects?
What is finalize()? Is finalize() similar to a destructor?
Explain list interface?
What is the access scope of protected access specifier?
What is hotjava?
What are the uses of synchronized keyword?
How many bits are in a sentence?
How to perform quicksort in java?
Can we use string in switch case in java?
Explain method local inner classes ?
Is an array a vector?
Explain the difference between extends thread vs implements runnable in java?
What is meant by structural programming?
What is the difference between this() and super() 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