[JAVA] package, permission modifier, final keyword, constant, enumeration, abstract class, interface

1 package Packages are used to manage various categories by category, similar to folders, building packages facilitates the management and maintenance of programs. The package building statement must be on the first line The grammatical format of building a package: package company domain name reversed. Project name. The package name is recommended to be all […]

Java modifiers, four major storage areas, anonymous inner classes, interface-oriented

Purpose and requirements Master Java Modifiers Master the four major storage domains of Java Mastering Java Anonymous Inner Classes Java interface-oriented Java Modifier The Java language provides two types of modifiers: access modifier non-access modifier 1. Access modifier modifier current class in the same package descendant class (same package) Descendant classes (different packages) Other packages […]

Basic use of v-model; v-model principle; v-model binding (textarea, checkbox, radio, select); v-model value binding; v-model modifier

Table of Contents Basic use of 1_v-model The principle of 2_v-model 3_v-model binding textarea 4_v-model binding checkbox 5_v-model binding radio 6_v-model binding select 7_v-model value binding 8_v-model modifier 8.1_lazy 8.2_number 8.3_trim 8.4_v-mode component used Basic use of 1_v-model Form submission is a common function in development and an important means of interacting with users: For […]

<Java> Access restriction modifier private, protected, public and default scope comparison

Directory 1. Introduction 2. Code proves the scope of the access restriction modifier 1. Same package 2. Different types of the same package 3. Different types of buns 4. Different packages are not subclasses 3. Summarize the scope of access restriction modifiers 1. Introduction default: By default, class does not add any modifiers, also known […]

Packages, final keywords, permission modifiers, code blocks

Directory (1 package: (2) Rules of use: (3) final keyword: (4) Permission modifier: (5) Code block: (1) package: Packages are a mechanism for efficiently managing classes in the Java language. Classes with the same name may appear in different Java source files. If you want to distinguish these classes, you need a package name. The […]

Vue event binding, event parameters, event modifiers, form two-way binding, listeners, computed properties

Directory event binding event parameters event modifier form watch (listener listener property) computed (computed property) interview questions event mechanism Overview In the dom stage, we have described the characteristics of the event mechanism: The three elements of the event event binding event flow event object event proxy Event type These concepts still exist in vue, […]

Vue parent-child component communication v-model .sync modifier

1. v-model simplifies parent-child component communication What is v-model? v-model is a built-in API command of the Vue framework, which is essentially a syntax sugar. It is responsible for listening to user input events to update data, and doing some special processing for some extreme scenarios. v-model implements two-way binding of forms <template> <div> <input […]

java-package, permission modifier, final keyword

Article directory Bag 2.1 package 2.2 Guide package 2.3 What should I do if I use the same class under different packages? permission modifier 3.1 Permission Modifiers 3.2 Access capabilities with different permissions final keyword 4.1 Overview 4.2 How to use 4.2.1 Modifier class 4.2.2 Modification method 4.2.3 Modified variables – local variables 4.2.4 Modified […]

Event modifiers for Vue

Article directory foreword 1. Event modifiers Two, examples 1. prevent 2. stop 3. capture 4.self Summarize Foreword Handle the event. 1. Event modifier prevent: Prevent the default event (commonly used). stop: prevent event bubbling (commonly used). once: The event is only triggered once (commonly used). capture: Use the capture mode of the event. self: The […]