What will be the scope of a protected class ?
5 Likes
The scope of a protected class is protected. It can be accessed from all the classes within the same package as well as from the sub classes in the other packages.
Answered By
4 Likes
Define scope and visibility.
What will be the scope of a public class ?
What will be the scope of a default class ?
What will be the scope of a private class?