Abstract DataType Slide 2 Summary A class can be used not only to combine data but also to combine data and functions into a single (compound) object. A member variable…