Return attribute on referencing the instance

后端 未结 0 1982
囚心锁ツ
囚心锁ツ 2020-12-28 19:49

What I want to have is return a specific attribute whenever I simply call/reference an instance of a class

This is the Number class



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