Containership in C++(Urdu/Hindi)

Поделиться
HTML-код
  • Опубликовано: 6 сен 2024
  • In this video, we will learn about containership in C++.
    A technique in which a class contains an object of another class as its member is called containership. This type of relationship between classes is also called has-a relationship. It means that one class has an object of another class as its member.
    Write a class Result that has an array of three integers as attribute. It has a member function to input and a member function to display average of array elements. Create another class Student that inherits Result class. It has additional attributes of roll number, name and an object of type Result. It also has member functions to input and display its data members.
    Step by step explanation.
    Easy to follow and understand.
    www.itseriestu...
    / itseriestutor
    #itseries#CPP#OOP

Комментарии • 10

  • @najamawan6527
    @najamawan6527 3 месяца назад

    Amazing, Perfect coding example to understand Composition/containership. Thank you

  • @tanveerbibi6474
    @tanveerbibi6474 7 месяцев назад

    Wonderful video hai ❤❤

  • @nazamazam4691
    @nazamazam4691 Год назад +1

    Good

  • @abdulrehman9441
    @abdulrehman9441 Год назад

    JazakAllah o khair kaseer ameen

  • @user-qm5xd1kp7g
    @user-qm5xd1kp7g 9 месяцев назад

    Sir can you solve programming exercises of chapter 15 of c++

  • @saadatif45
    @saadatif45 2 года назад

    Sir private kuo use Kiya Yaha line number 11 ma protected be kr skta ha ka nhi

  • @tw201
    @tw201 2 года назад

    10th class urdu medium wala new syyabus آئینہ kb ayga????

  • @nazami221
    @nazami221 4 месяца назад

    Mjhe koi mshwra de mn 10 k bad mn study continue rkhu ya chorhduu

  • @pakistani9975
    @pakistani9975 2 года назад

    best work. sir apka name kia hay? kia ap nay hi wo book likhi hay C++ 2nd edition?

  • @mahmoodafzal954
    @mahmoodafzal954 Год назад

    Nice