当前位置:网站首页>期末复习(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();
}
}

总结:构造方法的创建
- 如果没有定义构造方法,系统将给出一个默认的无参构造方法。
- 如果定义了构造方法,系统将不再提供默认的构造方法。
构造方法的重载
- 如果自定义了带参构造方法,还要使用无参构造方法,就必须再写一个无参构造方法
推荐使用方式
无论是否使用,都书写无参构造方法。
边栏推荐
- (subplots用法)matplotlib如何绘制多个子图(轴域)
- ninja: build stopped: subcommand failed.
- Go practice -- use redis in golang (redis and go redis / redis)
- appium1.22.x 版本後的 appium inspector 需單獨安裝
- The request database reported an error: "could not extract resultset; SQL [n/a]; needed exception is org.hibernate.exception.sqlgram"
- 谷歌 | 蛋白序列的深度嵌入和比对
- Rust基础入门之(基本类型)
- Interview question -- output the same characters in two character arrays
- Self introduction and objectives
- Redis Introduction et explication des types de données
猜你喜欢

Gbase8s unique index and non unique index

BIO、NIO、AIO区别

Make your own dataset

Shallow and first code

(subplots usage) Matplotlib how to draw multiple subgraphs (axis field)

联想R7000显卡的拆卸与安装

Gan network thought

How to set up altaro offsite server for replication

How do I migrate my altaro VM backup configuration to another machine?

Shanghai daoning, together with American /n software, will provide you with more powerful Internet enterprise communication and security component services
随机推荐
Obtenir et surveiller les journaux du serveur distant
The request database reported an error: "could not extract resultset; SQL [n/a]; needed exception is org.hibernate.exception.sqlgram"
Introduction to redis and explanation of data types
Introduction to deep learning (II) -- univariate linear regression
牛客网 JS 分隔符
XML配置文件
Hotel public broadcasting background music - Design of hotel IP network broadcasting system based on Internet +
Go practice -- use redis in golang (redis and go redis / redis)
小学校园IP网络广播-基于校园局域网的小学IP数字广播系统设计
JS dynamic table creation
Congratulations to musk and NADELLA on their election as academicians of the American Academy of engineering, and Zhang Hongjiang and Fang daining on their election as foreign academicians
Use posture of sudo right raising vulnerability in actual combat (cve-2021-3156)
Audio Focus Series: write a demo to understand audio focus and audiomananger
配置xml文件的dtd
Progressive multi grasp detection using grasp path for rgbd images
appium1.22.x 版本後的 appium inspector 需單獨安裝
Ueditor, FCKeditor, kindeditor editor vulnerability
C language program ideas and several commonly used filters
Classification and discussion of plane grab detection methods based on learning
Why should we rewrite hashcode when we rewrite the equals method?