CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - array class
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Search - array class - List
[
JSP/Java
]
hm6
DL : 0
抽象类的使用 设计一个类层次,定义一个抽象类--形状,其中包括有求形状的面积的抽象方法。 ----继承该抽象类定义三角型、矩形、圆。 ----编写一个主程序将一个三角形、矩形、圆存入一个数组中,将数组中各类图形的面积输出。-kind of abstract designs a class hierarchy, the definition of an abstract category -- shape, These include the shape of the area for an abstract method. ---- Succession of the abstract category definition triangular, rectangular, round. ---- Prepare a main program will be a triangle, rectangle, circle into an array, various array of graphics output of the area.
Date
: 2008-10-13
Size
: 1021byte
User
:
黄铭
[
JSP/Java
]
strout
DL : 0
设一个班有10名学生,每个学生有姓名、学号、成绩等信息,请利用对象数组的概念编程,求平均成绩。-set up a class had 10 students, with each student's name, school, results and other information. Please use the concept of object array programming, seeking average scores.
Date
: 2008-10-13
Size
: 1.94kb
User
:
行风
[
JSP/Java
]
wodetanke
DL : 0
全面运用所学的JAVA理论对所设计的类进一步完善,并学会使用数组存储游戏地图数据,并能运用图形绘制方法和一定的算法将地图在游戏中绘制出来,并能控制游戏角色在地图可行走区域运动。-comprehensive study of the use of Java theory designed to further improve the class, and learning how to use the array game map data storage, and will be able to use graphic drawing methods and certain algorithm maps for the game mapped, and can control the game in the role of maps can be running regional campaign.
Date
: 2008-10-13
Size
: 355.49kb
User
:
zhanglibin
[
JSP/Java
]
hm6
DL : 0
抽象类的使用 设计一个类层次,定义一个抽象类--形状,其中包括有求形状的面积的抽象方法。 ----继承该抽象类定义三角型、矩形、圆。 ----编写一个主程序将一个三角形、矩形、圆存入一个数组中,将数组中各类图形的面积输出。-kind of abstract designs a class hierarchy, the definition of an abstract category-- shape, These include the shape of the area for an abstract method.---- Succession of the abstract category definition triangular, rectangular, round.---- Prepare a main program will be a triangle, rectangle, circle into an array, various array of graphics output of the area.
Date
: 2026-01-19
Size
: 1kb
User
:
黄铭
[
JSP/Java
]
strout
DL : 0
设一个班有10名学生,每个学生有姓名、学号、成绩等信息,请利用对象数组的概念编程,求平均成绩。-set up a class had 10 students, with each student's name, school, results and other information. Please use the concept of object array programming, seeking average scores.
Date
: 2026-01-19
Size
: 2kb
User
:
行风
[
JSP/Java
]
wodetanke
DL : 0
全面运用所学的JAVA理论对所设计的类进一步完善,并学会使用数组存储游戏地图数据,并能运用图形绘制方法和一定的算法将地图在游戏中绘制出来,并能控制游戏角色在地图可行走区域运动。-comprehensive study of the use of Java theory designed to further improve the class, and learning how to use the array game map data storage, and will be able to use graphic drawing methods and certain algorithm maps for the game mapped, and can control the game in the role of maps can be running regional campaign.
Date
: 2026-01-19
Size
: 355kb
User
:
zhanglibin
[
JSP/Java
]
exp1
DL : 0
方法的重载,一个类中定义三个SORT()方法,其中一个是对二个数进行排序,一个是对三个数进行排序,一个是对一个数组进行排序-Method overloading, a class defined in the three SORT () method, one of which is the number two ranking, one is the number three ranking, one is sort of an array
Date
: 2026-01-19
Size
: 10kb
User
:
loveyounomore
[
JSP/Java
]
student
DL : 0
学员成绩管理系统(设计+代码)。用Java编写一个程序实现学员成绩管理,每个学员包括3门课的成绩,从键盘输入学员信息(最多输入20个,但最少并不知道),包括学号(String)姓名(String) 三门课成绩(用整形数组来存)计算出学员的平均成绩(float),按照学员平均成绩由大到小排序插入功能:在排序后的学员成绩表中插入一个学员的信息,要求插入后仍然保持成绩表有序删除功能:要求输入指定的学号,从学员信息表中删除该学员,删除后的成绩表保持有序 -Student achievement management system (designed+ Code). Using Java to prepare students to achieve a program performance management, each student, including three classes of results, students from the keyboard input information (input a maximum of 20, but at least did not know), including Student ID (String) Name (String) 3 class results (use of plastic to keep the array) to calculate the average student achievement (float), in accordance with the students grade point average insertion sort descending: In sort of the trainees after the results table, insert a student information requested remained after insertion delete function results in an orderly manner: for the importation of the designated school number, student information table from the deletion of the trainees, after the deletion of the results to maintain orderly
Date
: 2026-01-19
Size
: 114kb
User
:
bbrica
[
JSP/Java
]
matrix
DL : 0
(1) 设计和编写代表矩阵的Matrix类。该类包括矩阵行列数变量int rows和int cols,矩阵数据数组double data[][],构造方法Matrix()、Matrix(int rows,int cols)、Matrix(int rows,int cols,double data[][]),获取某元素值的方法getData(int row,int col),设置某元素值的方法setData(int row,int col,double value),计算两个矩阵的乘积的方法multiply(Matrix m)以及toString()等内容。-(1) design and preparation on behalf of Matrix Class Matrix. Including the ranks of such matrices int rows and the number of variables int cols, matrix data array double data [][], constructor Matrix (), Matrix (int rows, int cols), Matrix (int rows, int cols, double data [] []), to obtain the value of a certain element method getData (int row, int col), set the value of a certain element method setData (int row, int col, double value), the product of two matrices calculation method multiply (Matrix m) as well as the toString () and so on.
Date
: 2026-01-19
Size
: 7kb
User
:
fangfei
[
JSP/Java
]
263_TestStudent
DL : 0
课程类有名字,学生数组,老师,学生个数属性。 有增加学生方法,查看课程信息方法,查看课程详细信息方法,查询学生信息方法 -Course class has the name of the array of students, teachers, students number of attributes. There are methods of increasing the number of students to view course information methods, view the course details methods, methods of inquiry Student Information
Date
: 2026-01-19
Size
: 12kb
User
:
翔
[
JSP/Java
]
6
DL : 0
2、 声明测试类TestStudent完成对多态性的测试:(1)在主方法中声明Student类的数组(含五个元素)。(2)生成五个对象存入数组,其中三个Student类的对象、一个StudentXW类的对象、一个StudentBZ类的对象。(3)将方法testScore()发送给数组的每一个元素,输出结果,并分析具体执行的是哪一个类中的方法。-2, statement completion of testing polymorphisms TestStudent type of test: (1) a statement in the main method of Student class array (including the five elements). (2) to generate the object into an array of five, three of which the object of type Student, a category StudentXW object, the object of a category StudentBZ. (3) methods testScore () sent to each element of the array, the output results and analysis of the specific implementation of a class in which the method.
Date
: 2026-01-19
Size
: 1kb
User
:
ww
[
JSP/Java
]
java_applet
DL : 0
Applet类与Applet小程序,数组 向量 字符串 递归 排序-Applet applet Applet class, recursive sort string array vector
Date
: 2026-01-19
Size
: 643kb
User
:
guaiguai
[
JSP/Java
]
Jakarta_Commons_study
DL : 0
从Jakarta Commons CookBook中整理出来的非常有用的类和方法,以方便的方法解决了诸如数组操作、日期操作、字符串操作、数字操作、文件操作等常见的问题。这是在java web应用中常见的commons-*.jar包中的内容-The very useful class and method finishing out from Jakarta Commons CookBook, to facilitate the solution of such operations of array, operations of date, operations of string, operations of number, operations of file etc. This is the contents of commons-*. jars commonly in java web application
Date
: 2026-01-19
Size
: 4kb
User
:
萧毅鸿
[
JSP/Java
]
javajiaoanlbo
DL : 0
Java语言程序设计,郎波,清华大学出版社教案本书讲授了Java语言程序设计。书中在介绍Java语言的同时,更注重Java语言的知识体系,系统地分析了Java的核心机制与基本原理。全书分为核心基础篇与应用技术篇。在核心基础篇中,论述了面向对象程序设计的基本概念、Java语言基础(包括运算符与表达式、程序流控制、数组)、Java面向对象特性、异常处理方法、AWT与AWT事件处理模型、输入/输出、Applet概念与应用。应用技术篇介绍了开发Java的高级应用技术,包括多线程、网络编程、Swing、JDBC数据库连接、J2EE技术以及Java编程规范。书中还提供了大量实例。 本书具有系统性、知识性、实用性等特点,可以作为大专院校计算机、通信等专业教材,也可作为Java编程爱好者的参考书。-The Java language programming, the court attendant wave, Tsinghua University publishing house lesson plan this book has taught the Java language programming. In the book while introduced that the Java language, pays great attention the Java language the knowledge system, has analyzed the Java core systematically machine-made and the basic principle. The entire book divides into the core foundation and applied technology. In core foundation, elaborated the object-oriented programming basic concept, the Java language foundation (including operator and expression, procedure class control, array), the Java object-oriented characteristic, the exception handling method, AWT and the AWT event processing model, the input/output, the Applet concept and the application. Applied technology introduced develops Java the high-level applied technology, including multi-thread, network programming, Swing, JDBC database connection, J2EE technology as well as Java programming standard. In the book has al
Date
: 2026-01-19
Size
: 2.46mb
User
:
wu
[
JSP/Java
]
Matrix
DL : 0
Matrix类。该类包括矩阵行列数变量int rows和int cols,矩阵数据数组double data[][],构造方法Matrix()、Matrix(int rows,int cols)、Matrix(int rows,int cols,double data[][]),获取某元素值的方法getData(int row,int col),设置某元素值的方法setData(int row,int col,double value),计算两个矩阵的乘积的方法multiply(Matrix m)以及toString()等内容。-Matrix class. This class includes matrix, int rows, and the ranks of the number of variables int cols, matrix data array double data [][], constructor Matrix (), Matrix (int rows, int cols), Matrix (int rows, int cols, double data [] []), to obtain the value of an element methods getData (int row, int col), set the value of an element methods setData (int row, int col, double value), the calculation method of the product of two matrices multiply (Matrix m) as well as the toString () and so on.
Date
: 2026-01-19
Size
: 1kb
User
:
艾枫
[
JSP/Java
]
javaconnection
DL : 0
java通讯录课程设计,序使用了ObjectInPutStream和ObjectOutPutStream这两个文件输入输出流,利用这两个文件输入输出流,可以方便的直接将通讯记录对象直接写入文件中,另外为了方便添加和删除一条记录还使用了系统的对象数组类Arraylist。同时也方便了查找操作 -java address book curriculum design, sequence using ObjectInPutStream and ObjectOutPutStream input and output streams of these two files, use of these two files input and output streams, you can easily record the object directly to the communications directly to write to a file, the other for the convenience of adding and removing a Records also uses the system' s object array class Arraylist. But also facilitates the search operation
Date
: 2026-01-19
Size
: 34kb
User
:
古丽
[
JSP/Java
]
Vigenere
DL : 1
一个关于维吉尼亚密码的编程,用java实现,用String类和数组实现,比较经典-A password on the Virginia program, with java implementation, with the String class and an array of implementation, more classic
Date
: 2026-01-19
Size
: 1kb
User
:
[
JSP/Java
]
TestTreeSet
DL : 0
这是一个测试treeset容器的小程序,可以用来对array类进行简单的学习~-This is a test treeset container applet can be used for a simple array class to learn ~
Date
: 2026-01-19
Size
: 2kb
User
:
my name
[
JSP/Java
]
array
DL : 0
定义一数组,再定义一整型数组,此整型数组属于动态分配大小,所有大小由程序指定,并在此基础上实现反转类、排序类-Define an array, and then define an integer array, the array is dynamically allocated integer size, all size specified by the program, and based on the reverse of this class, sort class
Date
: 2026-01-19
Size
: 1kb
User
:
gaoyuan
[
JSP/Java
]
OneArryasTools v1.1-ok
DL : 0
* 这是一个一维数组的工具类,里面封装了6个方法,分别是 * 1.数组的遍历: print方法 * 2.获取最大值: getMax方法 * 3.获取最小值: getMin方法 * 4.反转数组:revArray方法 * 5.数组升序(从小到大排列):asc * 6.数组降序(从大到小排列):desc * * 备注:显示的同时带数组返回,加个接收类型就可以了。 * * @author wuxiaolong * @version v1.1(* this is a tool class of a one-dimensional array, which encapsulates 6 methods, which are * 1. array traversal: print method * 2. get the maximum value: getMax method * 3. get the minimum value: getMin method * 4. reversal array: revArray method * 5. array ascending order (from small to large): ASC * 6. array descending order (from large to small): desc * * Note: when the display is returned with an array, it is possible to add a reception type. * * @author wuxiaolong * @version v1.1)
Date
: 2026-01-19
Size
: 1kb
User
:
eto754
«
1
2
3
4
5
6
»
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.