1, Inherited memory parsing
1. Scene analysis
At this time, students want to migrate data from java to mysql operating system with good polymorphism
2. What is polymorphism
A variety of manifestations of a thing. The F1 of the keyboard will get different results by pressing F1 under different software
3. Introduce po ...
Posted by gkep on Wed, 02 Feb 2022 08:27:44 +0100
Prior to es6, the implementation of JS usage methods or components required the use of functions, prototypes, and prototype chains. The concept of JS classes was introduced in es6, and we can use and build classes based on object-oriented methods using JS. Writing of ES6 classes is also allowed in TS and eventually compiled as JS code allow ...
Posted by schoolmommy on Mon, 24 Jan 2022 11:30:44 +0100
I'm so tired to write this blog. In addition, it took me 6 hours to write and read the source code. It can be said that I was extremely lucky and bitter. Too tired, too tired!!! Linked list is a linear list with linked storage. The memory addresses of all elements are not necessarily continuous.
Dynamic array has an obvious disadvantage ------ ...
Posted by hjunw on Mon, 24 Jan 2022 03:11:53 +0100
Significance of abstract classes: Abstract them to improve development efficiency
You can't use the abstract class new, you can only rely on subclasses to implement it: constraints!Ordinary methods can be written in abstract classesAbstract methods must be in abstract classes
Posted by iRock on Mon, 03 Jan 2022 21:59:39 +0100
Usage scenario: if multiple similar classes have the same attributes and methods, you can extract the same attributes and methods from the parent class
Benefits: reduced code redundancy
When creating a subclass object, will the parent class constructor be called? meeting If you create a s ...
Posted by PatriotXCountry on Sun, 02 Jan 2022 17:39:08 +0100
Abstract classes and abstract methods
If a class is not associated with specific things, but only expresses an abstract concept and is only a base class of its derived classes, such a class is an abstract class. When declaring a method in an abstract class, if abstract is added, it is an abstract method Overview and declaration of abstract ...
Posted by messer on Fri, 31 Dec 2021 03:45:27 +0100
Overview of abstract classes
The class used to describe abstract concepts is called abstract class. The methods in abstract class do not have to realize specific functions.
1. Modified by abstract keyword 2. Abstract classes do not necessarily have abstract methods, but classes with abstract methods must be def ...
Posted by marsupillami on Wed, 29 Dec 2021 22:31:21 +0100