what really hapens when a object is created using new operator? 1.is it allocates memory to all variables and methods in the class with reference to that object?
3 4247Is 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
import java.io.*; class Demo { public static void main(String args[]) { File f=new File("1234.msg"); String arr[]=f.list(); System.out.println(arr.length); } }
3 5156
What is flush () in java?
What is the purpose of using break in each case of switch statement?
What is final keyword?
can java object be locked down for exclusive use by a given thread? : Java thread
Why collection is called framework in java?
Do we need to manually write Copy Constructor?
Is null false in java?
Give few difference between constructor and method?
When should I use singleton pattern?
What is nan inf?
What is the covariant return type?
What is the significance of listiterator?
What is the method to expand and collapse nodes in a jtree?
How do you clear a method in java?
What is the difference between static method and instance method in Java?