What is multiple inheritance & can we implement it in java?

Answer Posted / siva

Multiple inheritance means it have more than one base class
and one derived..
but multiple inheritance does not support multiple
inheritance......
We r implementing multiple inheritance with the help of
interface...
and we not able to create object for interface class
directly but we can create indirectly

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a copy constructor in java?

795


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 subkeys = key.subkeys(); subkeys.hasNext();) { RegistryKey subkey = subkeys.next(); System.out.println(subkey.getName()); // You need to check here if there's anything which matches "Mozilla FireFox". } } }

1536


What is string pool?

797


Explain the private protected method modifier?

736


Can we declare array without size in java?

737


Is an object null?

722


Write a code to show a static variable?

820


Is array dynamic in java?

654


Is java a software?

693


Is java based on c?

734


What do you understand by casting in java language?

781


What is nan inf?

675


Write a method that will remove given character from the string?

747


Describe the term diamond problem.

748


What is integers and example?

684