0
Can u plz explain me the concept of overiding and virtual functions?
5 Answers
+ 4
overriding is defining a function in a base class then another function with the same name and parameters in a separate class derriving from the base
virtual functions call the function from it's child class(the one that derives from it), if this does not exist, it will call the base class function
pure virtual functions require any class deriving from it to have that function, if not you get an error and because of this, you don't need to actually put any logic in your function of the base class
+ 3
ahh, my bad. I just updated
+ 1
thanks Michelle
0
@Jordan Chapman that is the overloading concept!