Today's catalog:
1, the basic concept of object-oriented
2. Classes and Objects
3. Definition and use of methods
4. Constructors and this keyword
5. Access control permissions and package import keywords
6. Inner class
7. Code blocks
8. String class
9. Class inheritance
10. final keyword
11. Abstract classes
12. Interface
13. Polymorphism
14. object class
15. instanceof keyword
16. Anonymous inner classes
17. Packaging
18. Design Patterns
First, the basic concept of object-oriented
1. The so-called object-oriented is to analyze and solve problems with object-based thinking, and everything is an object;
2. The three major features of Java object-oriented:
1) Encapsulation: We can have classes, which have methods and properties, and can encapsulate many functions and only expose some interfaces to achieve modularization, organization, and security;
2) Inheritance: Classes in Java can be inherited, similar to what children can inherit from their parents; to achieve extensibility;
3) Polymorphism: The parent class interface in Java can point to the reference implemented by the subclass; we will explain this in detail later through examples;
2. Classes and Objects
3. Definition and use of methods
1. Pass-by-value and pass-by-reference
Memory Analysis:
2. Method overloading
3, static method and ordinary method
4. Recursion
4. Constructors and this keyword
Five, access control permissions and package import keywords
1. Access control permissions
2. How to access private
3, package (for managing projects) and import (import related packages) keywords
6. Internal class
Seven, code block
Eight, String class
1. Instantiation, "==" and equals
2. The difference between the two instantiations
3. The immutability of strings
4. Commonly used methods
Nine, class inheritance
1. Inheritance definition and basic use
2. Rewriting the method
3. Object instance process and super keyword
10. final keyword
Eleven, abstract class
12. Interface
Thirteen, polymorphism
14. Object class
15. instanceof keyword
16. Anonymous inner classes
17. Packaging
18. Design Patterns
Add Xiaobian WeChat to get free resources, QR code
w