Niu Ke's Diary (October 29, 2021)

Niu Ke's Diary (October 29, 2021) Title: The following about Object The correct statement of class is () A.Java All classes in inherit directly or indirectly from Object,Whether explicitly specified or not, whether it is an abstract class or not. B.Java Interface in(interface)Also inherited Object class C.Use“=="When comparing two o ...

Added by bossman on Fri, 29 Oct 2021 03:13:06 +0300

Java array explanation

catalogue 1, Basic usage of arrays 1. What is an array 2. Create an array dynamic initialization initiate static 3. Basic use of array Get array length Accessing array elements Traverse array elements Print array as string 2, Array as an argument to the method 1. Basic usage 2. Understand reference types Transfer built-in type Pa ...

Added by eheia on Thu, 28 Oct 2021 19:48:42 +0300

[Spring Cloud Alibaba reviews the past and knows the new] Alibaba Nacos

catalogue 4.1.1 basic architecture and concept of Alibaba Nacos Alibaba Nacos basic architecture Service, configuration service, name service Interpretation of Alibaba Nacos concept Service registry: it is the database of services, instances and metadata; The service registry may call the health check API of the service instance to ve ...

Added by johnthedeveloper on Thu, 28 Oct 2021 19:30:27 +0300

A perfect application of Python "user environment"

I wrote an article about the use of virtual environment before. However, I haven't introduced the Python User environment well because I haven't encountered it to use   User environment   So I've been too lazy to write. It happened that these two days, I met a case where the experience of using the user environment can completely ex ...

Added by penkomitev on Thu, 28 Oct 2021 10:41:09 +0300

[Python] flash memory horse learning

preface I always wanted to learn something before, but I kept cooing. I finally chose to learn the flash memory horse one night when I got stuck in the process of configuring vscode to debug the underlying C code of PHP. It was also very interesting. Pre knowledge Request context The ssti of simple flash definitely needs to know. I won't me ...

Added by thecookie on Wed, 27 Oct 2021 20:23:02 +0300

Python learning notes - Dictionary

The dictionary is a bit like the structure in C in function A simple dictionary Look at an example. A dictionary contains some aliens. These aliens have different colors and points. alien_0={'color':'green','points':5} print(alien_0['color']) print(alien_0['points']) Second, use a dictionary In Python, a dictionary is a series of key valu ...

Added by Adrianphp on Wed, 27 Oct 2021 17:41:29 +0300

724-C + + iterator detailed explanation

Iterator Concepts What's the use of iterators? Why do generic algorithm parameters receive iterators? Iterator iterator is one of the components of C++ STL. It is used to traverse containers and is a general way to traverse container elements. No matter what data structure the container is based on, although the way of traversing elements is ...

Added by billf on Wed, 27 Oct 2021 17:05:24 +0300

Solving cross source resource sharing (CORS) and automatic startup uwsgi - Day 09 on Amazon Linux 2

Solving cross source resource sharing (CORS) and automatic startup uwsgi - Day 09 on Amazon Linux 2 On the back end of the application, we have solved the following problems: Database access: MariaDB.RESTful API implementation: upload pictures using post.Back end server integration: Nginx and merge Django. Finally, there are two problems to ...

Added by mick_otoole on Wed, 27 Oct 2021 14:28:23 +0300

Java basic syntax and variables

1.1 notes         Note: used to mark and explain the meaning of the code. It is generally used to facilitate you to view it later and help others understand the meaning of your code. Comments are usually written on the top of the code to indicate the meaning of the following code. Comments are not executed. You can debug ...

Added by cspgsl on Wed, 27 Oct 2021 14:19:00 +0300

CountDownLatch of concurrent programming tool class

In daily coding, Java Concurrent Programming is indispensable. Try the following concurrent programming tool classes. Today, let's review and learn CountDownLatch, an ox fork tool class. Meet CountDownLatch CountDownLatch is a synchronization tool class used to coordinate the synchronization between multiple threads, or to talk about the rol ...

Added by ron8000 on Wed, 27 Oct 2021 11:53:53 +0300