This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin Cookbook and have Ken Kousen on-line!
See this thread for details.
Win a copy of Kotlin Cookbook this week in the Kotlin forum!

Eduard Gizatullin

Greenhorn
+ Follow
since Jan 09, 2020
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Eduard Gizatullin

Lambda of option D declares a local variable with the same name as parameter, it isn't compiled,  thus D is incorrect
Seemingly wrong answer for question 11 chapter 2
Ok, thanks for explanation, this is some basics most of us are familiar with. But for those book readers who feel not so confident about the context, it sounds ambiguously, IMHO of course
Yeah, may be the book authors have some time and reason to change the explanation of D item


The next point to improve I suggest is in page 91. Chapter 2, paragraph 2

...we have declared these constructors with default or package-level access...


Seems it better to omits 'or'
ISBN 978-1-119-06790-0

549 page, Chapter 1 mock explanation, answer #19:
The answer is correct. There's a statement that D is compiling. Actually non-static nested classes may not have a static members.