answersLogoWhite

0

If by interface you mean, a mechanism to achieve abstraction and create a blueprint for future implementation. Java/C#/C++ all allow for multiple interfaces(abstract classes in C++) to be implemented.

User Avatar

Wiki User

7y ago

What else can I help you with?

Continue Learning about Engineering

What is an abstract interface?

An abstract interface is an interface which has a one-to-many relation - providing multiple paths from a single location to multiple locations.


How can you write multiple inheritance program in java?

Java does not support direct multiple inheritance. You can implement partial multiple inheritance using interfaces. ex: public class ExMultInherit implements interface1, interface2, interface 3 { ... .... ...... }


Can we implement multiple inheritance in java using package and interface?

Yes. Java does not support full fledged/proper multiple inheritance. But, whatever partial inheritance that Java supports can be implemented using interfaces Actually, java does not support multiple inheritance. You can achieve partial multiple inheritance using interfaces but java is not like C or C++ where you can do direct multiple inheritance. However, you can achieve partial multiple inheritance with the help of interfaces. Ex: public class FerrariF12011 extends Ferrari implements Car, Automobile {…} And this is under the assumption that Car and Automobile are interfaces. Here if you see, though you don't inherit concrete code from the Car or the Automobile interface, you do inherit skeleton methods that determine the way your class eventually behaves and hence this can be considered partial Multiple Inheritance.


What does java not support?

Java does not support multiple inheritance.......


How do you achieve multiple inheritance?

Any class can extend one class and/or implement multiple interfaces. For example: public class TestClass extends SuperTestClass implements InterfaceA, InterfaceB { // implementations of interface methods in here }

Related Questions

Which two technologies support multiple video cards?

Scalable Link Interface (SLI) - by Nvidia Crossfire - By ATI


What is an abstract interface?

An abstract interface is an interface which has a one-to-many relation - providing multiple paths from a single location to multiple locations.


How can we design a PDA that can accept multiple languages?

To design a PDA that can accept multiple languages, you can incorporate a language selection feature in the settings menu. This feature would allow users to choose their preferred language for the interface and input. Additionally, you can include a language database that supports various languages for text input and display. This way, users can easily switch between languages based on their preferences.


Which interface is capable of sending multiple bits simultaneously?

A parallel interface is capable of sending multiple bits simultaneously.


How many peripherals support usb 2.0 interface?

How many Peripherals support usb interface?


What is an Interface of .Net can you please give an example?

An interface is not a class. It is an entity that is defined by the word Interface. An interface has no implementation; it only has the signature, just the definition of the methods without the declaration(body). As one of the similarities to Abstract class, it is a contract that is used to define hierarchies for all subclasses or it defines specific set of methods and their arguments. Since C# doesn't support multiple inheritance, interfaces are used to implement multiple inheritance.


Why are you polish?

I am programmed and trained to provide assistance and information in multiple languages, including Polish, to better support users who prefer that language.


What does the term MUI stand for?

The acronym MUI stands for Multilingual User Interface. It was first introduced with the release of Windows 2000, and has been included in the operating system up to and including Microsoft 8. MUI allows one to install multiple interface languages on a single system.


Can interface extends another interface?

yes of cause interface is use in java at the place of multiple inheritance .o as like multiple inheritance u can extends interface class to other. and another think is interface contain abstract method i.e method with no defination so u can use it without any error.


What are some effective strategies for parents to support the development of their child's language skills in multiple child languages?

Some effective strategies for parents to support the development of their child's language skills in multiple languages include exposing the child to both languages consistently, using each language in different contexts, encouraging language practice through reading, storytelling, and conversation, and seeking out opportunities for the child to interact with native speakers of each language. Additionally, creating a supportive and positive language learning environment at home can help foster the child's language development in multiple languages.


How many languages can the keyboard accommodate?

The keyboard can accommodate multiple languages.


What is full form mdi?

Multiple Document Interface.....................by shiv