Thread: Abstract Class
View Single Post
  #4 (permalink)  
Old 01-31-2008, 01:45 PM
jelly's Avatar
jelly jelly is offline
Member
 
Join Date: Jan 2008
Location: Somerset, UK
Posts: 46
jelly is on a distinguished road
I am afraid I would disagree. Even if there are no abstract methods there may be a point in declaring it abstract. As Tim says the point of abstract is that the class cannot ( in the case of abstract methods) or should not be instantiated directly. I may choose to have a super class that has only concrete methods that will be inherited by, and used by, sub classes but I do not wish to allow the superclass to be instantiated directly, i.e. it is an architectural decision.
__________________
-- Hope that helps
Reply With Quote