Virtual method vs Interface

  • Thread starter Thread starter Jeff0803
  • Start date Start date
J

Jeff0803

Guest
I made a form(base class) which perform data input.

Two new class will be inherited from this base class.

The SaveData() method will be implemented from inherited class.

However I can't decide whether I have base class's SaveData as virtual method or inherit from interface.

I can implement with those two ways but want to know any rule which can decide between virtual or interface.

Continue reading...
 
Back
Top