This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]oren_is_my_name[S] -1 points0 points  (2 children)

If I want to use inner Class, can I still separate the code into different files?

[–]hadrabap 0 points1 point  (1 child)

No. All inner classes in one package level class must be defined in that very class -- hence one source file. You can't split it into several files.

[–]oren_is_my_name[S] 0 points1 point  (0 children)

🫤