Answer Posted / ravikiran(aptech mumbai)
field variable is the one which can have different access
local variable access restict to method only
Is This Answer Correct ? | 8 Yes | 9 No |
Post New Answer View All Answers
Can we declare an interface as final?
How can the checkbox class be used to create a radio button?
What's the difference between an abstract class and interface in java?
How do you format in java?
Explain garbage collection in java?
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
Which list is sorted in java?
What are the advantages of java inner classes?
If a class is declared without any access modifiers, where can the class be accessed?
Is a method a function?
Can you use this() and super() both in a constructor?
What is the difference between inheritance and encapsulation?
How objects are stored in java?
Which method you will use to create a new file to store some log data. Each time a new log entry is necessary, write string to the file in java ?
What do you understand by java virtual machine?