cse142

object - toString自动调用?when print

2018-03-08  本文已影响0人  Juncaceae

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"

上一篇 下一篇

猜你喜欢

热点阅读