登录
首页 » Java » Java

Java

于 2020-07-01 发布
0 123
下载积分: 1 下载次数: 4

代码说明:

说明:  设计模式一(单子、工厂、策略模式)练习 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 个回复

  • JavaRegularExpressions
    Java 正则表达式,对于想深入学习java的朋友很有帮助(Java regular expression, who want to study in depth java helpful friend)
    2010-05-28 17:30:47下载
    积分:1
  • JAVA-CTPAPI-master
    源码和依赖的jar包都在压缩文件里 test目录下有行情的demo,交易部分的API还没完全做好,可以连上前置和登录 这个java接口算是预览版吧(Source code and dependent jar packages are all demo in the test directory of the compressed file. The API of the transaction part is not yet complete. You can connect the pre-and login java interface as a preview version.)
    2019-03-19 17:51:12下载
    积分:1
  • android-follow-server
    手机同步服务器中Mysql数据库,数据库变化后,手机同步变化(Mobile synchronization server Mysql database)
    2014-07-23 16:29:01下载
    积分:1
  • proxy_wmswfs
    Simple proxy server for wfs services. Place the file to the cgi folder in your java web server. Change allowed hosts,ports, and username,password.
    2016-03-16 15:56:36下载
    积分:1
  • trade
    西港项目源码,app后台接口程序,springboot项目编写(xigang project source code)
    2020-06-22 21:20:01下载
    积分:1
  • DAO_Demo
    一个简单的DAO设计模式的例子。 DAO(Data Access Object,数据访问对象) 的主要功能是数据操作,在程序的标准开发架构中属于数据层的操作。(A simple example of DAO design patterns. DAO (Data Access Object, data access object) is the main function of data manipulation, the standard development process in the program belongs to the operation of the data layer.)
    2017-01-12 10:41:58下载
    积分:1
  • MyShoot
    java 飞机大战 打飞机完整代码一定要20字???????(Java aircraft war aircraft complete code must be 20 words??????????)
    2017-06-29 22:37:04下载
    积分:1
  • Bluetooth_Application_Programming_with_the_Java_A
    Bluetooth_Application_Programming_with_the_Java_APIs_Essentials_Edition ebook
    2010-11-15 19:33:30下载
    积分:1
  • TicTacAction
    Multiplayer Action for TicTactoe game
    2011-10-07 17:48:20下载
    积分:1
  • crawljax-2.0
    说明:  该代码通过Myeclipse开发环境使用Java语言实现ajax网页内容的提取。(The code used by Myeclipse Java language development environment ajax web content extraction.)
    2011-03-28 12:19:35下载
    积分:1
  • 696518资源总数
  • 105549会员总数
  • 12今日下载