Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Nested Classes in the Exam  RSS feed

Tony Alicea
Posts: 3226
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Before I forget, the term "inner classes" in the exam includes static nested classes. So be careful. In other words, use "loose language" when reading "inner classes" in the exam. I hope they change the wording in the future. I had to guess that's what they meant, and the only thing that gave me a hunch was the simplicity of the topic as treated in the exam. It doesn't try to get too technical on that.

In 'real life' (I hate that term; how many lives are there? I know of only one) inner classes do not include static nested classes. The term nested should be used. Inner are one type of nested classes.
FINALLY: Remember I just got a random sampling of 59 questions and the test is not always the same.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!