How can I call multiple constructors using inheritance in java?

后端 未结 0 1095
甜味超标
甜味超标 2021-01-14 04:14

I\'m trying to code constructor Square with one parameter, s (side). This inputted side should set the length and width of a square to its value. Rectangle is a superclass o

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