Question: Question 102 pts The has-a relationship occurs when a class has references to objects of other classes as members. This is called _______. instantiation composition
Question 102 pts
The has-a relationship occurs when a class has references to objects of other classes as members. This is called _______.
| instantiation |
| composition |
| information hiding |
| encapsulation |
Flag this Question
Question 112 pts
Which of the following is NOT true?
| enum constants are implicitly final |
| class instance variables are not implicitly final |
| enum constants are implicitly static |
| class instance variables are implicitly static |
Flag this Question
Question 122 pts
The JVM preforms automatic _______________ to reclaim the memory occupied by objects that are no longer used.
| class-wide cleanup |
| memory management |
| better housekeeping |
| garbage collection |
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
