Python Forum
Is inheritnace the only option
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Is inheritnace the only option
#6
Quote:I wanted it to be an abstract class, because international Students will need documents(passports, drivers license, etc), Domestic students don't require any.
So dont use the international_documents method on the Students/International class. Just because its there doesnt mean you need to use it.
Recommended Tutorials:
Reply


Messages In This Thread
Is inheritnace the only option - by QueenSvetlana - Oct-29-2017, 10:43 PM
RE: Is inheritnace the only option - by metulburr - Oct-29-2017, 11:50 PM
RE: Is inheritnace the only option - by snippsat - Oct-30-2017, 05:51 PM
RE: Is inheritnace the only option - by metulburr - Oct-30-2017, 10:49 PM
RE: Is inheritnace the only option - by metulburr - Oct-31-2017, 01:41 AM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020