So, I have various sub classes of Store
. and they all have rent
. problem is one specific subclass has the same rent
for all instances of the class whilst the other ones can be whatever. That meaning that the class in question, Quiosque
has a static rent. is there a way to to make this precise atribute static
wihle still inhereting Store
?
this is the class diagram. rendaFixa is what i called rent
and renda is just there because i'm still thinking as to what to do about this class. i konw this is confusing, sorry
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.