import java.io.*;public class Test {    public static void main(String[] args) {        try {            FileReader input = new FileReader("a.txt");            FileWriter output = new FileWriter("temp.txt");            int read = input.read();                    while ( read != -1 ) {          ...
  
  
  
  
      import java.io.FileInputStream;import java.io.FileOutputStream;import java.io.IOException;public class CopyFile{    public static void main(String[] args) {        try {            FileInputStream fis = new FileInputStream ("a.jpg");//本地中存在的文件            FileOutputStream fos = new FileOutputStrea...
  
  
  
  
                                 讲述的是集合一章中的内容Set:不区分元素的顺序,不允许出现重复的值list:区分元素的顺序,且允许出现重复的值map:采用key——values的,不允许有重复的键,每个键最多对应一个值java集合只能保存引用类型的数据,是对象的引用Collection接口描述set和list集合类型的根接口相关方法:            add()如果增加重复元素,则增加失败,返回false            contains()判断是否包含有某个元素            iterator()返回成一个迭代器List可以对元素的插入位置进...
  
  
  
  
      
import java.util.List;import java.util.Arrays;public class TestArrays{    public static void main(String[] args) {        Integer[] a = {3,25,12,79,48};        System.out.println(a);        System.out.println(Arrays.toString(a));        Arrays.sort(a);        System.out.println(Arrays.toString(...
  
  
  
  
      
import java.util.ArrayList;import java.util.Collections;public class Game{    ArrayList cards;    public static void main(String[] args) {        Game g = new Game();        g.deal();        g.display();    }        public ArrayList deal(){        if(cards == null){            cards = new Array...
  
  
  
  
      
import java.util.Vector;import java.util.ArrayList;import java.util.Collections;import java.util.Enumeration;public class TestCollections{    public static void main(String[] args) {        ArrayList alist = new ArrayList();        alist.add(75);         alist.add(38);         alist.add(21);   ...
  
  
  
  
      
import java.util.Set;import java.util.HashMap;import java.util.Collection;import java.util.Iterator;public class TestHashMap{    public static void main(String[] args) {        HashMap hm = new HashMap();        hm.put(new Integer(1003),new Person(1003,"张三",15));        hm.put(new Integer(1008)...
  
  
  
  
      
import java.util.TreeSet;import java.util.Iterator;public class TestComparable{    public static void main(String[] args) {        TreeSet ts = new TreeSet();        ts.add(new Person(1003,"张三",15));        ts.add(new Person(1008,"李四",25));        ts.add(new Person(1015,"王五",73));        ts.add...
  
  
  
  
      
import java.util.TreeSet;import java.util.Iterator;public class TestTreeSet{    public static void main(String[] args) {        TreeSet ts = new TreeSet();        ts.add("orange");        ts.add("banana");        ts.add("apple");        ts.add("grape");        Iterator it = ts.iterator();      ...
  
  
  
  
      
package com.yds.review.list11;import java.util.Date;import java.util.HashSet;import java.util.Iterator;public class TestHashSet{    public static void main(String[] args) {        HashSet h = new HashSet();        h.add("1st");        h.add("2nd");        h.add(new Integer(3));        h.add(new...
  
  
  
  
       
import java.util.Date;import java.util.ArrayList;import java.util.Vector;import java.util.Iterator;public class TestIterator{    public static void main(String[] args) {        ArrayList a = new ArrayList();        a.add("China");        a.add("USA");        a.add("Korea");        Iterator  it...
  
  
  
  
      
import java.util.Date;import java.util.Stack;public class TestStack{    public static void main(String[] args) {        Stack s = new Stack();        s.push("hello");        s.push(new Date());        s.push(400);  //自动封装,等价于s.push(new Integer(400));        s.push(3.14);                System.o...
  
  
  
  
      
package com.yds.review.list11;import java.util.Date;import java.util.Vector;public class TestVector{    public static void main(String[] args) {        Vector v = new Vector();        v.add("1st");        v.add("2nd");        v.add(new Integer(3));        v.add(new Double(4.0));        v.add("2...
  
  
  
  
      package com.yds.review.list11;import java.util.Date;import java.util.ArrayList;public class TestArrayList{    public static void main(String[] args) {        ArrayList h = new ArrayList();        h.add("1st");        h.add("2nd");        h.add(new Integer(3));        h.add(new Double(4.0));      ...
  
  
  
  
      #include<stdio.h>#include<stdlib.h>typedef struct student{ int id;//学号 char name[20]; int score; struct student *next;}stu,*spt;typedef struct{ spt head;//头指针 spt tail;//尾指针 spt current; spt p,q; int tot;}LinkStudent;void CreatLink(LinkStudent &l)//构造空链表{ l.head=l.tail=(stu*)malloc(sizeof(stu...
  
  
  
  
      刚学到javascript  for这里,老师就出了画圆这个个题目给我,可是我画了4天,结果还是画一团糟,<body><script language="javascript">
 for (i=1;i<250;i=i+10){   document.write("<img src=\"#\" id=\"d"+i+"\"  width=\"3\" height=\"3\"  style=\"background-color:#000000;left:20px; top:100px;position:absolute; \"/>");   }
</script>
到底该怎么样设计才能...
  
  
  
  
      
package com.yds.gui.applet;import java.awt.Color;import java.awt.Container;import java.awt.GridLayout;import javax.swing.JFrame;import javax.swing.JLabel;public class JFtext1 {    /**     * @param args     */    public static void main(String[] args) {        JFrame jf=new JFrame();        Cont...
  
  
  
  
      测试一下
  
  
  
  
      
using System;using System.Data;using System.Configuration;using System.Collections;using System.Web;using System.Web.Security;using System.Web.UI;using System.Web.UI.WebControls;using System.Web.UI.WebControls.WebParts;using System.Web.UI.HtmlControls;using System.Drawing;public partial class c...
  
  
  
  
      
大型互联网公司的职位介绍
PHP系统开发工程师任职要求 :
1. 精通PHP开发语言,熟悉面向对象的软件设计方法; 
2. 熟悉Unix/Linux操作系统,熟悉C/C++编程,熟悉Shell脚本编程及常用Unix管理命 
   令,熟悉bash/python/perl; 
3. 熟悉HTTP协议及W3C相关互联网规范,熟练掌握XHTML、CSS、DIV、Javascript 
   等页面技术; 
4. 熟悉MySQL数据库应用开发,了解MySQL的数据库配置管理、性能优化等基本操 
   作技能; 
5. 具备良好的代码编程习惯及较强的文档编写能力; 
6. ...