Elective Object Oriented Programming in C++

Object Oriented Programming in C++PU Spring 2023

a) What are the advantages of class over structure? Briefly explain the components of a class with program structure in C++. b) Define constructor with its characteristics. WAP to find area of…

15
  • a) What are the advantages of class over structure? Briefly explain the components of a class with program structure in C++.
  • b) Define constructor with its characteristics. WAP to find area of circle and rectangle using the concept of constructor overloading.
A worked answer is on its wayMeanwhile, read the Object Oriented Programming in C++ notes for this topic.

Discussion

Loading…

More Object Oriented Programming in C++ questions

All Object Oriented Programming in C++ old questions