数组遍历
来源:互联网 发布:背单词的软件 编辑:程序博客网 时间:2024/06/02 03:04
package Test;
public class Test1 {
public static void main(String[] args) {
boolean [] input={false,true};
for(int i=0;i<input.length;i++)
System.out.println(input[i]);
String [] input1={"1","2","3"};//字符串
for(int j=0;j<input1.length;j++)
System.out.println(input1[j]);
}
}
public class Test1 {
public static void main(String[] args) {
boolean [] input={false,true};
for(int i=0;i<input.length;i++)
System.out.println(input[i]);
String [] input1={"1","2","3"};//字符串
for(int j=0;j<input1.length;j++)
System.out.println(input1[j]);
}
}
阅读全文
0 0
- 遍历数组
- 遍历数组
- 数组遍历
- 遍历数组
- 遍历数组
- 遍历数组
- 遍历数组
- 数组遍历
- 遍历数组
- 遍历数组
- 遍历数组
- 遍历数组
- 遍历数组
- 遍历数组
- 遍历数组
- 遍历数组
- 数组遍历
- 数组遍历
- 程序中打印的
- phantomjs 简介
- 一步一图搭建-分布式服务器部署之mysql集群-主从复制与读写分离
- C++集合的模板类 交并集
- 11.3 欢乐爆零赛 知识总结 (Hanoi Rank Tree )
- 数组遍历
- 稳定性、防故障方法论
- python的反射机制之getattr(), setattr(), hasattr(), delattr()
- 多线程的同步与不同步
- python中的@与__call__()函数
- 双缓冲技术
- 日常Exception(二):Errors occurred during the build. Errors running builder 'DeploymentBuilder' on ...
- spring单元测试
- cmake构建工程时出现『1>LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrup