作者et220870 (維尼)
看板b95902HW
標題[考試] OOP考古題..
時間Sat Apr 14 19:31:26 2007
3. From the memory point of view, an object of class T can be treated as the
set of instance variables declared in class T and superclasses of T. For
almost all Java virtual machines, instance variables declared in superclasses
of T are allocated in front of instance variables declared in class T itself.
Please explain the benefits of such a design.
這是去年的考古題之ㄧ...
可是我看不大懂他再問什麼ㄟ...@.@...
有人可以解釋一下嗎?^^"
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.112.240.162