How many local classes can be defined inside a single function?
(a) Only 1
(b) Only 3
(c) Only 5
(d) As many as required
The question was asked in examination.
Origin of the question is Local Class in section Class Members & Types of Object Oriented Programming