摘要:
这个课程的参考视频和图片来自youtube。 主要学到的知识点有: We want to handle the bad Error. (e.g bad input / bugs in program) 1. File() : A Java representation of a file. 2. P 阅读全文
随笔分类 - Java programming tutorial
[Java in NetBeans] Lesson 16. Exceptions.
2019-01-01 03:55 by Johnson_强生仔仔, 234 阅读, 收藏, 编辑
摘要:
这个课程的参考视频和图片来自youtube。 主要学到的知识点有: We want to handle the bad Error. (e.g bad input / bugs in program) Error: a type of Exception e.g File I/O; User Inp 阅读全文
[Java in NetBeans] Lesson 15. Sorting and Searching.
2019-01-01 03:41 by Johnson_强生仔仔, 297 阅读, 收藏, 编辑
摘要:
这个课程的参考视频和图片来自youtube。 主要学到的知识点有: Build in functions in java.util.Collections Need to implement a comparator - a special class which returns an intege 阅读全文
[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 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 阅读全文
[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 阅读全文
[Java in NetBeans] Lesson 03. More Variables / Type Casting
2018-10-25 06:11 by Johnson_强生仔仔, 189 阅读, 收藏, 编辑
摘要:
这个课程的参考视频在youtube。 主要学到的知识点有: It is different from python, that "1" only present string "1", and '1' only presents char '1'. (type) can chang the type 阅读全文
[Java in NetBeans] Lesson 02. Variables, Data Types and Assignment.
2018-10-20 04:13 by Johnson_强生仔仔, 235 阅读, 收藏, 编辑
摘要:
这个课程的参考视频在youtube。 主要学到的知识点有: Data Type: int, char, String, double, boolean. When into printf, int (%d), char (%c), String (%s), double (%f), boolean 阅读全文
[Java in NetBeans] Lesson 01. Java Programming Basics
2018-10-19 22:22 by Johnson_强生仔仔, 201 阅读, 收藏, 编辑
摘要:
这个课程的参考视频在youtube。 主要学到的知识点有: A class is the template from which objects are created. Object: Instance of a class. public can be accessed by other cla 阅读全文
[Java in NetBeans] Lesson 00. Getting Set-up for Learning Java
2018-10-19 10:21 by Johnson_强生仔仔, 215 阅读, 收藏, 编辑
摘要:
这个课程的参考视频在youtube。 主要学到的知识点有: 阅读全文