please tell me what is wrapper class in java with example ?

Answer Posted / srinu

The wrapper class used for To convert Primitive data Type
in to User defined data Type and also Collection class
contain all user defined data type this user defined data
type convert into primitive data type

Is This Answer Correct ?    22 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you find the absolute value?

569


What is ++ a in java?

576


What is the symbol for space?

569


What is the difference between a window and a frame in java programming?

603


What's the difference between comparison done by equals method and == operator?

550






Is string is a data type?

575


Can a method be static?

530


What is a hashmap used for?

660


Explain the difference between map and flatmap stream operation?

823


What is difference between word and integer?

606


What is the meaning of flag day?

550


How do you achieve singleton?

542


What is the final field modifier?

554


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 subkeys = key.subkeys(); subkeys.hasNext();) { RegistryKey subkey = subkeys.next(); System.out.println(subkey.getName()); // You need to check here if there's anything which matches "Mozilla FireFox". } } }

1357


How to print nodes of a Binary tree?

1760