易截截图软件、单文件、免安装、纯绿色、仅160KB

java数组实验.面向过程的思想.

原题如下:
用字符串输入的方式编写一个简单的通讯录。此通讯录由多条记录构成。
每条记录包括一个联系人的姓名、性别、电话、通信地址,并具有查询、增加、修改、删除等功能,
且每执行一次功能操作后,可以选择用类似以下的格式,输出通讯录的所有信息记录:
编号       姓名      性别       电话       通信地址
  01              张三       男          123456         北京
02          李四       女           456789         福建
/*************************************************
StudentInfo:class
Scount :static int
+find(student:String[][],target:String):bool
+remove(student:String[][],target:String):bool
+add(student:String[][]):String ref
+update(student:String[][]):bool
+display(student:String[][]):void
+readfromFile(student:String[][]):boolean
+writeToFile(student:String [][]):boolean

***************************************************
2010-05-09 Write By banxi1988.
*/
import java.util.Scanner;
public class StudentArray{
static int Scount = 0;

public static void main(String []args){
String [][] studentInfo;
studentInfo = new String[10][5];

displayMenu(studentInfo);
System.out.println();
}/* main */


public static void displayMenu(String [][] student)
{
boolean quit = false;
String [] menu = {"add","dis","find","rm","update","quit","read","write"};
do{
System.out.println("+--------------------------------------------+");
System.out.println("


相关文档:

JAVA 爬网页用 例如:http://www.126.com

/*
Function name: myGetHttpFile2
Description: 爬网页用
Input: URL 例如:http://www.126.com
Output: 字符串,网页的HTML
*/
public String myGetHttpFile2(String url){
String authentication=null;
ArrayList al=new ArrayList();
String PageURL = url;
......

用JAX WS实现java调用webServic

来个简单点的:
1.建个具体的服务实现:
package com.webservice;
@WebService
public class Warehouse {
 private Map<String, Double> prices;
 public Warehouse() {
  prices = new HashMap<String, Double>();
  prices.put("Blackwell Toaster", 24.95);
 & ......

我的java入门,(*^__^*) 嘻嘻

不得已+自己其实挺想学的,老师在远程教育原理这门课程改为教授java。
自豪的说一句,其实当年学C语言的时候,基础是打得很结实的。但是由于天性喜欢走神加发呆,大半个学期过去后,忽然有一天,“良心发现”原来自己已经落下那么多- -|||,呵呵
于是决定奋起!!!
在图书馆逛了n+1圈以后,终于找到了一本书 ......

关于java的++和

public class JavaPlus {

public static void main(String[] args) {
int x = 5;
x++;// x = x + 1;//后加加
System.out.println(x);
x--;// x = x - 1;//后减减
System.out.println(x);
++x;// x = x + 1;//前加加
Sys ......

Java学习之路:不走弯路,就是捷径


0
.引言
在ChinaITLAB
导师制辅导中,笔者发现问得最多的问题莫过于"
如何学习编程?Java
该如何学习?"
。类似的问题回答多了,难免会感觉厌烦,就萌生了写下本文的想法。到时候再有人问起类似的问题,我可以告诉他(她),请你去看看《Java
学习之路》。拜读过台湾蔡学镛先生的《Java
夜未眠》,有 ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号