Category:Java
-
IDEA import project can not be recognized as a maven project solution
A new Maven project is opened in IDEA, but when it is opened, none of the Maven dependencies are downloaded. As a result, the project does not compile and there is no Maven view on the right side. The little icon on the pom.xml file doesn’t seem right either. What should I do now? Right […]
-
Java’s file operations and IO
catalogs I. Recognizing documents 1.1 What is a document? 1.2 Organization of documentation 1.3 File path 1.4 Classification of documents II. File operations 2.1 File Overview III. File content manipulation – IO 3.1 JavaIO Awareness 3.2Reader and Writer Reader class Writer class 3.2FileInputStream and FileOutputStream The FileInputStream class The FileOutputStream class IV. Summary 🎁Personal homepage:tq02’s […]
-
Java’s file operations and IO
catalogs I. Recognizing documents 1.1 What is a document? 1.2 Organization of documentation 1.3 File path 1.4 Classification of documents II. File operations 2.1 File Overview III. File content manipulation – IO 3.1 JavaIO Awareness 3.2Reader and Writer Reader class Writer class 3.2FileInputStream and FileOutputStream The FileInputStream class The FileOutputStream class IV. Summary 🎁Personal homepage:tq02’s […]
-
The way Java receives front-end request bodies
Article Catalog @RequestBody @PathVariable @RequestParam @Validated Method parameter validation Method return value validation @RequestHeader @HttpServletRequest ## The way Java receives front-end request bodies Request Body (Request Body) is a part of the HTTP request, used to transfer the requested data; in the HTTP request, the request body is usually used for POST, PUT and other […]
-
Basic Usage of Redis in Java
This movie introduces you to the basic use of Redis in Java. Article Catalog 1, using jedis operation redis1.1 Introduction to Jedis1.2 Introducing Maven dependencies for jedis1.2. Getting Connected1.3 Examples of use 2, for the use of JedisPooled2.1 Using JedisPooled2.2 About connection pooling 3, SpringBoot under the use of Redis3.1 Introducing Maven dependencies3.2 Configuring Redis […]
-
What is object orientation and its three basic features: encapsulation, inheritance, polymorphism
What is object-oriented thinking? Already finished learning java really do not know how to explain to others what the meaning of object-oriented this is very common. Let’s review the idea together~! Article Catalog I. Object-Oriented and Process-Oriented1. What is process-oriented?2. What is object-oriented? II. Relationship between classes and objects1. Basic concepts2. The difference between classes […]
-
Java interfaces
Author Resume: zoro-1, currently a freshman, learning Java, data structures, etc. Author Home Page:zoro-1’s homepage You are welcome to like Favorite Add attention Oh! Java interfaces The concept of interfacesgrammatical ruleInterface CharacteristicsInterface Use CasesMultiple Inheritance of InterfacesWhy interfaces solve the multiple inheritance problem Difference between abstract classes and interfaces The concept of interfaces In real […]
-
The Complete Guide to Java Data Types and Variables
catalogs I. Literal constants 1.1 What constants? 1.2 Six common types of constants II. Data types 2.1 What are data types? 2.2 Basic data types: 2.3 Referencing data types III. Variables 3.1 What are variables? 3.2 Naming rules for variables 3.3 Scope of variables 3.4 Modification of variables by final IV. Type conversion 4.1 What […]
-
[Intranet Penetration] Build My World Java Edition Server, Public Network Remote Online
catalogs preamble 1. Build my world server 1.1 Server installation java environment 1.2 Configuring the server 2. Testing of local area network (LAN) connectivity 3. Remote access to the public network 3.1 Installing cpolar Intranet Penetration 3.1.1 windows 3.1.2 linux systems (support for one-click auto-installation scripts) 3.2 Creating a Tunnel to Map an Intranet Port […]