Why is .toString() method not working? (java)

前端 未结 0 809
野趣味
野趣味 2021-01-28 12:25

I have a task to create a toString method that returns the value of name along with the value if id as a single String value

public String getNameAndId(){

return         


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