1
Reply

Can we declare class as protected?

sakshi goyal

sakshi goyal

12y
1.4k
0
Reply

    Yes we can declare a class as protected.The objects of protected class are only accessible inside the package and outside the package but only by inheritance