Important point:(&, |) ==> binary Boolean operator, (&&,| |) ==> Conditional Boolean operatorBinary Boolean operator, both sides will execute, regardless of whether the left is true or false ==> the operands on both sides of the operator, whether
Java basic operator: + 、-、 *,/,%, =, = =,! =, + =,-=.Priority: First multiplication after the addition and subtraction, if the connector + number will be prioritized forward matching, such as a+++++b, will be interpreted as a++ + + +b, so will error,
Primitive type value (Primitive values)The following are all primitive type values (abbreviations: original values):
Boolean type: True,false
Number type: 1736,1.351
String type: ' abc ','ABC '
Two "no Value (non-values)":
Operator description>> right SHIFT, bitwise operator operator= = equals, logical operator. Automatically convert data types that participate in an operand= = = Constant equals, logical operator. Do not convert data types$a $a >> $b: Shift right
Identifier: The name of the class, method, or variable that the programmer defines for itself.Identifiers consist of uppercase letters, numbers, underscores (_), and dollar signs, but cannot begin with a number.Strictly case-sensitive in the Java
One.Here begins the application of the IF statement and expands the operation experiment.In the case of judging the input data for the day of the week, it proves that I have not understood the = = comparison operator well enough to understand the if
Excerpt from: http://www.cnblogs.com/hopeworld/archive/2011/04/08/2009252.htmlIn Windows, you can find files in some paths, or you can set the file to not be found in some paths, and use the Find command in Linux with its-path-prune parameter to see
Find directory-name "file name"Find/-name "php.ini"Locate file nameLocate PHP.iniOne: Locate commandThe locate command is used to find a file that is faster than the search command, and it requires a database that is built by a daily routine work
Linux command locate, find search commandThe locate command is used to find files that are faster than the search command, and it has a database, which is a daily routine work (crontab) program that executes UpdateDB. Run: UpdateDB generate
1. Arithmetic operators and arithmetic expressions(1) add minus operator +,-. such as 2+39,908.98-23.The addition and subtraction operator is the binocular operator, which is the operator that joins the two operands. The combination of the plus and
Operation Symbols:1), arithmetic operator.+-*/% : the remainder of any integer is not 0 or 1, so the switching operation can be achieved as long as the remainder is changed.+: Connector.++,--2), assignment operator.= += -= *= /= %=3), comparison
One, Operator:A symbol of a connection operand, used primarily for arithmetic calculations or logical judgments.Classification:1) Number of operands participating in the operation: Monocular operation (sizeOf () i++ Binocular Operation Trinocular
1, Java programs exist in the form of classes, so you need to tell the virtual machine where to load the class, you can set the CLASSPATH variable. The CLASSPATH variable, if any, indicates that it will also be found in the current directory, and
Chapter III operator 3.2 using Java operatorsThe operator takes one or more arguments and generates a new value. The form of the parameter differs from the normal method invocation, but the effect is the same. Common subtraction and sign are similar
In a separate primitive program, there can be only one public class, but there are many non-public classes.In addition, if no class is public in a Java program, the Java program's file name can be arbitrarily named.Document comments, which start
Assignment operatorsint a=100The assignment operator, denoted by the symbol "=", is a two-dollar operator whose function is to pay the workshop operation the value contained in the room operand.A is defined as an int type and is assigned a value of 1
a,[] single and double bracketsBasic elements:[] Two symbols should be separated by a space aroundThere is a space between the internal operator and the action variable: such as ["a" = "B"]String comparisons in,> \ [] in the string or ${}
Comments#为单行注释' Three single quotation marks (or "" "three double quotes) for multiple lines of comment, e.g. ' ' annotated content 'Get user inputInput ()All data that input accepts is a string, even if you enter a number, but it is still treated
The bitwise operator is primarily for binary, which contains: "and", "Non", "or", "XOR". On the surface it seems a bit like a logical operator, but the logical operator is a logical operation on two relational operators, while the bitwise operator
String operator ******************1. The string operator is one. This is a point where the left string and the right string are stitched together into a string.2. For example $ A = "Sin"; $b = "Love Xiao Qian"; So $ A. $b is "Sinsing Yong Love Xiao
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.