1、Java provides a storage mechanism for objects in the form of serialization. With the Java way of doing things, you no longer have to worry about details of file formats and I/O. Instead, you are free to concentrate on solving your real-world tasks by designing and implementing objects. If, for instance, you make a class persistent and later add new fields to it, you do not have to worry about modifying routines that read and write the data for you. All fields in a serialized object will automatically be written and restored. 
hehe,好长的英文啊,不过解释得不错,borland嘛;
2、线程是可以使同时执行多段代码,不加的话,顺序执行喽;
3、如果catch一个exception,可以让你知道哪里可能会出错,不catch的话,也可以,但是不规范;
4、Frame.pack: Causes this Window to be sized to fit the preferred size and layouts of its subcomponents. If the window and/or its owner are not yet displayable, both are made displayable before calculating the preferred size. The Window will be validated after the preferredSize is calculated.
  Pack: pack a set of java code, like zip............;
5、没有见过symantec.itools.awt.Wizard,不过,按说,应该可以不用写全路径的;
6、Panel is the simplest container class. A panel provides space in which an application can attach any other component, including other panels。
   Frame is a top-level window with a title and a border. 
做法不是唯一的,我觉得可以直接继承Frame类好累呀,:)

解决方案 »

  1.   

    以上观点仅代表个人意见,如不声明,与sun公司无关。
      

  2.   

    补充1.序列化分两种
    3.在许多情况下,必须要catch,例如写jdbc的程序时,一定要catch sqlexeception
    5.可能在当前的namespace里面有重名,这种情况下,就一定要完整
      

  3.   

    呵呵,找得太累
    对了,我写jsp的时候,没有catch sqlexeceptin,居然没事啊
      

  4.   

    我从不catch sqlexeception, 就不catch,就不catch,就不catch ...我, 只catch SQLException, hohohohoho~~~~~
      

  5.   

    谢谢Mars_lee和cxgtommy:非常感谢Mars_lee的回答还有cxgtommy。我的理解如下:
    1、
    解释的不错,但还有些未懂。
    在“make a class persistent and later add new fields to it”中,“add new fields to it”是指在使用类所生成的实例时,对类的域(或static域)的值进行添加、修改还是别的意思?
    这种机制“storage mechanism for objects in the form of serialization”是把类的域的值存到一个系统表里吗?而且是一直保留?2、
    我对多线程理解的不是很深。
    Thread.sleep(500); 与sleep(500);的目的不都是为了停止当前的线程,而是其他的线程运行的吗?
    我没觉得两者有什么区别啊。
    还是因为Thread.sleep(500);只出现在主线程中,sleep(500);出现在其他线程中?3、
    在try{}  catch(interruptedException e){}中,请问如果发生了interruptedException异常,会是什么样子?
    我的理解:
    在有catch(interruptedException e){}语句的程序时,系统不会报错,也不会再把此异常继续传递。
    而没有catch(interruptedException e){}语句时,程序会报错。
    不知我怎么想对不对?4、
    我的理解:
    pack()只是awt.window的方法吧?
    在window被显示之前,把窗体调整到最合适的大小和布局。
    pack()是对所有的进行pack,
    而Frame.pack()只是对Frame进行pack,我怎么理解对吗?另:
    重载对应的英文是:overload
    覆盖对应的英文是:override
    对吗?
    这两个单词我老混……
    等待你们的回应…………一双期待的眼光……
      

  6.   

    1、An object that has been serialized is said to be persistent. Most objects in memory, in contrast, are transient, meaning that they go away when their references drop out of scope or the computer loses power. Persistent objects, on the other hand, exist as long as there is a copy of them stored somewhere on a disk, tape, or in ROM. 
    具体add new fields to it这一举,我也没明白;
    2、Thread.sleep():
    Causes the currently executing thread to sleep (temporarily cease execution) for the specified number of milliseconds. The thread does not lose ownership of any monitors.
    你的那个sleep();是什么意思啊?应该是某个类的过程吧;
    3、InterruptedException - if another thread has interrupted the current thread. The interrupted status of the current thread is cleared when this exception is thrown;
    4、你的回复中提到的第二个pack()是哪个类的呢?
    5、override我一般称之为重写,重设
      

  7.   

    wc,sleep()能直接使用吗???????????
    Thread.sleep()是让执行这个代码的线程睡眠一段时间。
    你的sleep一定是在一个Thread的重载类里使用的,那样,没有区别了:)