Page 1 of 1

java

Posted: Sun May 15, 2022 12:55 pm
by answerhappygod
java
Java 1
Java 1 (29.38 KiB) Viewed 77 times
QUESTION 9 Access Specifiers are predefined keywords used to help JVM understand the scope of a variable, method, and class. We have the following access specifiers. O A. Public O B. Private OC. Package O D. Default O E. Protected O F. Static QUESTION 10 What are the advantages of Packages in Java? There are various advantages of defining packages in Java. A. Packages avoid the name clashes. B. The Package provides easier access control. C. We can also have the hidden classes that are not visible outside and used by the package. D. It is easier to locate the related classes.