登录
首页 » Java » Java

Java

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

  • FirstMissingPositive112_Done
    给出数组中的一串数字,找到里面缺省的第一个正整数(For example, Given [1,2,0] return 3, and [3,4,-1,1] return 2. Your algorithm should run in O(n) time and uses constant space. )
    2017-05-01 12:32:34下载
    积分:1
  • table
    自己写的一个表格样式,看上去还是不错的哦。(table)
    2010-09-06 14:55:29下载
    积分:1
  • source
    JDWP 是 Java Debug Wire Protocol 的缩写,它定义了调试器(debugger)和被调试的 Java 虚拟机(target vm)之间的通信协议。 JDWP 协议介绍 这里首先要说明一下 debugger 和 target vm。Target vm 中运行着我们希望要调试的程序,它与一般运行的 Java 虚拟机没有什么区别,只是在启动时加载了 Agent JDWP 从而具备了调试功能。而 debugger 就是我们熟知的调试器,它向运行中的 target vm 发送命令来获取 target vm 运行时的状态和控制 Java 程序的执行。Debugger 和 target vm 分别在各自的进程中运行,他们之间的通信协议就是 JDWP。(JDWP is Java Debug Wire Protocol)
    2019-04-25 11:00:32下载
    积分:1
  • 816674243carManagement
    车辆租赁管理的设计文档、源码及数据库创建脚本,多多下载(Vehicle leasing management of design documents, source code and creation scripts, and download)
    2016-10-25 16:22:59下载
    积分:1
  • FirstMyBatis
    使用mybatis实现的一个小例子,可以帮助初学者快速入门(user mybatis complete a demo)
    2013-12-29 13:41:36下载
    积分:1
  • aaaaMusicPlayer
    音乐播放器完全可以运行,速度很快,效果很好(The music player can run very fast, with good results)
    2012-05-31 11:00:26下载
    积分:1
  • Java_snake
    Java版贪吃蛇。参照某人的博客做的。很有价值。(Java version of Snake. Reference to someone' s blog. Valuable.)
    2013-04-06 16:43:44下载
    积分:1
  • struts-sun
    本书详细的介绍了在struts1上设计和开发Java web应用的各种技术。列举了大量具有典型性和实用价值的web实例,并提供了详细的开发和部署步骤。(This book describes in detail on the struts1 Java web application design and development of various technologies. Listed a large number of typical and practical value of the web instance, and provide a detailed development and deployment steps.)
    2010-09-16 09:44:51下载
    积分:1
  • old
    群体智能算法,烟花算法,java代码,(fireworks algorithm)
    2020-10-27 18:09:59下载
    积分:1
  • vbnet
    说明:  This folder contains the code specific to the VB.NET plugin for SonarQube. To get more information please read the repository main [README](../README.md).
    2020-06-20 20:40:01下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载