登录
首页 » Java » Java

Java

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

  • 处理dubbo和Spring占位符问题
    处理dubbo和Spring占位符问题,使用springBoot(Dealing with Dubbo and Spring placeholders)
    2020-06-24 01:40:02下载
    积分:1
  • 3ec4ec637dff-(1)
    基于c++ 的水果销售管理系统,使用access数据库,简单实用,方便。适合新手。(C++ based fruit marketing management system, the use of access, simple, practical and convenient. Suitable for beginners.)
    2016-09-01 18:47:42下载
    积分:1
  • Exe8_1
    绘制1个沿圆形轨道运动的红色球体和1个沿椭圆轨道运动的蓝色球体。两个轨道圆心重合,圆的半径为100,椭圆的长短轴半径分别为200和100,运动方向为顺时针(Draw a circular orbital motion along the red sphere and a movement along the elliptical orbit of the blue sphere. Center two tracks overlap, the circle Radius of 100, the radius of the ellipse minor axis of 200 and 100, respectively, for the clockwise direction of motion)
    2011-12-23 22:02:45下载
    积分:1
  • PinYinHelper
    1 取字符串所有汉字首字母 2 取汉字字符串的首字母(A string of all the characters take the first letter of two characters to take the first letter of a string)
    2013-08-14 08:53:18下载
    积分:1
  • Point102
    用c++求折线的长度,程序可以改变输入点的个数,包含所有的代码.(C++ line with the length requirements, the program can change the number of input points, including all of the code.)
    2016-02-29 01:26:10下载
    积分:1
  • Index_Query
    说明:  可以对pdf,doc,txt,html实现全文检索。用了中科院的ictloc分词器,分词效率较高(Can be pdf, doc, txt, html to achieve full-text search. With the Chinese Academy of Sciences of ictloc Word Breaker, efficient word)
    2010-04-19 14:26:53下载
    积分:1
  • triangle
    jsp文件,三角形的三边关系,三条边各自的长度,组成三角形的三边的条件,各种情况的分析(Triangle Success)
    2012-04-24 23:47:18下载
    积分:1
  • Advanced.Course.JAVA.exception.handling
    JAVA异常处理高级教程资料Advanced Course on JAVA exception handling information (Advanced Course on JAVA exception handling information )
    2010-11-07 15:48:01下载
    积分:1
  • javaEE健康管理系统
    说明:  关于javaEE健康管理系统的毕业设计源代码资料(The source code of the graduation project of Java EE health management system)
    2019-11-24 09:07:49下载
    积分:1
  • simple-blog-system-manage
    说明:  这是一个简单的博客系统的java程序,设计jsp等语言(This is a blog system usejava language)
    2011-02-22 17:16:41下载
    积分:1
  • 696518资源总数
  • 106010会员总数
  • 4今日下载