As long as you mean static nested classes, in kotlin a nested class is static by default. To make it a non-static inner class it needs to have a inner flag.
3 Likes
As long as you mean static nested classes, in kotlin a nested class is static by default. To make it a non-static inner class it needs to have a inner flag.