Posts tagged "Core Java "

Tag Archives: Core Java

Multiple Inheritance in Java

Today You will learn, Why Multiple Inheritance is not allowed in Java. In Java, Deadly Diamond of Death is a condition of ambiguity which arises due to Multiple Inheritance. The phrase comes from the shape of the class diagram. Java does not support Multiple Inheritance. Multiple Inheritance is supported by C++ because C++ use pointers … Continue reading Multiple Inheritance in Java

Constructor in Java

Constructor in Java is used to initialize the Object of the class. In this tutorial, you will learn about the importance and uses of Java Constructor. Java Constructor is used to initializing the objects. Constructor declaration looks like method declaration. It must have the same name as that of the class and have no return … Continue reading Constructor in Java