Conversion of operators and types in java, and conversion of java OperatorsType conversion:
Automatic type conversion (implicit conversion) for sorting from small to large)When small data types and large data types are computed, the results are
I. Comments
/* The comment statement is included in "backslash *" and "* Backslash,
Or two backslash and line break,
Or among the three backslash and line breaks (which can be automatically recognized by vs as a file annotation for extraction)
------------------------------------------------Key Tips:1, the basic data type difference: char, BYTE, short, int, long;float, double;2. What is CTS? The difference between string and string;3, enumeration type;4, self-increase self-reduction;5,
1. VariablesNaming rules:A can only be a letter (A-Z), Number (0-9), underscore (_)b cannot start with a numberc cannot be a keyword in C #Naming conventions:A short, semantic word or combinationB Camel nomenclature (start with the second word,
First, the basic data type:byte: Smallest data type in Java, 8 bits in memory (bit), 1 bytes, value range -128~127, default value 0short: Shorter integer, 16 bits in memory, 2 bytes, range -32768~32717, default value 0int: integral type, used to
03.01 additional minor issues in the data type1: When defining a long or float type variable, add either L or F.integers are type int by default, and floating-point numbers are double by default.Byte,short at the time of definition, they are
First, what is a computerBased on Baidu Encyclopedia 1. IntroductionComputer (computer), commonly known as computers, is a modern computer for high-speed computing, can be calculated numerically, and can be logical calculation, but also has
The slice method has these situations: does not pass the parameter, passes a parameter, passes two parameters. and the arguments support negative numbers, the effect of each case is not said here.
The core method is to iterate through the
First, the basic data type:byte: Smallest data type in Java, 8 bits in memory (bit), 1 bytes, value range -128~127, default value 0short: Shorter integer, 16 bits in memory, 2 bytes, range -32768~32717, default value 0int: integral type, used to
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.