abstract vs pure abstract class

This is a discussion on abstract vs pure abstract class within the C++ Programming forums, part of the General Programming Boards category; whats the main difference b/w abstract class and pure abstract class?...

  1. #1
    Registered User
    Join Date
    Jan 2002
    Posts
    39

    Question abstract vs pure abstract class

    whats the main difference b/w abstract class and pure abstract class?

  2. #2
    Registered User
    Join Date
    May 2002
    Posts
    16
    There are pure abstract methods, but there are no pure abstract classes.

  3. #3
    www.entropysink.com
    Join Date
    Feb 2002
    Posts
    605
    abstract class

    A class whose role is to define a common interface for its subclasses, and which may not itself be instantiated. An abstract class may defer the implementation of some of its operations to its subclasses.

    pure abstract class

    An abstract class supplying no state or operation implementations. A pure abstract class solely defines an interface.
    Visit entropysink.com - It's what your PC is made for!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Getting an error with OpenGL: collect2: ld returned 1 exit status
    By Lorgon Jortle in forum C++ Programming
    Replies: 6
    Last Post: 05-08-2009, 08:18 PM
  2. Inherite nonvirtual class functionality
    By DrSnuggles in forum C++ Programming
    Replies: 2
    Last Post: 04-30-2009, 01:52 PM
  3. matrix class
    By shuo in forum C++ Programming
    Replies: 2
    Last Post: 07-13-2007, 01:03 AM
  4. difference between pure virtual class and interface
    By kmirza in forum C++ Programming
    Replies: 4
    Last Post: 05-19-2003, 05:03 AM
  5. structure vs class
    By sana in forum C++ Programming
    Replies: 13
    Last Post: 12-02-2002, 06:18 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21