[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"$fAn4OfZDgqCTYjF1n0cwPiWQTLCBBlWUkTu8hj0AI8AE":3},{"id":4,"source":5,"question":6,"options":7,"answer":12,"related":13,"type":24,"origin":111,"createTime":26},146344253,"v1","在JAVA中,类Animal中的方法PrintA()定义如下: public void printA(){ int a=10; int result=10%3; System.out.println(result);} 在类Dog中方法printA()定义如下: public void printA(){ int a=10; system.out.println(a\u002F3);} Dog类的定义如下: class Dog extends animal{…} 若有语句: Animal animal = new Dog(); Animal.printA(); 则这段代码输出为(选一项)",[8,9,10,11],"0","3.3333","2","3",[],[14,27,37,47,57,67,77,87,97,107],{"id":15,"source":5,"question":16,"options":17,"answer":22,"related":23,"type":24,"origin":25,"createTime":26},146344244,"若在某一个类定义中有如下的方法: final void aFinalFunction(); 则该方法属于何种类型",[18,19,20,21],"本地方法","静态方法","最终方法","抽象方法",[],[],0,null,"2024-05-27T08:05:15+08:00",{"id":28,"source":5,"question":29,"options":30,"answer":35,"related":36,"type":24,"origin":25,"createTime":26},146344245,"以下描述不正确的有",[31,32,33,34],"final class不能被继承","final变量不能被修改","final成员变量可以在构造方法中赋值","final方法不能被覆盖(overriden)",[],[],{"id":38,"source":5,"question":39,"options":40,"answer":45,"related":46,"type":24,"origin":25,"createTime":26},146344246,"在Java中,在使用JDBC时,对于多次调用同一条SQL语句的情况,使用()通常会提高效率(选一项)",[41,42,43,44],"Statement","CallableStatement","PrepareStatement","ParameterStatement",[],[],{"id":48,"source":5,"question":49,"options":50,"answer":55,"related":56,"type":24,"origin":25,"createTime":26},146344247,"public class Test { public static void main(String args[]){ EqTest e = new EqTest(); e.show();}} class EqTest{ String s = \"Java\"; String s2 = \"java\"; public void show(){ \u002F\u002F在这儿放置测试代码 {System.out.println(\"相等\");} else {System.out.println(\"不相等\");} }} 在上面的Java代码的注释行位置,放置()测试代码能输出\"相等\"结果(选一项)",[51,52,53,54],"if(s==s2)","if(s.equals(s2))","if(s.equalsIgnoreCase(s2))","if(s.noCaseMatch(s2))",[],[],{"id":58,"source":5,"question":59,"options":60,"answer":65,"related":66,"type":24,"origin":25,"createTime":26},146344248,"给定java代码,如下:运行时,会产生()类型的异常(选一项) String s = null; s.concat(\"abc\")",[61,62,63,64],"AritthmeticException","NullpointerException","IOException","EOFException",[],[],{"id":68,"source":5,"question":69,"options":70,"answer":75,"related":76,"type":24,"origin":25,"createTime":26},146344249,"给定如下JAVA 程序片断: class A{ public A(){ System.out.println(\"A\"); } } class B extends A{ public B(){ System.out.println(\"B\"); } public static void main(String[] args){ B b = new B(); } } 上述程序将(选一项)",[71,72,73,74],"不能通过编译","通过编译,输出为: A B","通过编译,输出为: B","通过编译,输出为: A",[],[],{"id":78,"source":5,"question":79,"options":80,"answer":85,"related":86,"type":24,"origin":25,"createTime":26},146344250,"在java的异常处理中,能单独与finally语句一起使用的块是(选一项)",[81,82,83,84],"try","catch","throw","throws",[],[],{"id":88,"source":5,"question":89,"options":90,"answer":95,"related":96,"type":24,"origin":25,"createTime":26},146344251,"给定某Java程序的main方法如下,该程序编译运行的结果是(选一项) public static void main(String[]args){ String str = null; str.concat(\"abc\"); str.concat(\"def\"); System.out.println(str); }",[91,92,93,94],"null","abcdef","编译错误","运行时出现异常",[],[],{"id":98,"source":5,"question":99,"options":100,"answer":105,"related":106,"type":24,"origin":25,"createTime":26},146344252,"在Java中,()对象可以使用键\u002F值的形式保存数据(选一项)",[101,102,103,104],"ArrayList","HashSet","HashMap","LinkedList",[],[],{"id":4,"source":5,"question":6,"options":108,"answer":109,"related":110,"type":24,"origin":25,"createTime":26},[8,9,10,11],[],[],{"courseName":112,"courseImg":113,"workName":114,"workId":115,"count":116,"courseId":117},"JSP企业级开发","https:\u002F\u002Fp.ananas.chaoxing.com\u002Fstar3\u002Forigin\u002Fb3ed93cb20d23298b43290cc7204ff02.png","JAVA面向对象","exam_122547557",50,"585ab2cd60c0165ed7e3c255a787ac11"]