Oops online test, online practice test, exam, quiz
Online Practice Test
1. Which of the following is true for package access modifier?
The Class which has a Public Modifier can be accessed by all the classes from the particular package and also from different packages.
both a and d
The Class which has the default modifier cannot be accessed by all the classes of that particular package.
The class which has private as the modifier cannot be accessed by any class even with in the package
View Answer and Discussion
Copyright Â© 2008 - 2015 CareerRide.com. All rights reserved.
Follow us on Facebook!