Re: Virtual Classes

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Scott Allen (bitmask_at_[nospam)
Date: 08/10/04


Date: Tue, 10 Aug 2004 13:50:17 -0400

It doesn't *have* to be an abstract class just because it has a
virtual method.

--
Scott
http://www.OdeToCode.com
On Tue, 10 Aug 2004 17:22:25 +0200, "cody"
<no_spam_deutronium@gmx.net> wrote:
>A class must be declared abstract if it contains at least one virtual
>method.
>Do not confuse one with each other.


Relevant Pages

  • Re: serialization of an abstract class
    ... You can have virtual methods with empty bodies, and the serialization can call the virtual ... The most common virtual method you would use is CObject::Serialize. ... I have another class derived from the abstract class and i want to serialize ...
    (microsoft.public.vc.mfc)
  • Abstract class question
    ... An abstract class is a class where you can't make an instance from, ... every method needs to be declared abstract? ... method be declared static (in java). ... singelton: a class where you can hold maximum 1 instance but when you make ...
    (comp.object)