CSE 205 Already Passed Exam Questions and CORRECT Answers
If no visibility modifier is defined for a method, the method will be treated as public by default and it can be accessed by any other classes from anywhere.False A wrapper class represents a particular primitive data type. In total there are 7 wrapper classes in Java, except the one for boolean data type.False The purpose of inheritance is "code reuse". i.e. instead of repeating similar data/method definitions in several classes, we can define one class with the common instance data/methods and let other classes inherit these data/methods.True An aggregation relationship defines a "has-a" relationship, such as the relationship between class Company and Address in our assignment #4.True In software engineering, a walk through refers to a meeting in which several people carefully review a design or section of code to see if the design satisfies requirement or the implementation represents the design.True
Written for
- Institution
- CSE 205
- Course
- CSE 205
Document information
- Uploaded on
- April 22, 2024
- Number of pages
- 22
- Written in
- 2023/2024
- Type
- Exam (elaborations)
- Contains
- Questions & answers
Also available in package deal