作者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