Java - Packages and Access Control
You want to create a Java class with a public method that can be called from any other class, but the class itself should only be accessible within its package. Which of the following is correct?
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions