登录
首页 » Java » Java

Java

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

  • MyEclipse-6-Java
    MyEclipse各种开发的经典入门教材,欢迎下载(MyEclipse of development of the classic primer, please download)
    2011-06-25 09:56:58下载
    积分:1
  • JMF_API
    JMF_API开发文档 chm格式 适用于JMF开发(The development documents chm format of JMF_API JMF development)
    2013-04-28 11:14:03下载
    积分:1
  • webBookSell
    用JSP实现的一个网上书店的程序,其中采用了多种数据技术。是一个有典型意义的网页程序(an online bookstore in the procedures, which use a variety of data technology. It is a typical procedure website)
    2020-12-07 16:49:22下载
    积分:1
  • 3DmainBar
    java版的3d图形菜单,绚丽的菜单模型(java mainBar 3djava mainBar)
    2012-03-31 16:05:07下载
    积分:1
  • Solr文档
    说明:  Solr是一个独立的企业级搜索应用服务器,它对外提供类似于Web-service的API接口。用户可以通过http请求,向搜索引擎服务器提交一定格式的XML文件,生成索引;也可以通过Http Get操作提出查找请求,并得到XML格式的返回结果(Solr is an independent enterprise search application server, which provides API interface similar to Web-service. Users can submit XML files in a certain format to search engine servers through HTTP requests and generate indexes. Users can also submit search requests through Http Get operations and get the returned results in XML format.)
    2020-06-18 12:00:02下载
    积分:1
  • kaoshi
    j2ee登陆界面 输入用户名和密码登陆 (login start if you must write your nameand password first)
    2013-12-05 21:34:33下载
    积分:1
  • JAVA.java
    Q学习算法实例,这算法主要应用于机器人领域,运用此算法进行行动的选择使Q值最大最后找到最优的策略(Q-learning algorithm is applied in robot domain,example robot-hitting, robot-moving and so on。This paper refers to many robots domain 。It is so useful。 )
    2010-10-19 09:29:27下载
    积分:1
  • MemoryGame
    java 记忆游戏 MemoryGame(java game MemoryGame)
    2010-08-28 10:23:00下载
    积分:1
  • Ellipsoid
    编写一个Ellipsoid类,用于椭球体的表示,其中定义三个私有变量表示一个椭球体的长半轴a短半轴b和扁率apha(Write a Ellipsoid class, used to represent the ellipsoid, which defined three private variables represents an ellipsoid semimajor axis semiminor axis B and a of APHA)
    2017-10-16 04:39:27下载
    积分:1
  • Java_String.format
    Java中String.format的用法(String.format usage in Java)
    2013-11-21 11:27:25下载
    积分:1
  • 696518资源总数
  • 106161会员总数
  • 5今日下载