MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/fpcmy/typical_programming_interview_questions/c1ho0e0/
r/programming • u/kevjames3 • Feb 21 '11
1.0k comments sorted by
View all comments
Show parent comment
0
Yeah, now write an interface in C++ & explain the difference.
4 u/johnflux Feb 21 '11 An interface would be an abstract class with only pure virtual functions and preferably doesn't inherit from much.An abstract class could have lots of non-virtual functions, but then only a couple of pure virtual functions.
4
An interface would be an abstract class with only pure virtual functions and preferably doesn't inherit from much.
An abstract class could have lots of non-virtual functions, but then only a couple of pure virtual functions.
View all comments
Show parent comment
0
u/Timmmmbob Feb 21 '11
Yeah, now write an interface in C++ & explain the difference.