15.下列代码的执行结果是: public class Test1{ public static void main(String args[]){ float t=9.0f; int q=5; System.out.println((t++)*(--q)); } } A、40 B、40.0 C、36 D、36.0
A B C D
16.下列程序的输出结果为 public class Short{ public static void main(String args[]){ StringBuffer s=new StringBuffer("Hello"); if((s.length()>5)&&(s.append("there").equals("False"))); System.out.println("value is "+s); } } A、value is Hello B、value is thereHello C、value is Hellothere D、编译错误