please tell me what is wrapper class in java with example ?
Answer Posted / pradeep
the wrapper class is used for accessing the primtive data
type for to the object.
| Is This Answer Correct ? | 16 Yes | 3 No |
Post New Answer View All Answers
What is the difference between quicksort & mergesort? When should they be used? What is their running time?
Which sorting is best in java?
What is are packages?
What all methods are used to prevent thread execution ?
How to run a JAR file through command prompt?
Explain with example the concept of constant variable in java.
What are unchecked exceptions in java?
Is java still necessary?
Can we have a method name same as class name in java?
What is difference between word and integer?
Explain about the main() method in java?
What is the difference between an interface and an abstract class?
How to create an interface?
Can a class have an interface?
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