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?
Separate file for each class
You must be signed in to leave a comment
12 November 2019, 16:17
Classes can contain inner classes.
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--