Location:
Search - java arr
Search list
Description: JAVA的基础程序,实现对简单数列的索引以及排序。
Platform: |
Size: 1948 |
Author: 123456 |
Hits:
Description: 画一个美观的箭头,有好多的可以学习的东西-A beautiful painting arrow can have a lot to learn
Platform: |
Size: 1024 |
Author: wangle |
Hits:
Description: 常用的数据结构--Java实现的源代码,主要是基于数组的查找算法实现。-Commonly used data structure- Java source code to achieve is mainly based on the realization of an array of search algorithm.
Platform: |
Size: 13312 |
Author: shengang |
Hits:
Description: JAVA的基础程序,实现对简单数列的索引以及排序。-JAVA the basis of the procedures to realize a simple count of the index and sort out.
Platform: |
Size: 2048 |
Author: 123456 |
Hits:
Description: java库存程序
1.显示命令执行菜单
2.显示制造商名称
3.显示可以得到的存货量
4.至少五个产品
-CP2004:03 Object-Oriented Programming with Java Marking Criteria Sheets
CPC
2James Cook University 3
demonstrate your continuous effort during the weeks leading to the
submission. It is not sufficient to make a single import of your final version. [-
3]
Learning Achievement
6.1, 2.4,
3.4 Programming style as per http://java.sun.com/docs/codeconv/ , see example
http://java.sun.com/docs/codeconv/html/CodeConventions.doc10.html#182 .
Three or more java source files will be inspected at random [-1 marks for
each violation of the following rules]:
1. Class names: SomeClass variables: classVar1
2. No magic numbers. All constants are final, e.g. final SIZE = 10 (not
arr[10])
3. all class variables/attributes are private
4. space after java keywords since keywords are not functions, e.g. if (…)
[not if(…)]. No spaces after method names
5. if statements always use braces {}, see
http://java.sun.com/docs/codeconv/html/CodeConventions.doc6.html#449
Platform: |
Size: 5120 |
Author: 李南 |
Hits:
Description: 现在初学JAVA的同学。。。。。。我特地写了一个输入三个数字,然后按升序排列显示的小程序。值得初学者借鉴。-
public static void main(String[] args) throws Exception
{
int[] arr = new int[3]
for (int i = 0 i < arr.length i++)
{
Scanner input = new Scanner(System.in)
System.out.print("请输入第"+ (i+ 1)+ "个数:")
arr[i] = input.nextInt()
}
selectSort(arr)
printArray(arr)
}
private static void printArray(int[] arr)
{
System.out.print("[")
for (int i=0 i<arr.length i++)
{
if (i!=arr.length-1)
System.out.print(arr[i]+" ")
else
System.out.println(arr[i]+"]")
}
}
Platform: |
Size: 1024 |
Author: liujia |
Hits:
Description: 这是一款java视频播放器 具有可以播放java视频的源码-This is a java video player can play java video source
Platform: |
Size: 1024 |
Author: 黄建 |
Hits:
Description: 编写java程序,要求:实现数组arr中索引位置是2 的元素替换为“bb”,并将替换前数组中的元素和替换后数组中的元素全部输出。-Write a Java program, requirements: realize index position is 2 element in the array arr is replaced by "bb", and will replace the former and replace all of the elements in an array of the elements in an array output.
Platform: |
Size: 3072 |
Author: 沈广洋 |
Hits:
Description: arrays.sort(arr) //java 中已经定义好的一种排序方式。在开发中,对数组排序,要使用这个语句
Platform: |
Size: 112640 |
Author: 小宁 |
Hits:
Description: 1.给出5个人的工资,如果某个人的工资小于3000,给与1000奖金后,输出最后的结果
arry7.java给出5个人的年龄,将小于18岁的从数据库中清除-1. given 5 individual wages, if a person' s salary is less than 3000, and 1000 to give bonuses, output the final result arry7.java given 5 individual' s age, will be less than 18 years removed the
Platform: |
Size: 1024 |
Author: 刘永芳 |
Hits:
Description: 简单的java数组倒序输出和数组相乘的例子,当作练练手的简单小练习(Simple java array reverse output examples)
Platform: |
Size: 2048 |
Author: 雪月花
|
Hits: