i am creating a program in which the user will add the name of someone into the textfield however i created the array which is String[] studentNames; but when the user presses submit it will add the name to the array but i want it so that each new text entry will be added to the array elements individually?
i am creating a program in which the user will add the name of
Share
You should use ArrayList instead of Array, where you would have not fixed-size list.