1 Star 0 Fork 0

CS-IMIS-23/20172305TX

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
_windows
codestyles
src
Chap1
Chap10
Chap11
Chap12
Chap13
Chap2
Chap3
Chap4
Chap5
Chap6
Chap7
Chap8
Account1.java
Account2.java
BasicArray.java
DVD.java
DVDCollection.java
Family.java
Grade.java
GradeRange.java
LetterCount.java
Movies.java
NameTag.java
PP8_1.java
PP8_5.java
Primes.java
ReverseOrder.java
SodaSurvey.java
Testaccounts.java
TwoDArray.java
VariableParameters.java
computeAverage.java
Chap9
Huffman
Practice
ShiYan1
ShiYan2
cn/edu/besti/cs1723/TX2305
eighthweek
fourthweek
ninthweek
secondweek
seventhweek
shiyan5
sixthweek
tenthweek
test/Practice
thirdweek
Pascal.java
SocketClient.java
XAMPPworld.java
test
.gitignore
LICENSE
README.md
debugger.renderers.xml
debugger.xml
jdk.table.xml
statistics.sh.java
vcs.xml
克隆/下载
BasicArray.java 1007 Bytes
一键复制 编辑 原始数据 按行查看 历史
//*************************************************************************************
// BasicArray.java Author: Lewis/Loftus
//
// Demonstrate basic array declaration and use.
//*************************************************************************************
public class BasicArray
{
//--------------------------------------------------------------------------------------------------
// Creates an array, fills it with various integer values, modifies one value, then prints them out.
//--------------------------------------------------------------------------------------------------
public static void main(String[] args)
{
final int LIMIT = 15, MULTIPLE = 10;
int[] list = new int[LIMIT];
// Initialize the array values
for (int index = 0; index < LIMIT; index++)
list[index] = index * MULTIPLE;
list[5] = 999; // change one array value
// Print the array values
for (int value : list)
System.out.print(value + " ");
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/CS-IMIS-23/20172305TX.git
git@gitee.com:CS-IMIS-23/20172305TX.git
CS-IMIS-23
20172305TX
20172305TX
master

搜索帮助