Answer Posted / hrindows@gmail.com
A class in Java is a blueprint that includes all your data. A class contains fields (variables) and methods to describe the behavior of an object. Let’s have a look at the syntax of a class.
class Abc {
member variables // class body
methods}
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is independent and dependent variables in research?
Are primitives objects?
What is boolean keyword in java?
What are the topics in advance java?
What are loops in java?
What are the wrapped, classes?
Why javac is not recognized?
What is meant by oops concept in java?
What are the 2 types of java programs?
How many techniques can be employed to create a string object?
What is parameter example?
What is Major and importance difference between for and foreach loop ?
placement papaers of spring computing technology
What are meta-annotations?
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