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

Types of Computer Hardware | Softlogic Systems Chennai

As computers have become a basic gadget for both personal and official purposes, there is a little need to learn about the basic things about the computers. This blog talks about the basic hardware products used in a computer. ñ   Hard Disk Drive (HDD) - Hard disk is known as the permanent storage device which is capable of storing information and applications in a computer. ñ   Motherboard - It is one of the essential hardware required for a computer to operate. It is the house for computer microprocessor. ñ   Random Access Memory (RAM) Device - It is a main memory and this memory is used for processing the applications in a computer. Unlike hard disk, it cannot store any data and applications permanently. ñ   Read Only Memory (ROM) Device - ROM will also act as a memory storage device. These memory devices can read data but cannot write the data. Common ROM drives are CD-ROM (Compact Disk Reader), DVD-ROM (Drive for reading DVD discs) etc. ñ ...

Software/ Hardware/ Networking Courses | Softlogic Systems Chennai

  Avail effective training on software, hardware and networking skills with IT certificate / career courses from Softlogic Systems in Chennai. Softlogic Systems would be the ultimate destination for IT placement training because of its world class training and effective placement services. Training is focused on effectively employing a candidate in appropriate career profile of the trainee. Courses are designed with the help of international experts and globally certified trainers are engaged in offering training. Offering Best Certificate Courses in Chennai     With strong belief on its potential of providing effective training, Softlogic never bribes the clients for recruiting trainees. The students are trained completely with all the excellent skills required to qualify in their career. Softlogic follows a rich standards and procedures in placement procedures to ensure the placement of trainees at the completion of course. Softlogic Systems has ...

Softlogic Systems - Comptia A+ PC Hardware Engineering Training Certification Course/Program in Chennai

Softlogic Systems offers the best Comptia A+ PC Hardware Engineering training in Chennai which is completely Job oriented and enables the person an Industry Ready Infrastructure Management Professional. The syllabus is approved by top IT companies and it is periodically updated. Softlogic provides Comptia A+ PC Hardware training with a complete package of aptitude training, soft skills training, interview skills training, attitudinal training, placement grooming and real time Internship only with the intention of getting the students placed on successful completion of the course. In this regard, our Placement Cell gives opportunity to every fellow student in terms of on campus drives and off campus drives in relevant software field thereby helping students to get a Career out of this Training. Softlogic commits to walk with you until your GOAL is reached Softlogic, India’s First Employment Training Company, providing employment oriented training programs to job seekers and final...