Java-Hot Load Implementation

What is hot loading Hot loading means that you can make the changes take effect without restarting the service. Hot loading can significantly improve the efficiency of development and debugging. It is implemented by a Java-based class loader, but *** is not normally used in a formal production environment because of the insecurity of hot ...

Posted by jmcc on Tue, 23 Nov 2021 10:41:54 -0800

[JavaSE series] Java object-oriented composition polymorphism and interface

⭐ ♪ previous words ⭐ ️ This article introduces you to the basic knowledge of Java - composition, polymorphism and interface, friends, long time no see, question A left to readers in the previous blog post package and inheritance. This article will introduce polymorphism and interfaces in detail. The inheritance introduced last time is the ba ...

Posted by LucienFB on Tue, 23 Nov 2021 10:30:33 -0800

Sort out and summarize the relevant knowledge of String class

The difference and relation between String and charchar is the basic data type and character type; definition char You must use single quotes when you type variables'',And can only have one character; char It occupies 2 bytes and adopts 16 bits Unicode Character (i.e UTF16)Code, indicating range: 0~65535;A Chinese occupies 2 bytes, so char O ...

Posted by Simmo on Tue, 23 Nov 2021 10:19:57 -0800

Teach you to play real nixie tube

Our ultimate goal is to be lazy. Working together is to see you work hard, and I am lazy to enjoy. Therefore, in order to be lazy, frame programming is inevitable. In my blog in the future, I hope everyone is frame programming. Those who are irregular should be serious and diligent. We are too lazy to be worthy of you. joy:, remember that we ar ...

Posted by nickk on Tue, 23 Nov 2021 08:40:05 -0800

Common problem solving methods (bit operation, double pointer, prefix and)

This paper summarizes some common simple problem-solving methods encountered in the process of brushing questions: Array is a kind of linear table in data structure. It is often displayed in the form of integer array and string in algorithm problems. In fact, the array contains more data types. This paragraph mainly explains the solutions ...

Posted by zoozle on Tue, 23 Nov 2021 05:43:37 -0800

Fundamentals of Netty

1, BIO (Blocking IO) 1. Characteristics In the synchronous blocking model, a thread can only process one request 2. Shortcomings The read operation in IO code is a blocking operation. If the connection does not read and write data, it will cause thread blocking and waste resources If there are many threads, there will be too many server t ...

Posted by tartou2 on Tue, 23 Nov 2021 04:01:41 -0800

javase learning notes

Lao Du, eternal God!!! Features of java language 1. Simplicity. Single inheritance is supported in Java, multiple inheritance is supported in c + +, and there is no pointer in Java. 2. Robustness. There is an automatic garbage collection mechanism (GC) in java, and the jvm will recycle objects without variables in the heap. 3. Portable. Com ...

Posted by gilsontech on Tue, 23 Nov 2021 02:43:29 -0800

You can understand it at a glance. java deep copy and shallow copy

There are three ways to copy a reference from one object to another. The first method is direct assignment, the second method is shallow copy, and the third method is deep copy. So you know, these three concepts are actually for copying objects.   1. Direct assignment OK, let's look at the first method, direct assignment. In Java, A a1 = a2. We ...

Posted by darf on Tue, 23 Nov 2021 02:41:35 -0800

Android learning column - Baidu map let Baidu map display (picture and text + code)

Series articles Tip: go to the Android learning column and watch more! Click me directly – > Android learning column preface Create a new project named LBSTest. Baidu map (5) let Baidu map display (picture and text + code) Realization effect activity_main.xml (modified) The content in the layout file is very simple, ...

Posted by Paul15679 on Tue, 23 Nov 2021 02:16:11 -0800

Factory mode of design mode

demand It is required to facilitate the expansion of pizza types and maintenance There are many kinds of pizzaPizza making includes prepare, bake, cut and boxComplete pizza shop ordering function Traditional way Class diagram code /** * @Classname Pizza * @Description * @Date 2021/9/28 14:12 * @Author Yzx */ public class Pizza ...

Posted by ibechane on Tue, 23 Nov 2021 01:46:42 -0800