Python Forum
Is inheritnace the only option
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Is inheritnace the only option
#5
(Oct-30-2017, 05:51 PM)snippsat Wrote: As you see there is no problem to access data attribute directly,no need for getters/setters.
So can have in information doc that International need to apply doc.
Can also make a check that International most apply doc.

Thanks for the help Smile

I wanted it to be an abstract class, because international Students will need documents(passports, drivers license, etc), Domestic students don't require any.

Did I implement the abstract class correctly?
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 QueenSvetlana - Oct-30-2017, 08:00 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