Types 02 Flashcards

1
Q

Examples of reference types:

A

Reference types are any instantiable class as well as arrays: String , Scanner , Random , Die , int[] , String[] , etc

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Are generic parameters compatible with both primitive / reference types?

A

No

How well did you know this?
1
Not at all
2
3
4
5
Perfectly