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

Do I need to import javlang package any time? Why ?

1080


Explain what is orm?

1093


What are the services in RMI ?

2343


Java is fully object oriented languages or not?

987


What are the different methods of identifying an object?

1063


what is Activation Instantinator?

2438


What is ripple effect?

1067


What is the difference between long.class and long.type?

1092


Can I use javascript to submit a form?

1139


Why do threads block on i/o?

1245


What is synchronization and why is it important?

1106


Where can I ask questions and make suggestions about seam?

1055


What value does read() return when it has reached the end of a file?

1024


Explain how will the struts know which action class to call when you submit a form?

956


Define aop(assepct oriented programing)?

1161