Answer Posted / divya
You can only create a reference of an interface but cannot
instantiate.
| Is This Answer Correct ? | 10 Yes | 2 No |
Post New Answer View All Answers
Can we have any code between try and catch blocks?
Can a boolean be null java?
What are keywords 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
What is the difference between interface & abstract class?
How hashset works internally in java?
Why do we override tostring method in java?
What are the differences between graph and tree?
What is string immutability?
What are basic keywords?
What is the purpose of file class?
Can a static member function access member variable of an object?
What does you mean in math?
What advantage do java's layout managers provide over traditional windowing systems?
What does arrays sort do in java?