作者LonoHead (大头)
看板Grad-ProbAsk
标题[理工] [资结]-清大98-资工所
时间Tue Jan 19 01:18:18 2010
大家好~
考古题中一题
Java is a programming language derived much of its syntax from C and C++.
Different from C and C++, Java does not support pointer arithmetic.
a) (7%) Please explain the reasons behind such design.
(Hint: You might need to use "Stacks" in your answer.)
b) (3%) Without pointer arithmetic ability, can you still implement
linked lists in Java?
a) 除了想到安全性的理由外还没有想其他解释
跟 Hint 提到的 Stacks 有甚麽关系阿? <~ 问题 orz
b) Java 有提供 reference 来实作 linked lists.
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 220.134.129.184