How to implement this method chaining

前端 未结 0 1355
广开言路
广开言路 2021-01-19 16:05

In one of the interview, they asked me to write code for

car1 = Car.make("Honda").model("Civic").year("2009")
car2 = Car.make(&q         


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