看板 Grad-ProbAsk 關於我們 聯絡資訊
大家好~ 考古題中一題 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