Answer Posted / varsha vilas kalebag
inner classes has right to excess members of outer classes
| Is This Answer Correct ? | 11 Yes | 1 No |
Post New Answer View All Answers
Is namespace same as package in java?
What is return type in java?
What is the default value of the local variables?
What is method with example?
how many types of Inheritance?
What is the difference between sleep and wait in java?
Which container method is used to cause a container to be laid out and redisplayed in java programming?
What is the use of accept () method in java?
Why pass by reference is not possible in java?
What methodology can be utilized to link to a database?
State the merge-sort principle and its time complexity.
Explain about varargs in java?
What are the advantages of encapsulation in java?
what is meant wrapper classes?
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