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 5501Is 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 6623
Can static method access instance variables ?
When do we use hashset over treeset?
What is a instance variable in java?
State the difference between creating string as new () and literal.
What is Garbage Collection in Java
What is string array?
What is data structure in java?
What is bool mean?
Which language is java?
Can java arraylist hold different types?
When is the finalize() called?
What is assembly language?
What is a percentage sign called?
What is the difference between procedural and object-oriented programs?
Can a class have multiple constructors?