suppose string s1="rajnish";
string s2="bhaskar";
then what will be happend ?
Answer Posted / kvk
two object will be saved in string constant pool
Is This Answer Correct ? | 8 Yes | 0 No |
Post New Answer View All Answers
What is the arraylist in java?
What is nested loop? What is dangling else condition in it?
How to convert string to char and vice versa?
What is a double?
What is a conditional equation?
What are variable arguments or varargs?
What are the common uses of "this" keyword in java ?
Explain about abstract classes in java?
What is the purpose class.forname method?
What is java developer skills?
make a method which any number and any type of argument and print sum of that arguments.....
What are the two basic ways in which classes that can be run as threads may be defined?
What is a dynamic array in java?
What are the approaches that you will follow for making a program very efficient?
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