View Single Post
  #2 (permalink)  
Old 08-07-2007, 07:25 AM
trill trill is offline
Member
 
Join Date: Jul 2007
Posts: 40
trill is on a distinguished road
The reason it asks for a return type is because you can't have an empty method with a return type of int.

Code:
int GetSpecs() {}
You could only do this if the class was abstract (if I remember right). but if it was abstract then you would want to implement it in the child classes.

Greetings.
Reply With Quote