News

string title; // Title of A Video. float rating; // Rating for a video. // Creating a constructor for this Derived class, refer to lec 46. // Constructor constructs the objects of the class.
/* In the previous lecture , we saw an Example where we made a pointer of type BaseClass which pointed to the derived class. When we ran the display() function using this pointer, the display function ...