+ 1

Can we declare a class inside the function?

is it know as local class?

16th Dec 2016, 10:26 AM
Natarajan R
Natarajan R - avatar
1 Answer
+ 1
i don't know if it's possible in all languages, but for java i can say this is possible. i think in C++ it should also work, but I'm not sure.
16th Dec 2016, 1:32 PM
Peter