all are saying java doesn't support multiple inheritance but
by default Object class is super class for all the user
defined classes and we can extend atmost one class so each
class can extend more than one class so java supports
multiple inheritance?i am confused with this,pls any one
explain me.
Answer Posted / varun mittal
Please look all the answers.
They do not have any meaning.
I think that only one answer is related to question
i think one class defaultly have the features of Object
class
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What is a bubble sort in java?
How can we access some class in another class in java?
Why Java is not pure Object Oriented language?
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
What is the importance of main method in Java?
Can we change the scope of the overridden method in the subclass?
Explain thread in java?
What is diamond operator in java?
How does remove work in java?
Is hashset ordered java?
What is the difference between JDBC 1.0 and JDBC 2.0?
Does hashset allow duplicates in java?
What is a char in java?
What is the difference between the font and fontmetrics classes in java programming?
How can we create a synchronized collection from given collection?