当前位置:网站首页>期末复习(Day5)
期末复习(Day5)
2022-07-03 05:27:00 【天真小巫】
今天是期末复习第5天,想着前三天带上电脑在图书馆里从下午两点呆到晚上十点,拥有了整天泡图书馆的能力。没想到,复习了这些天,就厌倦了,好像精力就跟不上了。难道就像《心流》中讲的,太过努力肯定坚持不长时间,只有恰到好处的激情与投入才能让所做的事情更持久。在众多课程中,挑战最大的要算《数字电路与逻辑设计》《自动控制原理》,如今只能迎难而上,复习的时候不要想这课程的难度,不懂的题目通过将知识点进行拆分,然后各各击破。先养好精力,明天继续复习吧!
复习:《大话数据结构》关于树的定义,存储结构。163页 然后,《人工智能》关于知识表示的部分,数电课花了一些时间才搞懂一道选择题,一道分析题看答案没看懂,设计题不会设计。
英语:课间15分钟看了“the four clever brothers” ,如今才觉察到课间的15分钟从来没好好利用过,这是一段固定的时间,固定的地点,可以做些固定的事,无论是复习,还是记些单词,还是阅读一篇英语文章。《人人都能用英语》中讲到一个沉浸式学习,固定的时间,固定的地点,做固定的事情。本来想利用早起去小湖读英语的,可是固定的时间都做不到,早上6:50起床,结果连核酸都没做成,也不知道时间耗在哪了。
运动:去GOGO滑板店玩了1h滑板,之后赶着回来弄尔雅选修
bundle n速 skilful adj专家的 space v分隔开 carry off 带走 make up n弥补
public class Student {
private String name;
private int age;
public Student(){
}
public Student(String name){
this.name=name;
}
public Student(int age){
this.age=age;
}
public Student (String name,int age)
{
this.name=name;
this.age=age;
}
public void show(){
System.out.println(name+","+age);
}
}
public class StudentDemo {
public static void main(String[] args) {
Student s1=new Student();
s1.show();
Student s2=new Student("林青霞");
s2.show();
Student s3=new Student(30);
s3.show();
Student s4=new Student("林青霞",30);
s4.show();
}
}
总结:构造方法的创建
- 如果没有定义构造方法,系统将给出一个默认的无参构造方法。
- 如果定义了构造方法,系统将不再提供默认的构造方法。
构造方法的重载
- 如果自定义了带参构造方法,还要使用无参构造方法,就必须再写一个无参构造方法
推荐使用方式
无论是否使用,都书写无参构造方法。
边栏推荐
- Webapidom get page elements
- Common methods of JS array
- [practical project] autonomous web server
- 联想R7000显卡的拆卸与安装
- Redis 击穿穿透雪崩
- @Autowired 导致空指针报错 解决方式
- EMD distance - example of use
- How to connect the network: Chapter 2 (Part 1): a life cycle of TCP connection | CSDN creation punch in
- Source insight automatic installation and licensing
- Get and monitor remote server logs
猜你喜欢
(subplots用法)matplotlib如何绘制多个子图(轴域)
Why should we rewrite hashcode when we rewrite the equals method?
Progressive multi grasp detection using grasp path for rgbd images
Common interview questions of microservice
Detailed explanation of the output end (head) of yolov5 | CSDN creation punch in
"C and pointer" - Chapter 13 advanced pointer int * (* (* (*f) () [6]) ()
JS scope
Web APIs exclusivity
"C and pointer" - Chapter 13 function pointer 1: callback function 2 (combined with template to simplify code)
XML配置文件
随机推荐
小学校园IP网络广播-基于校园局域网的小学IP数字广播系统设计
Based on RFC 3986 (unified resource descriptor (URI): general syntax)
Detailed explanation of the output end (head) of yolov5 | CSDN creation punch in
Redis breakdown penetration avalanche
"Pthread.h" not found problem encountered in compiling GCC
How to connect the network: Chapter 2 (Part 1): a life cycle of TCP connection | CSDN creation punch in
【实战项目】自主web服务器
Altaro virtual machine replication failed: "unsupported file type vmgs"
Latest version of source insight
Ueditor, FCKeditor, kindeditor editor vulnerability
Yolov5 input (I) -- mosaic data enhancement | CSDN creative punch in
C language program ideas and several commonly used filters
Go language interface learning notes
Yolov5 input (II) | CSDN creative punch in
leetcode406. Rebuild the queue based on height
Go practice -- use JWT (JSON web token) in golang
Bluebridge cup real topic 2020 palindrome date simulation construction provincial competition
[batch dos-cmd command - summary and summary] - CMD window setting and operation command - close CMD window and exit CMD environment (exit, exit /b, goto: EOF)
How to use source insight
Gbase8s unique index and non unique index