本帖最后由 李胜贤 于 2016-6-24 21:24 编辑
Java Basic summary
One: Java Identifier
Tow: Data Type
1.Basic data types
Int type or Decimaltype or Char type or Boolean type
Type conversion : Automatic conversion&&Mandatory conversion
operator : Arithmetic operator{+,-,*,/,%,++,--} ;Relational operator{>,<,>=,<=,==,!=}
Logical operator{&,|,&&,||};Bitwise Operators{&,|,^,~,<<,>>,>>>}
2.Reference data type
Array type or String type or Interface type or Enumeration type
Three: Process control
Sequence structure or Selection structure or Cyclic structure<break-continue-return>
Four : Array
One-dimensional array or Multidimensional array
Static initialization <First assignment> and dynamic initialization <Post assignment>
Must know : An array of commonly used algorithms
Array traversal->Array sort->Bubble sort->Array replication->Array insert
Six: Method Method statement<return type andparameter list>->Overload->Transmission of data
<Basic data types==Original value>&&<Reference data type==new value>
|
|