can abstract class have constructor how can you achive
this ?
Answer Posted / rajasekharreddy.y
Yes abstract class must have the constructor, these
constructor we can achive by creating the instance of the
concreate subclass of the abstract class.
| Is This Answer Correct ? | 14 Yes | 2 No |
Post New Answer View All Answers
Explain the difference between serializable and externalizable in java?
What is covariant return type?
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
How will you initialize an Applet?
What is the use of callablestatement?
Why does it take so much time to access an applet having swing components the first time?
What is class and its types?
Explain the difference between call by refrence and call by value?
What is t type java?
Why do we need hashset in java?
Do we have pointers in java?
What is the difference between static class and normal class?
What is the meaning of immutable regarding string?
What is java beans?
What are voids?