ORID 10
2020-02-21 本文已影响0人
Wilbur_
学习udemy1小时 √
看一页head first java √
刷两道 leetcode x
原来static就是不用建立新的object,直接调用就可以了。
Head first java p275
The difference between regular(non-static) and static methods
Java is object-oriented, but once in a while you have a special case, typically a utility method (like the Math methods), where there is no need to have an instance of the class. The keyword static lets a method run without any instance of the class. A static method means "behavior not dependent on an instance variable, so no instance/object is required. just the class."
新增计划
定了新的计划,那就是争取5月之前把udemy的project做完,然后通过leetcode来丰富自己的面试经验,然后争取能拿到暑假的coop,这样开学重新回到学校不仅有经验,还不愁新学期的生活费和学费了。