当前位置:
首页
资源下载

搜索资源 - the first java program
搜索资源列表
-
0下载:
java网络编程实例,分为客户端和服务器端,可以传送图片,记得把命名为a.jpg的图片放在当前目录,先运行服务器端程序,在运行客户端,点击get picture,例外还有两张JAVA初学的ppt,共五个文件-java network programming instance, is divided into client and server side, you can send pictures, remember the name a.jpg picture on the current d
-
-
1下载:
寿星万年历是一款采用现代天文算法制作的农历历算程序,含有公历与回历信息,可以很方便的进行公、农、回三历之间的转换。提供公元-4712年到公元9999年的日期查询功能。其中1500年到1940农历数据已经与陈垣的《二十史朔闰表》核对;含有从公420元(南北朝/宋武帝元年)到今的基本年号。在过去几百年中,寿星万年历的误差是非常小的,节气时刻计算及日月合朔时刻的平均误差小于1秒,太阳坐标的最大可能误差为0.2角秒,月亮坐标的最大可能误差为3角秒,平均误差为误差的1/6。万年历中含有几百个国内城市的经纬
-
-
2下载:
基于Socket的局域网聊天室系统, 本系统是采用JAVA1.6来完成的,是在TCP/IP环境下,实现客户端和服务器端两部分程序(Client和Server)。即首先服务器方要启动,客户端向服务器发出请求,服务器接收到请求后提供相应的服务。当客户端连接到已启动的服务器,客户端用户登录时,客户端输入的内容通过服务器端与其他客户端连接;客户端进入聊天室聊天时,服务器端与客户端进行数据交互。-Socket LAN-based chat room system, the system is used t
-
-
0下载:
第一个Java程序
public class Practice
{
public static void main(String args[])
{
System.out.println("**********************************")
System.out.println("** Practice makes perfect")
System.out.println("**************************
-
-
0下载:
this program checks if the given word can be read the same if the first letter is put at the last .
The user has to enter the list of words and this program gives the list
-
-
1下载:
编写一个线段类 MyLine,要求如下:
主要属性有: x ,y ;类型为Point (查看API)
编写构造方法,如 MyLine(Point p1 , Point p2)
编写5个成员方法。如:
检查线段是否位于第一象限check()…
求线段的长度 length() …
判断两条直线是否相交(另一线段作为参数)。
编写一点到该线段(或延长线)的距离
其他方法。
注:编写方法时,考虑利用Point类的方法
编写测试程序-Write a segment
-
-
0下载:
第一个java程序演示视频教学,交你熟悉java环境及基本的编程引导-The first java program demo video teaching, cross you are familiar with java programming environment and basic guided
-
-
0下载:
为了说明什么是异常,现在就让我们先产生一个异常。(exam.java)异常,即Exception。当Java程序违反Java语言语义限制时,Java虚拟机向程序发出错误信号,就叫异常-To illustrate what is unusual, let us first create an exception. (Exam.java) exception, that Exception. When the Java program Java language semantics limit vi
-
-
0下载:
局域网聊天工具。。。。tcp协议,我写的第一个java程序-LAN chat tool. . . . tcp protocol, I wrote the first java program. . .
-
-
0下载:
<程式簡介---個人簡易通訊錄>:
跳出: 在第一個輸入畫面若使用者輸入0則終止程式。
新增: 讓使用者輸入姓名、電話、信箱、住址、性別、職業後儲存紀錄下來。
刪除: 用for迴圈尋找使用者輸入所要刪除名單後,利用另一變數標示所在位置,進行刪除。
更新: 讓使用者輸入所要更新項目後,再根據所要改變的選項選擇(欲更新內容與選擇所要更改內容間需以逗號隔開)
查詢: 讓使用者輸入欲查詢項目,然後找出清單中使用者輸入之查詢項目後,印出查詢內容、資料。
列印:
-
-
0下载:
在这个程序中,加载了 6 幅图像,点击鼠标可逐一显示图像,并在显示完 6 幅图像后自动返回第一幅重新开始。
-In this program, load the 6 images, click the mouse to display images one by one, and finished 6 images in the display automatically returns the first one to start again.
-
-
0下载:
第一个程序是TCP/IP的客户端与服务器端对话,第二个为java与数据库连接。-The first program is a TCP/IP client and server-side conversation, the second for the java and the database connection.
-
-
0下载:
JAVA经典算法40题
【程序1】 题目:古典问题:有一对兔子,从出生后第3个月起每个月都生一对兔子,小兔子长到第四个月后每个月又生一对兔子,假如兔子都不死,问每个月的兔子总数为多少?-JAVA program classical algorithm [1] Title 40 Title: Classical problem: a pair of rabbits, from the first 3 months after the birth of every month from birt
-
-
0下载:
请输入星期几的第一个字母来判断一下是星期几,如果第一个字母一样,则继续 判断第二个字母。-Please enter the first letter of the week to determine the day of the week, if the first letter, the second letter continue to judge.
-
-
0下载:
5. 设计一个学生注册界面。输入的信息包括学号(6位数字),姓名(不超过6个汉字),密码(不少于6个字符,不多于8个字符,且需要输入2次,2次输入的密码必须完全相同),专业(从“数学”、“计算机”和“外语”中选择,也可以自行输入),年级(从“一年级”、“二年级”、“三年级”和“四年级”中选择一项,且只能选择一项)。点击“注册”按钮后,程序检查输入是否正确,若错误则显示相应的提示信息,否则弹出一个消息窗口,显示所有输入的注册信息。程序文件命名为Exe7_5.java。程序界面如下图所示:-5 st
-
-
0下载:
This program counts the occurrence of specified patterns in the input strands and produces a report for each pattern. The first input to this program will be an integer indicating how many patterns will be provided (call this N). The next N words to
-
-
0下载:
Java编写的Java视频处理程序,用Java仅仅写一个播放媒体文件的程序似乎不过瘾,达到“奇特”的播比较容易的,这得归功于JMF API 提供的方便的接口。本例就来“奇特”一把,先把视频媒体的色彩取反色(求补),然后再显示。-Written in Java Java video processing, with just write a Java program to play media files does not seem fun, to "strange" sowing relativ
-
-
0下载:
Las Vegas算法的期望运行次数分析:LV10算法第一种模型:对两个数据库进行比较之后,有三种输出结果,该拒绝的时候拒绝(输出“0”(reject)),该接受的时候可能接受(输出“1”(accept)),也可能是不确定情况(输出“?”(unknow))。
LV10算法第二种模型:基于第一种模型的基础上,在出现“?”的情况下,反复运行第一种模型,直到出现正确结果(“0”或“1”)。
在本次试验中,用程序实现第二种模型到第一种模型的转换,将循环第一种模型的次数来作为效率的数据,进行多次实
-
-
0下载:
我的第一个Java程序,这是我用mac版 eclipse写的第一个Java程序(My first Java program, this is the first Java program I wrote with the Mac version of eclipse)
-
-
0下载:
最初的无框架JAVA WEB代码,用于初学者前端学习JDBC ,等前期语言。会是初学者的第一个JAVA WEB程序。(The original frame - free JAVA WEB code was used for beginners to learn JDBC, such as the previous language. It will be the first JAVA WEB program for a beginner.)
-