解决方法:要么换个类名,要么换个存储位置
类名冲突出现以下字符:Exception in thread "main" java.lang.NoSuchMethodError: Person: method <init>()V not found
at StaticDemo.main(StaticDemo.java:15)
解决方法:要么换个类名,要么换个存储位置
类名冲突出现以下字符:Exception in thread "main" java.lang.NoSuchMethodError: Person: method <init>()V not found
at StaticDemo.main(StaticDemo.java:15)