Inventory of Java language knowledge (final review) II
🌹Author: Yun Xiaoyi📝Personal homepage: Yun Xiaoyi’s homepage 📝Github: Yun Xiaoyi’s Github 🤟motto: Dare to face yourself silently by yourself,Strengthening yourself is the core. Don’t wait until you have nothing,before you make up your mind to do it. Plant a tree , the best time is ten years ago, the second is now ! learn to reconcile with yourself , reconcile with the past , ==I hope before spring comes,Let’s face the sea together,Spring is warm and flowers are blooming!==🤟=🤟= x1f44f;Column:C++👏 Order 👏👏 column : data structure 👏 Article directory Preface 1. Classes and objects : a. What is the class ? What is the object ? b. Class : The format of (1)class : How to write (2)class? General nouns are defined as member variables (attributes): General verbs are defined as methods (behavior) Example of concretely defined classes c.Object: Create an object How to use the object 2. Constructor : Function : Detailed format : ; Classification of constructors : Constructors without parameters Constructors with parameters How to call the constructor ? Note : Example : 3. Interface : a. What is the interface ? b .Format : c. Basic use of interface : d. Relationship between interface and…