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

Can you write Java code for declaration of multiple
inheritance in Java ?

Answer Posted / manjula

Multiple Inheritance is not allowed in java. Instead of
this, interfaces are used to implement multiple inheritance
concept.

syntax: interface interface_name
{
data & method declaration;
}

The interafaces in java always contain final fields and
abstract methods

Is This Answer Correct ?    11 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can I avoid validating a form before data is entered?

985


the same information whether it will connect to the database or it will be used previous information?

1025


What is the purpose of the wait() method?

1174


Why is string immutable in java?

1085


What is abstract schema?

1007


wahts is mean by dynavalidatorform in struts/

2052


Why is actionform a base class rather than an interface?

1046


Are there books about seam?

1078


Which containers use a border layout as their default layout?

1123


What is chat area? Explain.

1008


Explain RMI Architecture?

1083


Why does the option tag render selected=selected instead of just selected?

1158


How would you reatach detached objects to a session when the same object has already been loaded into the session?

1189


Define prototype?

1045


What’s jboss jbpm?

1012