You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/multi_file_programs/the_anonymous_main_class.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ We call it anonymous because we never gave it a name.
15
15
16
16
We call it the main class because you are only allowed to skip naming a class if it is the one you use to start your program, and that requires a `void main()` method.
17
17
18
-
If you take any code we've produced up until now and put wrap it with `class Main {}` it will continue to work as-is.
18
+
If you take any code we've produced up until now and wrap it with `class Main {}` it will continue to work as-is.
0 commit comments