In one of the previous tasks, there was the following info provided:
For each class, a separate file is created. The name of the file matches the name of the class.
However, in this particular exercise, I can see three different classes: Solution, Man and Woman within one file.
Can you please explain?
Stanislav Mayer
Level 15
Separate file for each class
Resolved
Comments (2)
- Popular
- New
- Old
You must be signed in to leave a comment
Guadalupe Gagnon
12 November 2019, 16:17
Classes can contain inner classes.
+1
Stanislav Mayer
17 November 2019, 09:20
thank you, I can see this topic is discussed in more detail in chapter 5 and in the following article:
https://codegym.cc/groups/posts/12-base-class-constructors--
0