当前位置:网站首页>Final review (Day2)
Final review (Day2)
2022-07-03 05:33:00 【Naive witch】
2022.6.21DAY583
Today I saw 《 data structure 》 Part of the stack and queue , Stacks and queues are linear tables , The difference between them is : A stack is a linear table that can only be inserted and deleted at the end of a table . Queues are only allowed to insert at one end , A linear table with deletion at the other end . Then there are the stack in and stack out operations .《 Automatic control principle 》 I saw the drawing of logarithmic frequency characteristic curve , The characteristic curve of a control system can be obtained by the superposition of logarithmic frequency characteristic curves of typical links in series . Draw steps :1. The open-loop transfer function of the system is transformed into the product of each typical link ( Series connection ) In the form of .2 If there is inertia in the system , Concussion link , First order differential link , Or second-order differential link , You need to make sure Turning frequency , Marked on W On the shaft .3. The initial value of the asymptotic logarithmic amplitude frequency characteristic curve is determined according to the proportional link and integral link of the system .
Today is the second day of Review , in general , The review time is tight . Didn't take a nap , Only completed the daily review task 40%, Catch up with some progress tomorrow !
read :《 The underlying logic 》12% 《 Big talk data structure 》93 page
English : read " the three languages " rage n Great anger frogs n frog
motion :2 km
package Phone;
public class Phone {
public void call(String name){
System.out.println(" to "+name+" Make a phone call ");
}
}
package Phone;
public class NewPhone extends Phone{
// public void call(String name)
@Override
/*
Method rewriting
*/
public void call(String name){
System.out.println(" Turn on video function ");
System.out.println(" to "+name+" Make a phone call ");
}
}
package Phone;
import Phone.Phone;
public class PhoneDemo {
public static void main(String[] args) {
Phone p=new Phone();
p.call(" Brigitte Lin ");
NewPhone np=new NewPhone();
np.call(" Brigitte Lin ");
}
}
Method rewriting
As like as two peas, the same method declaration is found in the subclass.
Application of method rewriting
When a child class needs the function of a parent class , When the function subject subclass has its own content , You can override the methods of the parent class , such , It follows the function of the parent class , It also defines the specific content of the subclass .
@Override
- It's a comment
- It can help us check the correctness of the method declaration of the rewriting method .
边栏推荐
- Jetson AGX Orin 平台移植ar0233-gw5200-max9295相机驱动
- Go language interface learning notes
- (完美解决)matplotlib图例(legend)如何自由设置其位置
- Differences among bio, NiO and AIO
- mysql启动报错:The server quit without updating PID file几种解决办法
- @Autowired 导致空指针报错 解决方式
- redis 遇到 NOAUTH Authentication required
- BIO、NIO、AIO区别
- [basic grammar] C language uses for loop to print Pentagram
- 大学校园IP网络广播-厂家基于校园局域网的大学校园IP广播方案设计指南
猜你喜欢

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

Pan details of deep learning

Differences among bio, NiO and AIO

"250000 a year is just the price of cabbage" has become a thing of the past. The annual salary of AI posts has decreased by 8.9%, and the latest salary report has been released

Communication - how to be a good listener?

Technical analysis of qianyuantong multi card aggregation router

Win10 install pytullet and test

Altaro set grandfather parent child (GFS) archiving

Altaro o365 total backup subscription plan

XML配置文件
随机推荐
Brief introduction of realsense d435i imaging principle
期末复习(Day5)
Hotel public broadcasting background music - Design of hotel IP network broadcasting system based on Internet +
[practical project] autonomous web server
Latest version of source insight
2022.6.30DAY591
期末复习(day3)
Notepad++ wrap by specified character
Communication - how to be a good listener?
@Autowired 导致空指针报错 解决方式
EMD distance - example of use
Pan details of deep learning
Obtenir et surveiller les journaux du serveur distant
Introduction to rust Foundation (basic type)
JS string and array methods
Redis 过期淘汰机制
Shanghai daoning, together with American /n software, will provide you with more powerful Internet enterprise communication and security component services
Primary school campus IP network broadcasting - Design of primary school IP digital broadcasting system based on campus LAN
"C and pointer" - Chapter 13 function of function pointer 1 - callback function 1
Introduction to webrtc protocol -- an article to understand dtls, SRTP, srtcp