Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What is a default method?

996


Which sorting algorithm is best in java?

945


How do you know if a value is nan?

1019


What is the default access specifier for variables and methods of a class?

1148


What is java util concurrentmodificationexception?

875


What is the benefit of using enum to declare a constant?

1044


Does apple use java?

896


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". } } }

1760


Explain enumeration in java?

961


What are synchronized blocks in java?

1077


What is variable explain with example?

1006


How do I run java on windows?

1100


Why 1 is not a prime number?

983


How are variables stored in memory?

1007


How many ways can you break a singleton class in java?

923