CS61B Learning Notes
蹦蹦恰Amy
这个作者很懒,什么都没留下…
展开
-
Spring18-CS61B学习笔记-week5
CLASS NOTE - WEEK 4 - Inheritance, Implements 01 Intro and interfacesmethod overwriting :two of the same methods for different types.e.g:public static String longest(SLList<String> list)public static String longest(AList<String> list)原创 2020-11-09 16:41:19 · 723 阅读 · 0 评论 -
Spring18-CS61B学习笔记-week4
CLASS NOTE - WEEK 4 - Inheritance, Implements 01 Intro and interfacesmethod overwriting :two of the same methods for different types.e.g:public static String longest(SLList<String> list)public static String longest(AList<String> list)原创 2020-10-16 17:39:33 · 392 阅读 · 0 评论 -
小数在计算机中的储存形式
小数在计算机中的储存形式符号位阶码尾数长度float182332double11152641)32位浮点数的换算:float var = 5.2f;0.2*2 = 0.4 * 20 = 0.8 * 2 0= 1.6(0.6) * 2 1= 1.2(0.2)*2 1= 0.4 * 2 0= 0.8 * 2 0= 1.6(0.6) * 2 1= 1.2 1… … -->00110011…因此,这里把0.2的二进制就计算出来了,结果就为:0.原创 2020-09-25 11:00:02 · 361 阅读 · 0 评论 -
2019Spring-CS61B学习笔记-1&2&3
01The continue statement skips the current iteration of the loop, effectively jumping straight to the increment condition.By contrast, the break keyword completely terminates the innermost loop when it is called.for(String s: a){}原创 2020-09-16 14:38:24 · 274 阅读 · 0 评论