C language series - Section 5 - detailed explanation of operators

1. Operator classification arithmetic operatorShift operators Bitwise operators Assignment operatorunary operator Relational operatorLogical operatorConditional Operator comma expression Subscript references, function calls, and structure members 1.1 binary Here is a supplementary introduction to binary 1 . First of all, it sh ...

Added by atawmic on Thu, 24 Feb 2022 17:53:35 +0200

Servlet life cycle (code + diagram)

After reading some articles on the Internet, I feel that it is too theoretical. Now let's briefly talk about the life cycle of Servlet, and then verify it with code. When the browser accesses the server, the server parses the url. If the browser does not want static resources, the server accesses the corresponding Servlet according to the URI. ...

Added by ginoitalo on Thu, 24 Feb 2022 17:38:24 +0200

Go channel knowledge summary

What is channel brief introduction One of the core ideas of Go language is "sharing memory by means of communication", and channel is its best embodiment. channel provides a mechanism to synchronize two functions executed concurrently, and allows two functions to communicate by passing specific types of values to each other chan ...

Added by amma on Thu, 24 Feb 2022 17:23:23 +0200

java introduction notes 9

abstract class The method modified with abstract has no method body, only declaration. The definition is a specification, which is to provide concrete implementation for abstract methods 1. Classes with abstract methods can only be defined as abstract classes 2. Abstract classes cannot be instantiated, that is, they cannot be instantia ...

Added by jonathanellis on Thu, 24 Feb 2022 16:46:42 +0200

Character operation

Character operation Encoding and decoding Encoding is to convert characters into bytes, while decoding is to recombine bytes into characters. If the encoding and encoding process use different encoding methods, there will be garbled code. In GBK coding, Chinese characters occupy 2 bytes and English characters occupy 1 byte;In UTF-8 coding, ...

Added by davemwohio on Thu, 24 Feb 2022 13:16:26 +0200

Python Basics - super detailed introduction to the parameters of functions

Today's test 1,Write code to realize function tail -f access.log f.seek() Application (file object)/File handle (1) Application (file object)/File handle (2) Operating system (real file) a.txt z Hard disk (computer space) 2,Two ways to modify code display files Mode 1: with open('source file',mode='r') as src_ ...

Added by cavolks on Thu, 24 Feb 2022 13:16:43 +0200

Basic content of Java se

JavaSE Basics Java comments public class Helloworld { public static void main(String[] args) { System.out.println("hellowprld"); //Output a Hellowprld /*I'm a multiline comment */ /** * * I'm a document comment */ } } identifier public class Demo01 { public ...

Added by bubblocity on Thu, 24 Feb 2022 11:58:56 +0200

Java process control

Java process control Scanner object We use the Scanner class to get the user's input Basic syntax: Scanner s=new Scanner(System.in); Get the input string through the next() and nextLine() methods of Scanner class. Before reading, we generally need to use hasNext() and hasNextLine() to judge whether there is still input data Scanner object ...

Added by Jeyush on Thu, 24 Feb 2022 11:56:16 +0200

java objects and classes

catalogue 1, Class definition 2, this reference 3, Construction method and object initialization 1. Construction method 2. Object initialization 4, Encapsulation 5, Package 1. Concept of package 2. Import classes in package 3. Custom package 4. Common packages 6, static member 1. static modifier member variable 2. Static member me ...

Added by cdc5205 on Thu, 24 Feb 2022 11:51:55 +0200

Spring Boot learning notes for beginners

Spring Boot is a new development framework under the spring family. Its design purpose is mainly to simplify the creation and development process of spring applications. It provides features such as automatic configuration and starter dependency, so as to free developers from a large number of XML configurations. Spring Boot is committed to bec ...

Added by wwfc_barmy_army on Thu, 24 Feb 2022 10:55:06 +0200