摘要: 1.以下代码无法编译: 如果类提供了一个自定义的构造方法,将导致系统不再提供默认构造方法。 正确调用class类: package 博客; public class Test { public static void main(String[] args) { int a=6; Foo obji=n 阅读全文
posted @ 2022-10-05 17:26 20214046王垚基 阅读(419) 评论(0) 推荐(0)