what is difference between abstraction and interface?
Answer Posted / pushpendra mishra
Abstract is used in Frame work but Interface is used in specification
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What are the benefits of immutable objects?
How is hashcode calculated in java?
Explain the difference between extends thread vs implements runnable 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
Explain the reason behind ending a program with a system.exit(0)?
Can abstract class have private constructor?
What are design patterns and please explain?
what is meant by Garbage collection?
Can a constructor be made final?
What are the approaches that you will follow for making a program very efficient?
What is append function?
Mention some features of java?
How many types of memory areas are allocated by jvm?
Is java se open source?
What is a package in java? List down various advantages of packages.