网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
( 难度:中等)Java语言中,String类的IndexOf()方法返回的类型是?
A.int
B.Int16
C.Int32
D.long
A.int
B.Int16
C.Int32
D.long
参考答案
更多 “( 难度:中等)Java语言中,String类的IndexOf()方法返回的类型是?A.intB.Int16C.Int32D.long” 相关考题
考题
在Java语言中,能够实现字符串连接的方法是()A.String sub string(intstart point)B.String concat(Strings)C.String replace(charold,charnew)D.String trim()
考题
关于Java语言中String类型描述不正确的是( )。A.是Java提供的标准包java.lang中封装了的类String,用于处理不变字符串B.不变字符串一旦创建,其内容就不能改变,在进行查找、比较、连接等操作时,既不能输入新字符,也不能改变字符串的长度C.String类的对象实例是可改变的D.C语言中不存在String类型
考题
使用String对象的indexOf()方法查找字符串”helloworld”中是否包含G,下列语句描述正确的是()。A、字符串"helloworld"中不包含G字符,indexOf返回0B、字符串"helloworld"中不包含G字符,indexOf返回nullC、字符串"helloworld"中不包含G字符,indexOf返回-1D、字符串"helloworld"中不包含G字符,indexOf返回1
考题
在Java语 言中,为了使用getImage的方法,你需要导入的类是()。 A、Java.awt.ImageB、Java.applet.Applet.ImageC、Java.awt.GraphicsD、Java.awt.Graphics.Image
考题
下列不是 String 类的方法的是()A、charAt(int index)B、indexOf(String s)C、beginWith(String s)D、endsWith(String s)
考题
在JavaScript中,下列关于String对象的charAt()和indexOf()方法理解正确的是()。A、charAt()方法是获取位于指定索引位置的字符B、indexOf()方法是查找字符或字符串的位置,返回字符串出现的所有位置C、charAt()方法的参数可以为一个或两个D、indexOf()方法的参数为指定的索引值
考题
单选题在Java语 言中,为了使用getImage的方法,你需要导入的类是()。A
Java.awt.ImageB
Java.applet.Applet.ImageC
Java.awt.GraphicsD
Java.awt.Graphics.Image
考题
单选题使用String对象的indexOf()方法查找字符串”helloworld”中是否包含G,下列语句描述正确的是()。A
字符串helloworld中不包含G字符,indexOf返回0B
字符串helloworld中不包含G字符,indexOf返回nullC
字符串helloworld中不包含G字符,indexOf返回-1D
字符串helloworld中不包含G字符,indexOf返回1
考题
单选题在Java语 言中,为了使用getImage的方法,你需要导入的类是()。A
Java.awt.ImageB
Java.applet.Applet.ImageC
Java.awt.GraphicsD
Java.awt.Graphics.Image
考题
单选题使用String对象的indexOf()方法查找字符串”helloworld”中是否包含G,下列语句描述正确的是()。A
字符串helloworld中不包含G字符,indexOf返回0B
字符串helloworld中不包含G字符,indexOf返回nullC
字符串helloworld中不包含G字符,indexOf返回-1D
字符串helloworld中不包含G字符,indexOf返回1
考题
单选题在Java语 言中,为了使用getImage的方法,你需要导入的类是()。A
Java.awt.ImageB
Java.applet.Applet.ImageC
Java.awt.GraphicsD
Java.awt.Graphics.Image
考题
单选题在Java语 言中,为了使用getImage的方法,你需要导入的类是()。A
Java.awt.ImageB
Java.applet.Applet.ImageC
Java.awt.GraphicsD
Java.awt.Graphics.Image
考题
( 难度:中等)java程序运行入口的main方法的返回类型是()。A.staticB.voidC.intD.boolean
热门标签
最新试卷