Java (94-100) [arrays, objects]

1. Method parameters array as

Any data type can be used as method parameter

Direct method to establish an array, the array parameter as a method.

When calling the method of delivery is the address of the array.

2. The array as the return value

Any data type can be used as parameters of a method, or a return value

If you want to have multiple return values, the following method may be used.

3. Overview of object-oriented thinking

The first code is a process for the operation of the second operating object-oriented code, actually call the corresponding class

4.

The relationship between classes and objects

6. The definition of the class

Be careful not to use static

7. Creating and using objects

 

Published 24 original articles · won praise 6 · views 447

Guess you like

Origin blog.csdn.net/qq_39965800/article/details/103758226