Computer Science, asked by chsaikumar1227, 2 months ago

9. What is the scope of a class nested inside another class? a) Protected scope b) Private scope c) Global scope d) Depends on access specifier and inheritance used​

Answers

Answered by ritumohansharma3
0

Answer:

It depends on the access specifier and the type of inheritance used with the class, because if the class is inherited then the nested class can be used by subclass too, provided it's not of private type. 10.

Answered by sonikumarigopalpur98
0

Answer:

What is the scope of a class nested inside another class? Explanation: It depends on the access specifier and the type of inheritance used with the class, because if the class is inherited then the nested class can be used by subclass too, provided it's not of private type.

I hope answer is good please supporting me friends ❤️

Similar questions