※ 引述《LPH66 (涼宮春日症候群)》之銘言:
: ※ 引述《JohnBintan (Begins)》之銘言:
: : 2. Strings are just an informal name for single-dimention arrays of characters
: : in C and Java.
: for C, yes
: for Java(and C++), 看實作 因為那是一個class, 是包起來的
也許是對題目的解讀不同,
個人認為 Java 中的字串再怎麼包也不會只是單純的 char array,
它至少還要有其他的 behavior 啊!?
而且題目有強調 "just an informal name."
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 218.175.161.99