lalalalala
9
Q:

java int

int[] array;

// is equivalent to

int array[];
1
boolean result = true;
char capitalC = 'C';
byte b = 100;
short s = 10000;
int i = 100000;
0
// An int is a primitive data type.
// It is defined as followed:
int name = 5;
// The 5 is the number name holds.
// You can see an int as a box called (in this case) name and inside the box is the number 5.
1

New to Communities?

Join the community