how to call one program .class file in another program
Answer Posted / amit
by making package we can include one call in other program
| Is This Answer Correct ? | 7 Yes | 1 No |
Post New Answer View All Answers
What is immutable state?
What is this () in java?
What is substring in java?
A person says that he compiled a java class successfully without even having a main method in it? Is it possible?
Difference between comparator and comparable in java?
Is java code slower than native code?
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
Why should we use singleton pattern instead of static class?
What are the 8 primitive data types in java?
What is variable length arguments in java?
What are the approaches that you will follow for making a program very efficient?
Can a class be private in java?
Give me example of derived data types.
If a variable is declared as private, where may the variable be accessed?
If an object reference is set to null, will the garbage collector immediately free the memory held by that object?