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

一道java题·请求高手献策

我这儿有一道JAVA的题·是英文的·简单的英文···我自己不太会·
In the Assignment One you are required to implement a command-line version of the
software. Your software will allow a manufacturer to create a list of required inventory
based on what is scheduled for production.
Project glossary:
• Product (or product item) – something that is produced by the manufacturer.
• Inventory item (or just inventory) – something that is requited for the manufacturing
of a particular product.
Task
     1.Describe the manufacturer, e.g. name, address, main products,
clients, suppliers. Suggest ten (10) possible inventory items. Suggest two (2)
potential issues with the manufacturer’s supply chain and how they could be
improved.
     2.Allow one product to be an inventory for another product.
     3.Collect user input regarding how many items of each product are scheduled
for manufacturing. Then, display a table of inventory items: name/description,
quantity/quality of each item. In the real world, the list could then be sent to
the purchasing department for ordering the items.
     4.Read/write information regarding the currently available inventory from/to a
file. 
     
Achievement
    1.  Draw a UML class diagram of your classes showing all public methods, e.g.
by using NetBeans.
Connect the classes with “IS-A” and “HAS-A” lines, see p177
Each class: is named by a noun ; is correctly identified as a class ; has
a reasonable set of public methods . 
    2.Display a menu of available commands.
    3.Display a list of products that the manufacturer could produce.
    4. Display a list of inventory required to manufacture a specific product.
    5.Display th


相关文档:

JAVA:用多线程实现时间的动态显示

import java.awt.*;
import javax.swing.*;
import java.util.Date;
import java.awt.*;
class Time extends JFrame implements Runnable{//实现接口
Thread clockThread;
   JLabel jLabel=new JLabel();
   public Time()
   {
   Container con=this.getContentPane() ......

JDK中包含的常用Java调试工具

1  JDK5.0包括的调试工具
我们在这里对JDK5.0的调试工具做大致的概念性的介绍,然后希望通过介绍我自己在实际工作中使用这些工具解决问题的实例来让大家对这些工具有更深入的了解。
 
 JDK5.0里面加入了jstack, jconsole, jinfo, jmap, jdb, jstat, jps, 下面对这些工具做简单介绍:
 jstack -- 如果java程 ......

java与网络


1 网络通信的本质是进程间通信。   
2 Tcp协议和UDP协议
TCP:开销大,用于可靠性要求高的场合。
TCP的过程相当于打电话的过程
UDP:用在对实时性要求比较高的场合。
UDP的过程相当于写信的过程。
注意:socket是套接字,ip和port(端口号 0~65535个端口,一个端口只能有一个进程)
3,   ......

JAVA程序员面试之葵花宝典

JAVA程序员面试之葵花宝典
1、面向对象的特征有哪些方面
1.抽象:抽象就是忽略一个主题中与当前目标无关的那些方面,以便更充分地注意与当前目标有关的方面。抽象并不打算了解全部问题,而只是选择其中的一部分,暂时不用部分细节。抽象包括两个方面,一是过程抽象,二是数据抽象。
2.继承:继承是一种联结类的层次模 ......

常见算法学习及其Java实现

package org.bupt.test;
import java.util.ArrayList;
class MyResource {
    ArrayList<Integer> arrList= new ArrayList<Integer>();
    public MyResource(ArrayList<Integer> arrList) {
        this.arrList = arrList;
&nbs ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号