搜索资源列表
chengjitongji
- java成绩统计程序,输入一个班的java成绩(含姓名和分数),统计出平均分,最高分、最低分,并打印成绩单。-java score statistics program, enter the results of a java class (including the names and scores), the statistics of average, highest score, lowest score, and print transcr ipt.
11
- java编程入门,最简单的while用法,打印4次“欢迎新同学” 。-Introduction to java programming, while the most simple usage, print 4 " welcome the new students."
1
- 用java实现输入一个月份对当月进行日历打印-The input for a month of the calendar month print
Lookup
- 摘要:Java源码,初学实例,JNDI实例 JNDI的使用例子,有源代码,可以下载参考,JNDI的使用,初始化Context,它是连接JNDI树的起始点,查找你要的对象,打印找到的对象,关闭Context。-Summary: Java source code, beginner instance, JNDI JNDI instances the use of examples, source code, you can download the reference, JNDI use,
Desenguo420Assign1
- Write the Java program and a test plan for the following problem: A printing shop would like to be able to know when to re--‐order paper. The paper used by the shop comes in packages
printNumber
- java套打,可调整打印的大小、方向、字体等等。封装为exe格式.-java chromatography printing, adjust the print size, orientation, fonts, etc. Package to exe format.
perfect
- 用java 实现的动态规划求漂亮打印问题的一个实例-dynamic programming algorithm an example to solve perfect print problem
SquareRoot
- import java.io.* public class SquareRoot { public static void main ( String [ ] args ) { System.out.print("Enter a positive value: ") double value = 0 try { BufferedReader in = new BufferedReader(new InputStreamReader(System.in)) String inputLine
Demo
- 现在初学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) Sys
Sum
- 利用java语言实现计算另个数的和,从键盘接受两个数,计算和,打印到控制台上。-Use Java language implementation calculation of other number and, from the keyboard to accept two number, calculation and, print to control on the stage.
StudentTest
- 个人原创代码:编写Java Application程序,定义一个学生类(Student),属性有private的名字(name), public的年龄(age),专业(specialty)和封装name属性的方法:setName(),getName(),getspecialty()编写Application,创建一个学生对象,设置name和age属性值,然后调用一个方法(此方法将对象作为参数传递,在方法中打印出学生的名字name和年龄age)。(学生类仅包含静态成员变量和方法。)-The ori
NumberInputTest
- 个人原创代码:Java异常处理程序。编写Java Application程序,从命令行得到5个整数,放入一整型数组,然后打印输出,要求:如果输入数据不为整数,要捕获Integer.parseInt()产生的异常,显示“请输入整数”,捕获输入参数不足5个的异常(数组越界),显示“请输入至少5个整数”。-Personal original code: Java exception handling procedures.To write java application program from t
PascalsTest
- 个人原创代码:编写Java Application程序,打印杨辉三角的前10层。-Personal original code: write a Java application program, print the top 10 of the Yang Hui triangle layer.
StringTest
- 个人原创代码:编写Java Application程序,完成以下功能: (1)声明一个名为s的String对象,并使它的内容是“My name is Carrol”; (2)打印整个字符串; (3)打印字符串的长度; (4)打印字符串的第一个字符; (5)打印最后一个字符;-Personal original code: write Java Application, complete the following functions: (1) declare a Stri
8Multiplication-table
- 打印九九乘法表java.txt 8 打印九九乘法表java.txt-Print confirmed the multiplication tables Java 8 print confirmed the multiplication tables Java 8 print confirmed the multiplication tables Java 8 print confirmed the multiplication tables Java
DateChooserJButton
- java程序的界面输出,包括多种组件的输出和输入- frame print
FiveChessGame
- 基于GUI的Java五子棋游戏源码,可人机对战,用java swing做的,运行时需要修改图片的路径。 制作思路: 用按钮做棋子,用图片填充每个按钮。 设置棋盘为24*24的,五子棋FiveChessGame类,继承了JFrame,并且添加了时间监听,五子棋的棋子chess,用JButton表示,五子棋棋子chess对应的棋子标识,用于标记棋子的状态。 1表示黑棋,-1表示白棋,默认0表示无棋子,点击棋子时设置棋子的图标setOnChessIcon。 根据判断该位置
xiancheng
- 应用Java中线程的概念写一个Java程序(包括一个测试线程程序类TestThread,一个Thread类的子类PrintThread)。在测试程序中用子类PrintThread创建2个线程,使得其中一个线程运行时打印10次“线程1正在运行”,另一个线程运行时打印5次“线程2正在运行”。-Applications in Java thread concept to write a Java program (including the class TestThread a test multit
Rectangle
- 做一个简单的矩形面积计算器,要求你输入长和宽就可以计算出其面积。- Create a class Rectangle (and store it in a file called Rectangle.java) It should have two instance variables l (the rectangle’s length) and w (the rectangle’s width). It should have one method that cal
src
- java实现小日历。 打印日历的天数。 如果无输入日期,则打印当年当月的-java implementation calendar. Print calendar days. If you enter dates, then print the current month.