登录
首页 » Java » Java

Java

于 2020-07-01 发布 文件大小:1KB
0 249
下载积分: 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 个回复

  • weight
    用天平称重时,已知给定的砝码,求解最多能称出多少不同的重量。(With weighing scales, it is known that a given weight, solving most able to call out the number of different weight.)
    2012-11-06 16:11:36下载
    积分:1
  • Tomcat源码研究
    tomcat源码解析过程文档,详细说明了tomcat从启动到最后结束中间类和方法的调用过程,对于研究java底层源码的启动很有好处。(Tomcat source code parsing process document, detailed description of Tomcat from start to end the call process of intermediate classes and methods, for the study of Java underlying source code start is very helpful.)
    2020-06-17 22:40:02下载
    积分:1
  • 宝典2017
    说明:  JAVA培训机构的资料,供参考学习。有的内容可能不是最新版本(JAVA training institutions for reference learning. Some content may not be the latest version)
    2020-02-27 14:10:48下载
    积分:1
  • 三次样条曲线算法的改进及Java语言实现
    三次样条曲线算法的改进及Java语言实现.zip(Improvement of the three spline curve algorithm and the realization of.Zip in Java language)
    2017-12-13 14:49:16下载
    积分:1
  • ShutterButton
    ShutterButton extends ImageView Source Code for Andriod.
    2014-02-18 14:16:27下载
    积分:1
  • somejavapp
    自己做的Java小程序 作为期末设计 可以接大家的燃眉之急 也可以方便初学者学习(Java applets to do their own design as the end of the urgent needs of people can access easily for beginners to learn)
    2010-12-15 19:40:04下载
    积分:1
  • DummyProvider
    A simple content provider for AsyncQueryHandlerTest and ContentQueryMapTest.
    2013-12-29 14:42:08下载
    积分:1
  • Thread
    线程Demo join interrupt sleep yield等几个常用线程方法(a simple Thread demo)
    2014-08-20 09:39:33下载
    积分:1
  • my
    说明:  用于转换SQL server数据自定义字段为数据库定义字段;(transform for SQL server databases selfdefined field;)
    2019-08-18 21:53:03下载
    积分:1
  • copyfiles
    使用java复制文件夹下的所有文件,亲自编写可用(Use java code assignment of all files in a folder method, personally writing and debugging)
    2015-11-17 11:46:54下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载