s***k 发帖数: 23 | 1 Array:
definition: int[] a;
allocation of memory: a = new int[10];
assignment of values: a[6]=121;
use of values : int b = a[6];
String:
a class in java.lang package,
string concatenation: "counted"+a+"chars";
Object:
Declare a class,
allocating some memory for an object of the
class(Instantiating an object)
reference of the object. No -> operator just . operator |
|