[問題] 比較C語言與Java

看板java作者 (Begins)時間17年前 (2006/11/15 23:54), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/4 (看更多)
不知道po在這裡合不合適... 小弟其實只懂得C語言 以下四句話, 我不知道哪些是對的哪些是錯的... 可以請眾版友位我解答嗎? 謝謝 1. C passes parameters in registers while Java passes them on the stack. 2. Strings are just an informal name for single-dimention arrays of characters in C and Java. 3. Strings in C and Java use null(0) to mark the end of a string. 4. Operations on strings, like length, are faster in C than in Java. -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.113.141.178
文章代碼(AID): #15MpWVhx (java)
文章代碼(AID): #15MpWVhx (java)