how do I get the “age” variable to call from a previous constructor?

后端 未结 0 1119
夕颜
夕颜 2021-02-07 23:14

I\'m trying to make a method that will compute the user\'s fee based on their age and I\'ve created an if-else statement that uses the age variable from a previous constructor,

相关标签:
回答
  • 消灭零回复
提交回复
热议问题