CPSC 2150 Exam 2 Questions and Correct Answers
Generics Ans make interfaces and classes reusable by parameterizing them reference types Ans Java demands that generic arguments must be wrapper type Ans Each of the primitive types has a corresponding immutable Ans Wrapper types are reference types Ans Wrapper types are Aliasing Ans occurs when two or more references to an object exist within the object graph of a running program final keyword Ans The memory address can't change. However, you might be able to change the data stored at that memory address if the object has mutable private fields. Object Ans All reference types extend this class reference types Ans All non-primitive types are Failure Ans any deviation of the observed behavior from the specified behavior Erroneous Stat
Written for
- Institution
- CPSC
- Course
- CPSC
Document information
- Uploaded on
- July 29, 2024
- Number of pages
- 16
- Written in
- 2023/2024
- Type
- Exam (elaborations)
- Contains
- Questions & answers
Subjects
-
cpsc 2150 exam 2 questions and correct answers
Also available in package deal