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

how an we achive multiple inhetitance in java using
interface..??

Answer Posted / sindhu

In Java Multiple Inheritance can be achieved through use of Interfaces by implementing more than one interfaces in a class.

Is This Answer Correct ?    19 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Difference between predicate, supplier and consumer ?

1038


Difference between this() and super() in java ?

1053


What is java string pool?

985


When will you define a method as static?

1075


What are the rules for variable declaration?

950


What is bufferedreader in java?

1032


Why do we need data serialization?

966


When wait(), notify(), notifyall() methods are called does it releases the lock or holds the acquired lock?

990


What is the largest long allowed by java?

1040


Where can i get Latest SUN Certification Dumps and what are the Sun Certification Codes that are available, Im new to JAVA, so please gimme info as i need to write J2EE - Core Java Certification

1841


What is the purpose of encapsulation?

997


Draw a UML class diagram for the code fragment given below: public class StringApplet extends Applet { private Label sampleString; private Button showTheString; private ButtonHandler bHandler; private FlowLayout layout; public StringApplet() { sampleString = new Label(" "); showTheString = new Button (" Show the String"); bHandler = new ButtonHandler(); layout = new FlowLayout(); showTheString.addActionListener(bHandler); setLayout(layout); add(sampleString); add(showTheString); } class ButtonHandler implements ActionListener { public void actionPerformed(ActionEvent e) { samplestring.setText("Good Morning"); } } } Note: The methods need not be indicated on the diagram.

2033


Should a main method be compulsorily declared in all java classes?

1039


What is the purpose of the enableevents() method in java programming?

1156


Why string is a class?

920