Answer Posted / siri
As Pointers are not safe and secure which allows us to increament or decreament the memory locations such that we can reach the O.S related files.
So to avoid such insecurities we go with Reference Varaibles where we can't increament or decrement memory location of an object.Even if we try to print the address of the object it prints some hash code
| Is This Answer Correct ? | 8 Yes | 0 No |
Post New Answer View All Answers
What is the difference between int and integer in java?
whatis Home interface and Remoteinterface? with example?
Can you give names of Container classes?
Explain the reason behind ending a program with a system.exit(0)?
explain different ways of using thread? : Java thread
What is type parameter in java?
Explain about object oriented programming and its features?
Is java good for beginners?
What does sprintf mean?
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
What is the declaration statement?
What is use of map in java?
Explain the JDB in depth & command line.
Is set ordered?
Why does java doesnt suuport unsigned values?