Can Two Different Functions Have Local Class With Same Name #297
Can two different functions have local class with same name?
This multiple choice question (MCQ) is related to the book/course
gs gs111 OOP Object Oriented Programming Java.
It can also be found in
gs gs111 Class Members & Types - Object Oriented Programming MCQ: Local Class - Quiz No.2.
Can two different functions have local class with same name?
Yes, since local
No, names must be different
No, scope doesn’t work here
No, ambiguity arises