代码改变世界

随笔档案-2018年12月

[Java in NetBeans] Lesson 14. ArrayList and Collections

2018-12-20 04:54 by Johnson_强生仔仔, 225 阅读, 收藏, 编辑
摘要: 这个课程的参考视频和图片来自youtube。 主要学到的知识点有: 1. Collection: container that contians objects. 2. Difference between Collection and Array note: int => Integer doub 阅读全文

[Java in NetBeans] Lesson 13. Multidimensional Arrays

2018-12-20 03:10 by Johnson_强生仔仔, 281 阅读, 收藏, 编辑
摘要: 这个课程的参考视频和图片来自youtube。 主要学到的知识点有: 1. Multidimensional Array: Array that has more than one dimension. Create a array with two dimensions. 阅读全文

[Java in NetBeans] Lesson 12. Arrays

2018-12-20 02:58 by Johnson_强生仔仔, 201 阅读, 收藏, 编辑
摘要: 这个课程的参考视频和图片来自youtube。 主要学到的知识点有: 1. Array: container that holds a fixed number of values of the same type, can be access by index. Create a string ar 阅读全文

[Java in NetBeans] Lesson 11. While Loops

2018-12-20 02:30 by Johnson_强生仔仔, 186 阅读, 收藏, 编辑
摘要: 这个课程的参考视频和图片来自youtube。 主要学到的知识点有:(the same use in C/C++) 1. while loop while(i < max){} will keep executing if i < max is true, otherwise will jump ou 阅读全文

[Java in NetBeans] Lesson 10. For Loops

2018-12-20 02:09 by Johnson_强生仔仔, 246 阅读, 收藏, 编辑
摘要: 这个课程的参考视频和图片来自youtube。 主要学到的知识点有:(the same use in C/C++) 1. x++, x += 1; similar x--, x -= 1; x *= 2; x /= 2. x++ : Plus 1 after the line is executed. 阅读全文

[Java in NetBeans] Lesson 09. Switch / If-Else Ladder

2018-12-14 05:44 by Johnson_强生仔仔, 256 阅读, 收藏, 编辑
摘要: 这个课程的参考视频和图片来自youtube。 主要学到的知识点有: 1. Nested If-else statement (if-else ladder) 2. Switch 3. Enumerations An enumeration custom data type that enables 阅读全文

[Java in NetBeans] Lesson 08. If: conditional statement

2018-12-14 05:20 by Johnson_强生仔仔, 186 阅读, 收藏, 编辑
摘要: 这个课程的参考视频和图片来自youtube。 主要学到的知识点有: 1. If-else statement 2. Logical operators AND && OR || NOT ! 阅读全文

[Java in NetBeans] Lesson 07. JavaDoc and Unit Tests

2018-12-14 04:50 by Johnson_强生仔仔, 214 阅读, 收藏, 编辑
摘要: 这个课程的参考视频和图片来自youtube。 主要学到的知识点有: 1. organize code into packages Create a package if want to make the jar file reusable for other projects too. 2. Jav 阅读全文

[Java in NetBeans] Lesson 06. Custom classes

2018-12-14 04:33 by Johnson_强生仔仔, 293 阅读, 收藏, 编辑
摘要: 这个课程的参考视频和图片来自youtube。 主要学到的知识点有: Constructors: A special method called when an object of the class is created property pattern and encapsulation(封装): 阅读全文

[Java] public, private, final and basic rules for naming.

2018-12-12 04:00 by Johnson_强生仔仔, 283 阅读, 收藏, 编辑
摘要: 1. Access: public, private, protected public: Any other class can access a public field or method. (Further, other classes can modify public fields un 阅读全文

[Java in NetBeans] Lesson 05. Method/function

2018-12-12 03:39 by Johnson_强生仔仔, 286 阅读, 收藏, 编辑
摘要: 这个课程的参考视频和图片来自youtube。 主要学到的知识点有: Define a method:(motivation: write one time, but use it many times) public: Any other class can access a public fiel 阅读全文

[Git/GitHub] Tutorial 1. Git download and commit first project

2018-12-10 09:15 by Johnson_强生仔仔, 288 阅读, 收藏, 编辑
摘要: 1. Install at https://git-scm.com/downloads 2. Set up your name and email $ git config --global user.name "Johnsonxiong" $ git config --global user.em 阅读全文

[Java in NetBeans] Lesson 04. Class / Objects

2018-12-06 03:18 by Johnson_强生仔仔, 335 阅读, 收藏, 编辑
摘要: 这个课程的参考视频和图片来自youtube。 主要学到的知识点有: Class: Blueprint for an object. (e.g. dog is a class) Object: custom variables contain state an behavior. (e.g. a tw 阅读全文
点击右上角即可分享
微信分享提示