After reading up on them in terms of class hierarchy, they seem to just be almost like comments, to remind you that all classes use this sort of function
Jump to Post
When you mark a method of your class as virtual you give the user of your class the possibility to override that method. If you don't, the metod can't be overridden.
That statement is inaccurate on so many levels that I'm speechless. Non-virtual functions can also be overridden, but the …
All 4 Replies
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.