To make a variable defined in a class accessible only to methods defined in the classes in same package, which of the following keyword should be used. Select the one correct answer
发布于 2021-02-15 03:24:47
【单选题】 A By using the keyword private before the variable B By using the keyword protected before the variable C By using the keyword public before the variable D The variable should not be preceded by any of the above mentioned keywords