This is a past exam question and I was wondering what a primitive type and reference type are first off? With an array I know that a reference type is where the array is composed of objects or variables, but a primitive type is where you would create the array with just int or strings. (right?)
How do you think you would answer the question on the test and be given good credit? Without really referring directly to an primitive ARRAY type... Is there a way to do it without that? Or do you think it would be fine to just explain it with the array.
These are the primitive types in Java:
All the other types are reference types: they reference objects.
This is the first part of the Java tutorial about the basics of the language.