美文网首页cse142
object - toString自动调用?when print

object - toString自动调用?when print

作者: Juncaceae | 来源:发表于2018-03-08 12:16 被阅读0次

    review for final of CSE142 

    first question: ReferenceMystery

    注释掉toString method之后打印出(在memory里地址?)

    why is this so --> ? 

    same issue

    it seems like the first statement inside the for loop automatically call toString method and return "c"

    相关文章

      网友评论

        本文标题:object - toString自动调用?when print

        本文链接:https://www.haomeiwen.com/subject/eczcittx.html