题目详情
当前位置:首页 > 职业培训考试
题目详情:
发布时间:2023-10-16 17:06:49

[单项选择]下列程序的执行结果是( )。    public class Testgg {     public static void main(String args[]) {       float t=9.0f;       int q=5;       System.out.println((t++)*(- -q));     }    }
A. 12
B. 11
C. 10
D. 9

更多"下列程序的执行结果是( )。    public class T"的相关试题:

[单项选择]下列程序的执行结果是( )。    public class Testgg {     public static void main(String args[]) {       float t=9.0f;       int q=5;       System.out.println((t++)*(- -q));     }    }
A. 12
B. 11
C. 10
D. 9
[单项选择]下列程序的执行结果是   public class Testgg {    public static void main(String args[]) {      float t=9.0f;      int q=5;      System.out.println((t++)*(- -q));    }   }
A. 40
B. 36
C. 36.0
D. 40.0
[单项选择]下列程序执行结果是 #include<iostream.h> class A { public: int a; A( ):a(10){tout<<a<<endl;} }; void main( ) { A obj1; A obj2(obj1); cout<<" "<<obj2.a<<endl; }
A. 10 10
B. 编译错误缺少拷贝构造函数
C. 10 随机数
D. 随机数随机数
[单项选择]下列程序的执行结果是( )。    public class Testaa {     public static void main(String args[ ])      { System.out.println(5/2);     }    }
A. 复选框
B. 列表框
C. 命令按钮
D. 选项组

我来回答:

购买搜题卡查看答案
[会员特权] 开通VIP, 查看 全部题目答案
[会员特权] 享免全部广告特权
推荐91天
¥36.8
¥80元
31天
¥20.8
¥40元
365天
¥88.8
¥188元
请选择支付方式
  • 微信支付
  • 支付宝支付
点击支付即表示同意并接受了《购买须知》
立即支付 系统将自动为您注册账号
请使用微信扫码支付

订单号:

请不要关闭本页面,支付完成后请点击【支付完成】按钮
恭喜您,购买搜题卡成功
重要提示:请拍照或截图保存账号密码!
我要搜题网官网:https://www.woyaosouti.com
我已记住账号密码