How implement an abstract class?
- From: Antonio Santiago <antonio leaderbrokers com>
- To: gtk-app-devel-list gnome org
- Subject: How implement an abstract class?
- Date: 14 Aug 2003 14:33:07 +0200
Hello,
I want to implement an abstract class with their own attributs that inherit all her subclasses, and her own methods, some implemented and somo not).
Vehicle <----- Car
If I create a class Vehicle and a class Car, there is nothing to avoid someone create a simple Vehicle's object, and then I would have an instance of an abstract class.
Some ideas.
Thanks.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]