当前位置:网站首页>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 .
边栏推荐
- Redis 入門和數據類型講解
- Botu uses peek and poke for IO mapping
- [basic grammar] C language uses for loop to print Pentagram
- C language program ideas and several commonly used filters
- Go practice - gorilla / handlers used by gorilla web Toolkit
- JS scope
- Go practice -- gorilla/rpc (gorilla/rpc/json) used by gorilla web Toolkit
- 3dslam with 16 line lidar and octomap
- How to set up altaro offsite server for replication
- 期末复习DAY8
猜你喜欢

es7创建索引容易犯的错误

Brief introduction of realsense d435i imaging principle

Common interview questions of microservice

Go practice -- factory mode of design patterns in golang (simple factory, factory method, abstract factory)

(完美解决)matplotlib图例(legend)如何自由设置其位置

"C and pointer" - Chapter 13 function pointer 1: callback function 2 (combined with template to simplify code)

微服务常见面试题

Web APIs exclusivity

Webrtc M96 release notes (SDP abolishes Plan B and supports opus red redundant coding)

Pan details of deep learning
随机推荐
Covering Safari and edge, almost all mainstream browsers have realized webgl 2.0 support
Webrtc protocol introduction -- an article to understand ice, stun, NAT, turn
期末复习(day3)
Installing altaro VM backup
(subplots usage) Matplotlib how to draw multiple subgraphs (axis field)
XML配置文件
Detailed explanation of yolov5 training own data set
Latest version of source insight
Get and monitor remote server logs
Intégration profonde et alignement des séquences de protéines Google
@Autowired 导致空指针报错 解决方式
Bluebridge cup real topic 2020 palindrome date simulation construction provincial competition
Calculation method of AUC
Pessimistic lock and optimistic lock of multithreading
Explanation of variables, code blocks, constructors, static variables and initialization execution sequence of static code blocks of Ali interview questions
Principles of BTC cryptography
在PyCharm中配置使用Anaconda环境
获取并监控远程服务器日志
Why is go language particularly popular in China
期末复习(DAY7)