1 & Logic with : False if False.| logical OR : true if True.^ Logical XOR : The same is false, and the difference is true.Example: Couple relationship. Male, female, male, femaleThe logical non : False is true, and false if not true.Features: An
Generic-Class--arraylist<>;2. Each element in an object array is the object's manager and not the object itself!!!!!Basic data types for 3.java classes
Basic data types
Packing class
Byte
Byte
In the development of the program, there may be various errors, some errors can be avoided, and some errors are unexpected, in Java, these possible errors are referred to as exceptions.The Throwable class is a superclass of all exception classes,
The Hamming distance between and integers is the number of positions at which, the corresponding bits is different.Given integers x y and, calculate the Hamming distance.PS: To find the Hamming distance.Idea: The number of x and y binary xor 1Public
1. Create a new MAVEN project, select the WebApp template, and name it Ws_spring_cxf_tomcat2. Adding spring and cxf dependencies in Pom.xml org.springframework spring-core 4.1.7.RELEASE org.springframework spring-beans 4.1.7.RELEASE
Basic idea:The binary insertion algorithm is an improvement to the direct insertion sorting algorithm, with the sorting principle and the direct insertion algorithm:The n order of the elements to be sorted as an ordered table and an unordered table,
The first thing to look at is that if the application scope is wide, as long as the Boolean expression can be judged by the IF, and switch can only make a numeric comparison of the base type. The comparability of the two is limited to the comparison
The use of sockets in Java
The sockets in Java are divided into ordinary sockets and niosocket.
How to use a common socket
The network communication in Java through the socket implementation,
Here we analyze the connection of strings.1.StringOpen the source string,You will find that the character value that stores the string is the final constant. Looking at the construction method of string, we find that the value value of string is
What is an immutable object? As we all know, in Java, the string class is immutable. So what exactly is an immutable object? It can be said that if an object cannot change its state after it has been created, then the object is immutable. The
Data type:Integral type intlong Short byteDecimal DoublefloatCharacter Char escape character: \ ' (single quote character) \ \ (backslash character) \ n (newline) \ r (carriage return) \ t (horizontal tab, equivalent to tab)Boolean
Password Verification requirements:1) Password control can only enter letters, numbers, special symbols ([email protected]#$%^&* () _+[]{}|\;: ' ",./<>?)2) length 6-16 digits, must include 2 kinds of letters, numbers, special symbols3) password
one, The content of the note () is their own spit grooveIi. Naming Conventions
cannot start and end with an underscore or dollar Symbol. counter example:_name, $name, name_,name$. (i've never used it this way.)
You cannot use phonetic
Annotation-based bean configuration and annotation bean Configuration
Annotation-based bean configuration mainly involves applicationContext. xml configuration, DAO layer class annotation, and Service layer class annotation.
1. Configure the
What skills should programmers possess and what skills should they possess?
1. skilled development toolsAs a programmer, he is at least familiar with the use of two or three development tools, which is the foundation of the programmer. C/C ++ and
Multi-thread conditional access tool -- AbstractQueuedSynchronizer and synchronizer
This article is original. For more information, see the source!
References:
"JUC lock 03: fair lock (1)"
"JUC lock" 03: fair lock
Java -- Stream, NIO ByteBuffer, NIO MappedByteBuffer performance comparison, mappedbytebuffer
Currently, the most IO method in Java is a variety of file reading methods. This article compares the performance of Stream, NIO ByteBuffer, and nio
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service