InterviewSolution
Saved Bookmarks
| 1. |
Can two different functions have local class with same name?(a) Yes, since local(b) No, names must be different(c) No, scope doesn’t work here(d) No, ambiguity arisesThe question was asked during a job interview.Question is from Local Class in division Class Members & Types of Object Oriented Programming |
|
Answer» The correct ANSWER is (a) YES, since local |
|