Home > Back-end >  The day"
The day"

Time:10-15

Daily:
1: array
Value passed
A: the basic data type is passed as a parameter value, will not affect the content of the original variable
Pass a reference type
A: a reference type as a parameter, pass is address, will affect the content of the original array as a return value
A: method statement specific array type b: return specific corresponding array
2: selection,
A: compare with bubble sort consistent number same
B: the outer loop control is
the number of roundsC: the difference is that the selection is not immediately change the position, but after the current round of relatively complete switch places, so most of the time choose efficient than bubbling
3: the JDK sorting
A: the Arrays provide a sort of method to achieve
B: Arrays. Sort (array) : there is no return value
C: Arrays. CopyOf (the original array, length); Will produce a new array
D: Arrays. ToString (array); Said the array print directly the
4: two dimensional array
A type: [] [] [] [] array name=new type; A few brackets is a few dimensional array
B: a two-dimensional array is an array of each element separately is an array,
5: classes and objects
A: object class is abstract, specific
object is a classB: object joint characteristics, called attribute
C: the object of behavior, called method
Continue refueling

CodePudding user response:

CodePudding user response:

Anthracene well well well well well
  • Related