48_ Packaging (familiar)

Packaging (familiar) Concept of packaging class Generally, the variables of basic data type are not objects. In order to meet the concept that everything is an object, it is necessary to package and encapsulate the variables of basic data type into objects, and the related classes responsible for declaring these variables as member variables ...

Added by Qazsad on Thu, 06 Jan 2022 16:01:59 +0200

Network programming for Java learning

1, Overview Java is a language on the Internet. It provides support for network applications at the language level. Programmers can easily develop common network applications. The network class library provided by java can realize painless network connection. The underlying details of networking are hidden in the Java Native installation s ...

Added by kylera on Thu, 06 Jan 2022 12:28:53 +0200

Notes and Reflections

Annotation The role of Annotation: Not the program itself, it can be interpreted Can be read by other programs (e.g., compilers, etc.) Format of Annotation: Such as @SuppressWarnings(value="unchecked") Where to use: package, class, method, field Accessible through reflection mechanism Built-in Notes import java.util.ArrayLi ...

Added by jrbilodeau on Wed, 05 Jan 2022 21:35:57 +0200

Annotation and reflection

01. What is annotation Annotation is from jdk5 New technologies introduced from 0Function of Annotation Not the program itself, you can explain the program (this is no different from comments)It can be read by other programs (such as compiler, etc.) Format of Annotation Annotations exist in the code as @ annotation name. You can also add ...

Added by mattcass on Tue, 04 Jan 2022 13:29:40 +0200

Collection, generic, List, Collections, Set, Map

Collection, generic, List, Collections, Set, Map 1, Collection collection 1.1 collection overview Collection: a collection is a container provided in java that can be used to store multiple data. Differences between sets and arrays: The length of the array is fixed. The length of the collection is variable.The elements of the same type are ...

Added by sethcox on Mon, 03 Jan 2022 03:51:41 +0200

The basics of Java SE -- java basic syntax

preface   from Last article At the beginning, we'll introduce you to the relevant knowledge of Java. The first thing we'll introduce to you is the introduction and core of Java - the content of Java SE. I hope you must learn it well. This is the basis for learning java frameworks and other micro services later. You must learn it well. In ...

Added by Asnom on Mon, 03 Jan 2022 01:03:14 +0200

[JavaSE] Chapter 7 multithreading

7.1 basic concepts The concept of program: it is a set of instructions written in a certain language to complete a specific task. It refers to a piece of static code, static object Process concept: an execution process of a program, or a running program. It is a dynamic process: it has its own process of emergence, existence and extinction& ...

Added by johno on Sun, 02 Jan 2022 23:11:09 +0200

Of Java core class library (Stream stream: generation, intermediate, termination and collection operations)

(I) Fundamentals of Java language (II) Java object oriented programming (III) Of Java core class libraries (common API s, string classes, collection classes, generics) (IV) Of Java core class library (exception mechanism) (V) Java core class library (character set / code set, File class, recursion, IO stream: byte stream, character stream, spec ...

Added by larryg on Sun, 02 Jan 2022 08:10:59 +0200

Eight basic data types and operators in java

✏️ Variables and types Variable refers to a quantity used to store variable data. It is created before the program runs to open up a memory space to store some data Type is to divide the types of variables. Variables of different types are used to store different data and have different attributes, These variables are created on the com ...

Added by shainh on Sat, 01 Jan 2022 06:52:16 +0200

Java se -- annotations and reflection

Java annotation and reflection annotation java.Annotation Introduction to annotation Annotation is from jdk1 5 new technologies introducedFunction of Annotation: Not the program itself, you can explain the program (this is no different from comments)It can be read by other programs (such as compiler, etc.) Format of Annotation: Annota ...

Added by dreamscape on Fri, 31 Dec 2021 21:53:50 +0200