2019/6/30 learning summary

2019/6/30 learning summary

This is the first time I use a blog to write a study summary, and I will stick to it every day.

1 JAVA part

Today, I learned a small part of JAVA classes, object-oriented thinking, and inheritance.

1.1 Inheritance of JAVA

Key words:

extends

super()

Difficulties:

super:

The compiler adds " super();" to the first sentence of the subclass by default . When the programmer has written a super statement, regardless of its type (parameters or no parameters), the compiler will no longer automatically add " super();"; and only allow writing at the beginning.

No parameter " super();"will call the parameterless constructor of the parent class ( there is only one );

The super(参数类型1 参数名1,参数类型2 参数名2,...);" parameter" must be added manually, and the corresponding constructor of the parent class ( there is only one ) will be called ;

1.2 JAVA classes

Key words:

new

A class is a specification, and an object is an instance based on it.

Generally speaking, it is more common to use objects, but in certain situations you can also use classes directly.

2 Circuit

2.1 Co-directional amplifier && reverse amplifier

Keywords: Fictitious and fictitious, Kirchhoff

2.2 Adder

Implement adder in the same direction and implement adder in reverse

2.3 Subtractor

Use the same direction and reverse feature to achieve

2.4 Integral && Differential Circuit

Realize with capacitor

3 Data structure and algorithm

Today I learned about stacks and queues of data structures and algorithms, and learned the recursive technology based on the concept of stacks. In addition, realize that the idea of ​​divide and conquer must be used in recursion. Difficulties: hanoi tower problem keywords:hanoi(n,x,y,z)函数

Guess you like

Origin blog.csdn.net/qq_44065334/article/details/94363979