题海
让大学四年没有难题
首页
搜题
登陆
题目详情
填空题
System.out.println(Math.pow(2,10));的运行结果
查看答案
学科:
JAVA程序设计
时间:
2024-04-22 15:23:41
相关题目
相关作业
题目1
填空题
两种方法产生1-5的随机整数:int n= ;另一种方法:Random rd=new Random();int m=
题目2
填空题
Java提供的与日期相关的类和接口主要有: (该类大部分构造方法和一般方法都已经不推荐使用)、 、GregorianCalendar和DateFormat、SimpleDateFormat等
题目3
填空题
经常进行增删改操作的字符串尽量采用 或StringBuilder类来代替字符串常量的 类,以提高程序运行效率
题目4
填空题
字符数组ca转换为String代码:char[] ca= {'a', 'b', 'c'}; String s=new ;String转换为字符数组代码:char[] ca= s.
题目5
填空题
System.out.println(Math.pow(2,10));的运行结果
题目6
填空题
随机生成'A'-'Z'之间的一个大写字母的代码:( )(Math.random()* +65)
题目7
填空题
System.out.println("smiles".substring(1,5));在控制台上输出: System.out.println("Let's make things better".replace ('e', 'o'));在控制台上输出: (注意不要增加减少空格)System.out.println("abcdefabcdaaa".indexOf('c'));在控制台上输出: System.out.println("012346".matches("\\d{17}"));在控制台上输出: System.out.println("0123456789".charAt(5));在控制台上输出
题目8
填空题
StringBuffer bf1 = new StringBuffer("0123456");System.out.println(bf1.length());控制台输出: System.out.println(bf1.capacity());控制台输出
题目9
填空题
Date now=new Date(); SimpleDateFormat sdf=new SimpleDateFormat("yyyy-MM-dd"); String time=sdf. (now);String s="2020-05-01";Date date=sdf. (s)
下载
题海APP
拍照搜题更快捷
海量题库
无搜索限制
快捷拍照搜题
扫描他!然后带走我~