Hi,
As per 1800 LRM (section 7.19, page 93), an abstract class can not be
instantiated.
An abstract class cannot be instantiated; it can only be derived.
But later, in section 7.20, it is mentioned:
Even though BasePacket is abstract, it can still be used to declare
a variable:
BasePacket packets[100];
What is the difference between an instance of a class and a
variable declaration of class?
--
Regards
Surya
--
This message has been scanned for viruses and
dangerous content by
MailScanner, and is
believed to be clean.
Received on Tue Jul 17 04:47:06 2007