I wish to try to make an array reference a class but can not think of a way to do this. I have my main class, client and another called organisation.
Im basically making a small database where the user is able to add an organisation and also edit the info in the organisation. Info including, ID#, name, address, ect
I d like to know how i can get an array to basically store new organisation class's so that when i want to add an organisation it runs a new organisation class and stores that version of the class, in the array.
Class<?>[]what you're looking for?Class<?>is a reflection type for a Java class. The<?>means "any class" using the generic type syntax.Organisation[]?Classes in a database.