Skip to main content

Inheritance in OOPS

Inheritance – what does the word mean to you? Are you thinking of inheriting property or about the book “Inheritance of Loss.” ? Well, though both the inheritances exist, we will discuss about Inheritance as an Object Oriented Programming (OOPS ) concept.

A Class is the basic unit of OOPS. A class will have member data. Member data describes the characteristics of the class. The original class is called base class. The inherited class is known as derived class.

Imagine that 'Bird' is a base class. Then peacock, hen, and sparrow inherit attributes from the base class of birds. Here peacock and sparrow are derived classes. A derived class will have all the attributes of a base class, and few new attributes also. For example, peacock has a new attribute of dancing. Koel has a new attribute of singing.

Inheritance is similar to a child inheriting qualities from both dad and mom. You call it multiple inheritance – when you inherit from more than one base class ( mom and dad).

The code or syntax for inheritance may vary across C++, C#, and Java. But, the concept of inheritance remains the same across all languages.

Do you want to learn OOPS concepts applied in .NET? Learn .NET from Softlogic Systems IT Training company in Chennai. They have trained a lot of freshers in .NET and have placed them. For more details visit Softlogic Systems Chennai or dial +91 8681884318.

Popular posts from this blog

Free e-book for CCNA

Books are one of the easy ways to learn about a subject. The starting point of many teaching, training, and learning is a book. Now, bookboon.com is offering a free e-book for CCNA. The book is titled “CCNA in 21 hours” 640-802 syllabus. To download the book click here . Apart from books, the best way of learning is attending an Instructor-led training session and then attending a hands-on lab. Do you want best training for CCNA? Softlogic Systems IT training company offers the best training for networking including CCNA. So, enroll yourself in the CCNA networking program at Softlogic Systems Chennai. Softlogic has an in-house Pearson Vue testing centre where students can take the exams. For more details visit Softlogic Systems Chennai  or dial +91 8681884318

Significance of Computer Hardware | Softlogic Systems

This blog talks about the importance of the hardware and devices in the computer system. As computer's has become the symbol of performance, the experts in computer software and hardware is always in demand. What is Computer Hardware? Computer hardware items are the physical devices that mostly consists of circuits, processors and memory chips. Since the computer software is virtual and is not visible to the user, the computer hardware makes up the physical appearance of the computer. Significance ñ   RAM chips in the computer system is responsible for the speed of process execution in the computer ñ   The capacity of data and information to be stored on the computer system depends on the size of the memory chips (Hard disk) in the computer system. ñ   Software uses hardware for storing and processing the information and instructions. Softlogic Placement Softlogic in Chennai is a pioneer in providing world class trainin...

IT Training in Chennai | Softlogic Systems

With immense years of experience in IT employment training and providing international software solutions in India, SLA Jobs offers complete power packed IT training courses in Chennai. Courses are available on top grossing jobs which have excellent scope and opportunities. Why Internship? Each course is equipped with internship training on live and exclusive project at the successful completion of the course. This training subjects the students to undergo working experience and behavioral attitude in the corporate world. SLA IT Group of companies are providing world class software solutions to various national and international clients. Students who are pursuing software training courses can work with live and real time projects of their respective domains. Hardware and networking course students can be interns of SLA IT Group of companies. During the internship, students are precisely guided and taught by the experienced professionals molding them to perfection. ...