随笔:86 文章:3 评论:38 阅读: 72854

03 2019 档案

 
Some notes in Stanford CS106A(4)
摘要:1.x++ is a method , the return value is x. (post increment) ++x is also a method , the return value is x+1. (pre increment) 2.muti-dim Array int[][] m 阅读全文
posted @ 2019-03-11 15:42 leaves0529 阅读(100) 评论(0) 推荐(0) 编辑
Some notes in Stanford CS106A(3)
摘要:1.If ( str1==str2 ) means if str1 and str2 are refers to the same OBJECT. But when compare string , they are not the same actual object. So we usually 阅读全文
posted @ 2019-03-10 18:11 leaves0529 阅读(87) 评论(0) 推荐(0) 编辑
Some notes in Stanford CS106A(2)
摘要:1.Local variable(local) ex. int i = 0; factorial(i); the "i" outside the method factorial(i) is called local variable ; and the "i" in method factoria 阅读全文
posted @ 2019-03-08 15:30 leaves0529 阅读(82) 评论(0) 推荐(0) 编辑
Some notes in Stanford CS106A(1)
摘要:Karel world 1.During make a divider operation --int x=5; double y = x/2 => y=2 we need sth as a double for the purpose of this operation treat it as t 阅读全文
posted @ 2019-03-07 18:12 leaves0529 阅读(92) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示