Review Questions |
4.17 |
Given the following definition of a class, which fields are accessible from outside the package com.corporation.project?
package com.corporation.project; public class MyClass { int i; public int j; protected int k; private int l; } Select the two correct answers.
|
4.18 |
How restrictive is the default accessibility compared to public, protected, and private accessibility?
Select the one correct answer.
|
4.19 |
Which statement is true about accessibility of members?
Select the one correct answer.
|