answersLogoWhite

0


Best Answer

Cyclic inheritance is physically impossible. A base class cannot inherit from one of its own derivatives any more than you could inherit some generic trait from one of your own descendants. Inheritance is strictly a one-way street.

User Avatar

Wiki User

8y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Why is cyclic inheritance not in any programming language?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What are the concepts of object oriented programming in c plus plus?

The concepts of OOP in C++ are the same as for OOP in any other programming language: abstraction, encapsulation, inheritance and polymorphism.


What is the importance of inheritance in java programming?

Inheritance is one of the most important features of any object oriented programming language such as Java. This is because it makes easier to build new classes from existing classes without necessarily having to rewrite the same lines of code.


What do you mean by string in java programming?

A "string" in any programming language is a line of text.


What programming language can be used for water billing system?

Any programming language can be used. Some are more suitable than others.


A programming language that encourages structured programming?

C++ (or any other C language) encourages structured programming. I'm not sure if you are asking for an 'object oriented language' rather than structured. If that's the case, any C language or Java would fit the description perfectly.


What are the Examples of portable programming language?

Many programming languages allow programs to be portable from one kind of computer to another, including* the C programming language* Pascal* Forth* C++* Java* Pythonand many others. Yes, the C programming language was designed to encourage machine-independent programming.The C programming language is portable to more CPUs than any other programming language.


Define pseudo language?

A pseudo language is a non-specific, conceptual programming language that uses commonly understood programming constructs that can be easily translated into any specific programming language. Pseudo language is typically used to conceptualize algorithms in a commonly understood language without being overly specific or verbose to any one language. This makes the algorithm more accessible to more programmers, regardless of their preferred language.


Which programming language uses a string of 1s and 0s?

You, as a programmer, can use a string with 1s and and 0s (or any other content) in each and every programming language.


Why c language cannot be developed in any other programming language?

Your question makes no sense. If you wanted to ask if it is possible to write a C-compiler in another programming language, the answer would be yes.


Is there any prerequisite for learning basic java language?

Not really. It can well be learned as a first programming language.


What is simple inheritance?

In object-oriented programming (OOP), inheritance is a way to reuse code of existing objects, or to establish a subtype from an existing object, or both, depending upon programming language support.In classical inheritance where objects are defined by classes, classes can inherit attributes and behavior from pre-existing classes called base classes, superclasses, parent classes or ancestor classes. The resulting classes are known as derived classes, subclasses or child classes.The relationships of classes through inheritance gives rise to a hierarchy. In prototype-based programming, objects can be defined directly from other objects without the need to define any classes, in which case this feature is called differential inheritance.The inheritance concept was invented in 1968 for Simula.


What is a computer program written in English language called?

Pseudocode. However, pseudocode is not a programming language as such. It is a language that a programmer uses specifically to convey the concept of a specific algorithm to other programmers. The language is such that any programmer can easily translate the algorithm into their preferred language. Furthermore, pseudocode does not have to be written in English, it can be written in any language. However, English is the most widely-spoken language within the programming community and is therefore the most prevalent language used in programming.