why java does not support multiple inheritance
Answer Posted / sskur
Java was designed without multiple inheritance.Java
interfaces solves most problems that are commonly solved
using multiple inheritance just simulates inheritance .
Kalaivani , Kishore don't misguide others unless your
absolute with your answers.
| Is This Answer Correct ? | 40 Yes | 72 No |
Post New Answer View All Answers
What is a default method?
Which sorting algorithm is best in java?
How do you know if a value is nan?
What is the default access specifier for variables and methods of a class?
What is java util concurrentmodificationexception?
What is the benefit of using enum to declare a constant?
Does apple use 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 enumeration in java?
What are synchronized blocks in java?
What is variable explain with example?
How do I run java on windows?
Why 1 is not a prime number?
How are variables stored in memory?
How many ways can you break a singleton class in java?