Any time you use the var++ operator, it will add one to the value and save it.
int[] array = new int[] { 1, 2, 3, 4 };
int index = 0;
int val2 = array[index++]; // index is now 1.
Type: Posts; User: Tjstretch
Any time you use the var++ operator, it will add one to the value and save it.
int[] array = new int[] { 1, 2, 3, 4 };
int index = 0;
int val2 = array[index++]; // index is now 1.
Things I noticed:
MyString(char [] initString) { // Why is this package private?
...
}
MyString(String initString) { // Again.. Why package private?
// Look at the toCharArray in...