Multiple markers at this line
- Line breakpoint:Point [line: 10] - Point(int, int)
- You are using a preview language feature that may or may not be supported in a future
release
- The public type Point must be defined in its own file
不好意思,我的record Point前面的public没有去掉。
请问为什么这里的public 会报错??
一个文件只能有一个public class
Sign in to make a reply
苏客3719
Multiple markers at this line
- Line breakpoint:Point [line: 10] - Point(int, int)
- You are using a preview language feature that may or may not be supported in a future
release
- The public type Point must be defined in its own file