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

Front end learning data structure and algorithm quick start series - recursion

recursion The concept of recursion Recursion is a method to solve a problem. It starts from solving each small part of the problem to solving the initial big problem. Recursion usually involves calling the function itself, directly calling itself, or indirectly calling itself, which are recursive functions. Like this: // Call itself directly fu ...

Posted by n14charlie on Tue, 23 Nov 2021 02:42:53 -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

Delve into the principles of computer composition ELF and static links: why can't programs run under Linux and Windows at the same time?

In the past three sections, you and I have seen how our programs become machine instructions through some simple code; How conditional jumps like if... else are executed; How do loops like for/while execute; How mutual calls between functions occur. Since our programs are eventually turned into machine codes to execute, why is the same program ...

Posted by Thuy on Tue, 23 Nov 2021 02:35:13 -0800

springboot -- jwt (java web token), an open standard (RFC 7519)

summary Background: in traditional Web applications, session is used to store user information. Every time a user passes authentication, the server needs to create a record Save user information, usually in memory. As more and more users pass the authentication, the cost of the server here will be greater and greater. Because the Session is i ...

Posted by mykmallett on Tue, 23 Nov 2021 02:33:24 -0800

JVM runtime parameters

reference material: Silicon Valley JVM tutorial 22.JVM runtime parameters 22.1. JVM parameter options Official website address: https://docs.oracle.com/javase/8/docs/technotes/tools/windows/java.html 22.1.1. Type I: standard parameter option Server mode and Client mode The Hotspot JVM has two modes, server and client, which are set through th ...

Posted by turbolemon on Tue, 23 Nov 2021 02:26:57 -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

Mtk Camera Hal to drive process

(1) Camera imaging principle (A) Imaging principle The optical image generated by the lens is projected onto the image sensor (CMOS/CCD integrated circuit) to convert the optical signal into electrical signal;Then it is converted into digital image signal (processed by image processor ISP) after A/D (analog-to-digital conversion);It is sent t ...

Posted by savingc on Tue, 23 Nov 2021 02:11:22 -0800

Mysql review notes - Fundamentals 7 [overview of database character set]

Character set, basic concepts of character order and their relations MySQL provides different character sets for data storage. In the data comparison operation, different character order support is provided. MySQL provides different levels of settings, including server level, database level, table level and column level, which can provide ver ...

Posted by lotrfan on Tue, 23 Nov 2021 01:48:27 -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