i have done some correction by referring in here, but still haven quite satisfy of my program and it still not complete. Problem 1 = my displayReg() comes out \"nullnullnull
Register[] a = new Register[i]; - creates an array with 0 items.
Register[] a = new Register[i]; -
a[i].Reg(); - access to the position 0 of an array that got no items at all.
a[i].Reg();
Here is a tutorial