2082 1

Object Oriented Programming208210 marksConstructor overloading

Write a program to create a class Student with data members id, name, and marks. Define constructors to initialize data members and demonstrate constructor overloading. Implement member functions to read students details, display them and calculate average marks.

Write a program to create a class Student with data members id, name, and marks. Define constructors to initialize data members and demonstrate constructor overloading. Implement member functions to read students details, display them and calculate average marks.[10]

Constructor overloading means defining multiple constructors in the same class with different parameter lists. The compiler selects the appropriate constructor based on the arguments passed during object creation. --- --- --- Constructor Parameters Purpose --------- Student() None Default values ...

Up nextExplain inheritance with suitable example.Differentiate between single, multiple, and hybr