diff between abstract methods and interfaces with programing
(code) example?
Answer Posted / naresh p
an abstract class contains the concrete methods as well
abstract methods. It may instance variables and static
final variables
an interface contains only abstract methods. all the
variables are by default static and final.
an abstract class contains constructor where as an
interface does not have constructors...
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
what methods would you overwrite in java.lang.object class?
Is java se free?
What is the difference between the paint() and repaint() methods in java programming?
Write a program to print fibonacci series
What java ide should I use?
Is java a digit method?
Given a singly linked list, find the middle of the list in a single traversal without using temporary variable.
What is comparator in java?
Which package has light weight components in java programming?
How to sort an unsorted array in java?
What is bigger kb or mb?
Define linked list and its features with signature?
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
Can we have 2 main methods in java class?
Explain the difference between hashmap and hashtable in java?