when you program a class A and then make a class B that extends class A, then why wouldn’t you want all the functions in class A to be virtual?
when you program a class A and then make a class B that extends class A, then why wouldn’t you want all the functions in class A to be virtual?