当前位置:网站首页>期末复习(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如何绘制多个子图(轴域)
- 微服务常见面试题
- Go practice -- generate and read QR codes in golang (skip2 / go QRcode and boombuilder / barcode)
- [set theory] relational power operation (relational power operation | examples of relational power operation | properties of relational power operation)
- Introduction to redis and explanation of data types
- JS function algorithm interview case
- Interview question -- output the same characters in two character arrays
- XML配置文件
- 请求数据库报错:“could not extract ResultSet; SQL [n/a]; nested exception is org.hibernate.exception.SQLGram
- Audio Focus Series: write a demo to understand audio focus and audiomananger
猜你喜欢
How to install and configure altaro VM backup for VMware vSphere
leetcode406. Rebuild the queue based on height
Why is go language particularly popular in China
leetcode860. Lemonade change
How to connect the network: Chapter 1 CSDN creation punch in
Go practice -- gorilla / websocket used by gorilla web Toolkit
乾元通多卡聚合路由器的技术解析
(subplots usage) Matplotlib how to draw multiple subgraphs (axis field)
音频焦点系列:手写一个demo理解音频焦点与AudioMananger
Communication - how to be a good listener?
随机推荐
求质数的方法
appium1.22.x 版本后的 appium inspector 需单独安装
Rust基础入门之(基本类型)
Altaro VM backup getting started
Why is go language particularly popular in China
"C and pointer" - Chapter 13 function pointer 1: callback function 2 (combined with template to simplify code)
Webrtc M96 release notes (SDP abolishes Plan B and supports opus red redundant coding)
How do I migrate my altaro VM backup configuration to another machine?
Appium 1.22. L'Inspecteur appium après la version X doit être installé séparément
Introduction to deep learning (II) -- univariate linear regression
Gan network thought
獲取並監控遠程服務器日志
"C and pointer" - Chapter 13 advanced pointer int * (* (* (*f) () [6]) ()
leetcode860. Lemonade change
Chapter II program design of circular structure
Go practice -- use JWT (JSON web token) in golang
Robot capture experiment demonstration video
Burp suite plug-in based on actual combat uses tips
Webrtc native M96 version opening trip -- a reading code download and compilation (Ninja GN depot_tools)
[basic grammar] C language uses for loop to print Pentagram