can you private inherite class-level variables ?

Ans:- Yes, but they are not accessible. Although they are not visible or accessible via the class interface, they are inherited.

No comments:

Post a Comment