登录
首页 » Java » Java

Java

于 2020-07-01 发布 文件大小:1KB
0 268
下载积分: 1 下载次数: 1

代码说明:

  设计模式一(单子、工厂、策略模式)练习 1. 假设现在要设计一个贩卖各类书籍的电子商务网站的购物车系统。对所有的教材类图书 实行每本一元的折扣;对连环画类图书提供每本7%的促销折扣;而对非教材类的计算机图书有3%的折扣;对其余书没有折扣。使用策略模式、工厂模式、单子模式进行设计(Design Mode 1 (List, Factory, Strategy Mode) Exercise 1. Suppose we are going to design a shopping cart system for e-commerce websites that sell all kinds of books. All textbook books are discounted at one yuan per book; comic books are discounted at 7% per book; computer books are discounted at 3% for non-textbook books; and other books are discounted at no rate. Design using strategy mode, factory mode and single mode)

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • endotesting
    endotesting used to recursive test a important tech tool for QA
    2007-09-17 19:25:36下载
    积分:1
  • 100java
    这是Java编程的好资源,是有关100个例子的,欢迎下载(This is a good Java programming resources, is about 100 examples, please download)
    2011-12-09 17:56:40下载
    积分:1
  • Robot
    基于Simbad环境的移动机器人避障源代码(采用蚁群算法和A星算法)(failed to translate)
    2013-05-05 15:42:38下载
    积分:1
  • OperateImage
    将一个图片进行裁剪成指定大小的图片, 现在很多网站有这个程序来裁剪头像(Cutting a picture into a specified size of image, Now many sites have this procedure to cutting head)
    2009-06-02 14:13:21下载
    积分:1
  • YUV420SP-master
    这个安卓源码包含两个工程,分别用JAVA 和 NDK 本地代码去实时转换摄像机的每帧颜色,可以用来了解、比较Java与NDK的效率的不同,对相关摄像机,NDK/JNI,颜色编程等技术有一定了解(The Android source code contains two projects, namely with JAVA and NDK native code to convert each frame in real time color video camera can be used to understand, compare the efficiency of Java and NDK different, the relevant camera, NDK/JNI, color programming technology have some understanding)
    2014-01-05 15:36:14下载
    积分:1
  • hengshudao
    JAVA横竖倒显示输入的字符串 代码,代码出处:http://www.itneng.com/thread-4121-1-1.html 代码可直接编译(JAVA print)
    2013-11-18 21:42:04下载
    积分:1
  • softhy647g
    电影频道小偷程序联盟后台版 可以实现在后台下载电影(NUll)
    2009-03-31 09:54:37下载
    积分:1
  • thininjava
    think in java java编程思想中习题的答案(the answer of think in java java programming )
    2016-12-05 19:52:51下载
    积分:1
  • NcViewer
    说明:  数控系统 NC 程序 快速查看修改及模拟检查。(NC program of CNC system can be checked, modified and simulated quickly.)
    2020-05-16 23:38:51下载
    积分:1
  • scimark2src
    Java source code for optimization toolkit,including LU,mentacarlo etc(Java source code for optimization toolkit , including LU, mentacarlo etc.)
    2007-01-30 01:30:56下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载