登录
首页 » Java » Java

Java

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

  • rev2021
    说明:  網路遊戲天堂1的JAVA模擬環境,以l1j-99nes為基礎開發,修正許多漏洞以及新增一些人性化功能,功能相當((Online game Paradise JAVA simulation environment 1 to l1j-99nes-based development, correcting many loopholes and add some user-friendly features, quite powerful))
    2020-06-23 11:00:02下载
    积分:1
  • GeoSms
    说明:  使用anydata芯片组,安装标准扩展短消息协议编写的类,可以直接发送,接受短消息(use anydata chipset, install standard expansion Short Message agreement prepared by category, can be directly sent, accept Short Message)
    2006-04-17 01:14:07下载
    积分:1
  • WidgetClassLoader
    Parser for the text file containing the list of widgets, layouts and layout params.
    2014-01-17 12:01:20下载
    积分:1
  • jsPxml
    用java语言对XML数据进行操作。对市、省份等进行查找。(js and xml)
    2012-04-22 16:14:01下载
    积分:1
  • springboot-mybatis
    说明:  (4)结果映射:将操作数据库的结果按照映射的配置进行转换,可以转换成HashMap、JavaBean或者基本数据类型,并将最终结果返回(result mapping: transform the result of the operation database according to the configuration of the mapping, which can be converted into HashMap, JavaBean or basic data type, and return the final result)
    2019-04-05 22:07:33下载
    积分:1
  • CollectJob
    This is a sample for multi thread java application. Is pretty easy for doing large data processing
    2013-10-30 16:44:39下载
    积分:1
  • structsearch
    让我们初学者可以在短时间了解action(Let beginners can understand the action in a short time)
    2012-08-27 10:02:05下载
    积分:1
  • Thinking-in-java.pdf
    java编程思想 第四版 中文版 java经典著作(java编程思想 第四版 中文版 java经典著作)
    2012-04-06 09:32:34下载
    积分:1
  • pager
    分页标签,用于程序中对结果集的多条记录进行分页显示。(page)
    2010-01-16 15:26:40下载
    积分:1
  • ShyPost10.2
    实用性代码,可以在手机等移动设备上很好的使用,可操作性强。(Usefulness of the code can be very good for use on mobile phones and other mobile devices operable.)
    2014-02-26 09:57:18下载
    积分:1
  • 696518资源总数
  • 106208会员总数
  • 21今日下载