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
1. Boolean operators&& logic and;|| logical OR;! = does not equal;Ternary operator:?:; expression is condition? Expression1:expression2 (returns the value of expression1 when the condition is true, otherwise returns the value of expression2);&& "and"
Http://www.robotsky.com/ZhiN/MoS/2011-08-25/13142461416649.htmlImplementing AI Programming with Java Open Source project Joone http://www.robotsky.com Source: Network time: 2011-08-25 reviews 0(visit forum) Robotsky waiting for your submission >>Few
2. Identifier 2.1. Defined:is the symbol used to play the role of logo;(That is, the programmer's name for what he defines)2.2. Naming rules (grammatical provisions, which must be followed):1. can be uppercase and lowercase letters, numbers,
Basic Java Knowledge
Java is a high-level Internet-facing programming language introduced by Sun (Stanford University Network, Stanford University web Company) in 1995.
Java VM (Jvm:java virtual machine)
JRE (Java Runtime
4. JAVA programming ideology-control program flow
Control Procedure Flow
In Java, we use operators to manipulate objects and data and use execution control statements to make choices. Java is based on C ++. Therefore, for C and C ++ programmers,
1. Java Language Foundation (basic usage of logical operators)
A: What are logical operators
&,|,^,!
&&,| |
B: Case Demo
Basic usage of logical operators
Precautions:
A: Logical operators are
Start learning Java today and see [Bi Xiangdong _java Basic Video Tutorial]. Because there is no book, write notes on the blog can be forgotten and record learning mileage. At the same time I hope that the form of blogging can let oneself learn Java
IntroductionFew programmers are not attracted to artificial intelligence programming either here or there. However, many programmers who are interested in AI quickly fall behind due to the complexity of the algorithms they contain. In this article,
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.