[sv-bc] Can abstract class be instantiated?

From: Surya Pratik Saha <spsaha_at_.....>
Date: Tue Jul 17 2007 - 04:46:27 PDT
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

This archive was generated by hypermail 2.1.8 : Tue Jul 17 2007 - 04:47:34 PDT