首页
外语
计算机
考研
公务员
职业资格
财经
工程
司法
医学
专升本
自考
实用职业技能
登录
计算机
执行下列代码之后,输出的结果为______。 public class ex27 { public static void main(String[] args) {
执行下列代码之后,输出的结果为______。 public class ex27 { public static void main(String[] args) {
admin
2012-12-13
31
问题
执行下列代码之后,输出的结果为______。 public class ex27 { public static void main(String[] args) { iht x=7; int y=15; boolean bb=(127|x)>7&&(-128∧y)<15; System.out. println(bb); } }
选项
A、true
B、0
C、1
D、false
答案
A
解析
转载请注明原文地址:https://kaotiyun.com/show/PR2p777K
本试题收录于:
二级Java题库NCRE全国计算机二级分类
0
二级Java
NCRE全国计算机二级
相关试题推荐
获得用户输入的以逗号分隔的3个数字:a、b、c,以a为起始数值,b为差,c为数值的数量,产生一个递增的等差数列,将这个数列以列表格式输出,请完善“PY103.py”中代码。试题程序:#请在________处使用一行代码或表达式替换#注意:请不要修改其
以下关于程序设计语言的描述,错误的选项是()。
以下关于程序设计语言的描述中,错误的是()。
下面属于良好程序设计风格的是()。
结构化程序设计风格强调的是()。
在考生文件夹下有一个文件PY103.py,在横线处填写代码,完成如下功能。程序接收用户输入的一个数字并判断是否为正整数,如果不是正整数,则显示“请输入正整数”并等待用户重新输入,直至输入正整数为止,并输出该正整数。示例如下。输入:请输入
在考生文件夹下有一个文件PY102.py,在横线处填写代码,完成如下功能。社会平均工作时间是每天8小时(不区分工作日和休息日),一位计算机科学家接受记者采访时说,他每天的工作时间比社会平均工作时间多3小时。如果这位科学家的当下成就值是1,假设每工作1小时成
在考生文件夹下有一个文件PY101.py,在横线处填写代码,完成如下功能。程序接收用户输入的5个数,以逗号分隔。将这些数字按照输入顺序输出,每个数字占10个字符宽度,右对齐,所有数字显示在同一行。示例如下。输入:23,42,543,56
在考生文件夹下有一个文件PY201.py,在横线处填写代码,完成如下功能。利用random库和turtle库,绘制5个圆圈并显示在屏幕上,圆圈的半径和圆心的坐标由randint()函数产生,圆心的x和y坐标的范围为[﹣100,100],半径的范围为[20,
随机试题
京师同文馆创办于()
益气渗湿法的代表方是
患者,女,胸痛10天后来院就诊,心电图检查正常,怀疑为急性心肌梗死,检查一系列生化指标。肌酸肌酶在急性心肌梗死几小时可见升高
月经的至竭、孕育与何脉息息相关( )维持阴阳脉气相对平衡,调节月经的正常来潮主要是( )
【2004年第60题】热轧钢筋的强度标准值是根据以下哪一项强度确定的?
在国际税收中,自然人居民身份的判定标准有()。
下列各项预算中,预算期间始终保持一定时期跨度的预算方法是()。
下列选项中,由学习引起的行为变化是()
未来十大预测美国《未来学家》杂志2008年11/12月号(提前出版)发表文章,题目是“2009年展望”。这是世界未来学协会最新搜集的70多项预测的一部分。该刊对2009年及以后的十大预测如下:预测一:到2030年,每个人的一言一行都将被记录
“以形写神”说最早由_______提出来的。
最新回复
(
0
)