当前位置:网站首页>期末复习(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
- 是一个注释
- 可以帮助我们检查重写方法的方法声明的正确性。
边栏推荐
- Notepad++ wrap by specified character
- 獲取並監控遠程服務器日志
- ES 2022 正式发布!有哪些新特性?
- C language program ideas and several commonly used filters
- BIO、NIO、AIO区别
- Classification and discussion of plane grab detection methods based on learning
- How do I migrate my altaro VM backup configuration to another machine?
- Maximum continuous sub segment sum (dynamic programming, recursive, recursive)
- Dynamic programming - related concepts, (tower problem)
- "C and pointer" - Chapter 13 function of function pointer 1 - callback function 1
猜你喜欢

Celebrate the new year together

乾元通多卡聚合路由器的技术解析

ES7 easy mistakes in index creation

Detailed explanation of the output end (head) of yolov5 | CSDN creation punch in

Deep embedding and alignment of Google | protein sequences

Botu uses peek and poke for IO mapping

Why should we rewrite hashcode when we rewrite the equals method?

Shanghai daoning, together with American /n software, will provide you with more powerful Internet enterprise communication and security component services

Go practice -- gorilla / websocket used by gorilla web Toolkit

Pessimistic lock and optimistic lock of multithreading
随机推荐
Detailed explanation of the output end (head) of yolov5 | CSDN creation punch in
Get and monitor remote server logs
Go practice -- factory mode of design patterns in golang (simple factory, factory method, abstract factory)
Hotel public broadcasting background music - Design of hotel IP network broadcasting system based on Internet +
Overview of basic knowledge of C language
Gbase8s unique index and non unique index
Dynamic programming - related concepts, (tower problem)
Gbase8s composite index (I)
Xaml gradient issue in uwp for some devices
ninja: build stopped: subcommand failed.
Classification and discussion of plane grab detection methods based on learning
(perfect solution) how to set the position of Matplotlib legend freely
Go practice - gorilla / handlers used by gorilla web Toolkit
Source insight automatic installation and licensing
Export the altaro event log to a text file
About debugging the assignment of pagenum and PageSize of the formal parameter pageweb < T > (i.e. page encapsulation generic) in the controller
ROS Compilation Principle
Interview question -- output the same characters in two character arrays
Redis使用Lua脚本简介
Go practice -- gorilla / websocket used by gorilla web Toolkit