首页
外语
计算机
考研
公务员
职业资格
财经
工程
司法
医学
专升本
自考
实用职业技能
登录
计算机
给出下列的程序段,则哪个选项返回true? ( ) String s="hello"; String t="hello"; char c[]={’h’,’e’,’l’,’l’,’o’};
给出下列的程序段,则哪个选项返回true? ( ) String s="hello"; String t="hello"; char c[]={’h’,’e’,’l’,’l’,’o’};
admin
2009-02-15
14
问题
给出下列的程序段,则哪个选项返回true? ( ) String s="hello"; String t="hello"; char c[]={’h’,’e’,’l’,’l’,’o’};
选项
A、s.equals(t);
B、Lequals(c);
C、s==t;
D、t==c;
答案
1
解析
转载请注明原文地址:https://kaotiyun.com/show/S3np777K
本试题收录于:
二级Java题库NCRE全国计算机二级分类
0
二级Java
NCRE全国计算机二级
相关试题推荐
数据字典(DD)所定义的对象都包含于
下面不属于需求分析阶段任务的是
软件按功能可以分为:应用软件、系统软件和支撑软件(或工具软件)。下面属于应用软件的是
假定一个表单里有一个文本框Text1和一个命令按钮组CommandGroup1。命令按钮组是一个容器对象,其中包含Command1和Command2两个命令按钮。如果要在Command1命令按钮的某个方法中访问文本框的Value属性值,不正确的表达式是
数据库管理系统中负责数据模式定义的语言是
假设在表单设计器环境下,表单中有一个文本框,且已经被选定为当前对象,现在从属性窗口中选择Value属性,然后在设置框中输入“={^2001-9-10}-{^2001-8-20}”,请问以上操作后,文本框Value属性值的数据类型是
对于长度为n的线性表,在最坏情况下,下列各排序法所对应的比较次数中正确的是
一棵二叉树中共有80个叶子结点与70个度为1的结点,则该二叉树中的总结点数为
在VisuaIFoxPro中,每一个工作区中最多能打丌数据库表的数量是
串的长度是______。
随机试题
眼眶扫描哪条基线更接近于视神经走向
A.按压子宫底部,轻拉脐带助胎盘娩出B.牵拉脐带助其娩出C.手取胎盘D.加强宫缩可用缩宫素,麦角新碱E.刮宫术胎盘剥离后正确处理是()
A、燥湿化痰,消痞散结B、泻肺平喘,利水消肿C、温肺祛痰,利气散结D、消痰行水,降逆止呕E、清肺化痰,软坚散结旋覆花的功效是
男,24岁。胃穿孔并发弥漫性腹膜炎手术后6天,出现发热,寒战,右上腹疼痛,伴有呃逆。首先考虑
患者,女性,27岁,急性阑尾炎术后。遵医嘱予静脉输液800ml,病区护士为其计划4小时滴完(点滴系数为15),则该护士为其调节的输液速度约为
[2007年第53题]水平梁AB由铰A与杆BD支撑,在梁上O处用小轴安装滑轮,轮上跨过软绳,绳一端水平地系于墙上,另端悬挂重力为W的物块(图4.3.3)。构件均不计自重。铰A的约束力大小为()。
投资分析师道德规范的三大原则有()。
下列各项中,关于存货计量的相关表述正确的是()。
在商品生产过程中,生产资料的价值是借助于生产者的
设总体X服从二项分布B(10,P),χ1,…,χn是取自总体X的一个简单随机样本值.求未知参数p的最大似然估计量.
最新回复
(
0
)