试题详情单项选择题 现有: class TestFoo f int x; String y; int getX() { return x; } String getY() {return y; } void setX (int x) { int Z=7: this.x=x; } 可以添加多少个修饰符来封装此类?() A、5B、4C、3D、2正确答案:D答案解析:关注下方微信公众号,在线模考后查看热门试题 11. List 下列Map的泛型声明中正确的是哪项?()Java源文件的后缀名是?()̳ public class&e 1. public&ensp public class&e简述面向过程问题求解和面向对象问题求解的 class java&ensWhat is thJDK工具javadoc的作用是哪项?(Which capabiliand the co AnInterface is String foo&ensWhich two̳编写Applet程序实现一个计算器,包括实现了Set接口的类是哪项?()QWhich statement下面有关java类加载器,说法正确的是(A Button