Question: What is the scope of a class nested inside another class?

  1. Protected scope
  2. Private scope
  3. Global scope
  4. Depends on access specifier and inheritance used

Answer: The correct answer of the above question is Option D:Depends on access specifier and inheritance used