How to call toString() method to another class

后端 未结 0 1153
野性不改
野性不改 2021-02-12 12:34

Here is my toString() method in my Registration class:

public String toString()
    {
        String message = student.getName() + "is registered in" +
         


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