Browse by Domains

Object oriented programming

Polymorphism in Java

Polymorphism in Java with Examples

What is Polymorphism in Java? Polymorphism in Java is the task that performs a single action in different ways. So, languages that do not support polymorphism are not ‘Object-Oriented Languages’, but ‘Object-Based Languages’. Ada, for instance, is one such language. Since Java supports polymorphism, it is an Object-Oriented Language. Polymorphism occurs when there is inheritance, i.e., many […]

Polymorphism in Java with Examples Read More »

Inheritance in Java

Inheritance in Java with Examples – 2024

What is Inheritance in Java? Inheritance in Java is a concept that acquires the properties from one class to other classes; for example, the relationship between father and son. Inheritance in Java is a process of acquiring all the behaviours of a parent object. The concept of inheritance in Java is that new classes can be

Inheritance in Java with Examples – 2024 Read More »

OOPs Interview Questions and Answers 2022

Top 70 OOPs Interview Questions and Answers 2024

An object-oriented programming system, or OOPs is a computer programming model that designs or arranges software for data, or objects, rather than functions and logic. Oops, have been an important concept in the realm of programming. If you have an interview lined up that requires core knowledge of OOPs, then you are at the right place.

Top 70 OOPs Interview Questions and Answers 2024 Read More »

Learn about Polymorphism in C++

Polymorphism In C++ and Types of Polymorphism

When the same entity (function or object) behaves differently in different scenarios, it is known as Polymorphism in C++. The topics Covered Under Polymorphism in C++ are: What is Polymorphism in C++? Polymorphism in C++ means, the same entity (function or object) behaves differently in different scenarios. Consider this example: The “ +” operator in c++ can

Polymorphism In C++ and Types of Polymorphism Read More »

Scroll to Top