当前位置:网站首页>期末复习(Day2)
期末复习(Day2)
2022-07-03 05:27:00 【天真小巫】
2022.6.21DAY583
今日看了《数据结构》中栈与队列的一部分内容,栈与队列都是线性表,二者的区别在于:栈是限定仅在表尾进行插入和删除操作的线性表。队列是只允许在一端进行插入操作,而在另一端进行删除操作的线性表。之后便是栈的进栈和出栈操作。《自动控制原理》看了关于对数频率特性曲线的绘制,一个控制系统的特征曲线可由各串联典型环节对数频率特性曲线的叠加得到。绘制步骤:1.将系统开环传递函数化为各典型环节乘积(串联)的形式。2若系统存在惯性环节,震荡环节,一阶微分环节,或者二阶微分环节,则需要确定转折频率,标注在W轴上。3.根据系统的比例环节和积分环节确定渐近对数幅频特性曲线的初始值。
今天是复习的第二天,总的来说,复习的时间是紧凑的。没睡午觉,只完成了日复习任务的40%,明天赶一些进度吧!
阅读:《底层逻辑》12% 《大话数据结构》93页
英语: 阅读" the three languages " rage n 大怒 frogs n蛙
运动:2公里
package Phone;
public class Phone {
public void call(String name){
System.out.println("给"+name+"打电话");
}
}
package Phone;
public class NewPhone extends Phone{
// public void call(String name)
@Override
/*
方法重写
*/
public void call(String name){
System.out.println("开启视频功能");
System.out.println("给"+name+"打电话");
}
}
package Phone;
import Phone.Phone;
public class PhoneDemo {
public static void main(String[] args) {
Phone p=new Phone();
p.call("林青霞");
NewPhone np=new NewPhone();
np.call("林青霞");
}
}
方法重写
子类中出现了和父类中一模一样的方法声明
方法重写的应用
当子类需要父类的功能,而功能主体子类有自己特有内容时,可以重写父类的方法,这样,既沿袭了父类的功能,又定义了子类特有的内容。
@Override
- 是一个注释
- 可以帮助我们检查重写方法的方法声明的正确性。
边栏推荐
- Why should we rewrite hashcode when we rewrite the equals method?
- Go practice -- use JWT (JSON web token) in golang
- mysql启动报错:The server quit without updating PID file几种解决办法
- Azure file synchronization of altaro: the end of traditional file servers?
- 联想R7000显卡的拆卸与安装
- Installing altaro VM backup
- JS scope
- Self introduction and objectives
- "Pthread.h" not found problem encountered in compiling GCC
- Rust基础入门之(基本类型)
猜你喜欢

Communication - how to be a good listener?

Latest version of source insight

(perfect solution) how to set the position of Matplotlib legend freely
![[basic grammar] C language uses for loop to print Pentagram](/img/9e/021c6c0e748e0981d4233f74c83e76.jpg)
[basic grammar] C language uses for loop to print Pentagram

Simpleitk learning notes

Deploy crawl detection network using tensorrt (I)

How to use source insight

Why is go language particularly popular in China

Brief introduction of realsense d435i imaging principle

Celebrate the new year together
随机推荐
Overview of basic knowledge of C language
Altaro o365 total backup subscription plan
Go practice -- use JWT (JSON web token) in golang
Azure file synchronization of altaro: the end of traditional file servers?
JS function algorithm interview case
appium1.22.x 版本後的 appium inspector 需單獨安裝
@Solutions to null pointer error caused by Autowired
Detailed explanation of the output end (head) of yolov5 | CSDN creation punch in
BIO、NIO、AIO区别
Jetson AGX Orin 平台移植ar0233-gw5200-max9295相机驱动
求质数的方法
(subplots usage) Matplotlib how to draw multiple subgraphs (axis field)
Chapter II program design of circular structure
The request database reported an error: "could not extract resultset; SQL [n/a]; needed exception is org.hibernate.exception.sqlgram"
Introduction to deep learning - definition Introduction (I)
联想R7000显卡的拆卸与安装
ROS Compilation Principle
Bluebridge cup real topic 2020 palindrome date simulation construction provincial competition
Explanation of variables, code blocks, constructors, static variables and initialization execution sequence of static code blocks of Ali interview questions
Appium 1.22. L'Inspecteur appium après la version X doit être installé séparément