Why java Don't Support Multiple interitence
Answer Posted / samir rana
java support multiple inheritance not through the use of
class, but through the implementation of interface we can
achieve multiple inheritance.
By using interface we can implement multiple interfaces for
a class which can solve the problem of our multiple inheritance.
| Is This Answer Correct ? | 0 Yes | 4 No |
Post New Answer View All Answers
What is the difference between yielding and sleeping in java programming?
How will you print number in reverse (descending) order in BST.
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 do you sort an array in java?
Is alive in java?
What is an accessor?
Hi.... I applied for the post of scientific officer/Engineer-SB(Programmer).Please post the syllabus and sample papers.
What is a treeset in java?
How we can generate random numbers in java?
What do you mean by data type?
Why deletion in linkedlist is fast than arraylist?
Can a string be null?
How many java versions are there?
What is proper subset?
What does null mean in java?