登录
首页 » Java » Java

Java

于 2020-07-01 发布
0 142
下载积分: 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 个回复

  • jmemory
    Java监视内存使用情况,运行Java 程序一般要消耗大量的内存,这曾经是java 的一个致命弱点。当然随着硬件的飞速发展,这个缺点有所弱化,同时java 虚拟机的逐渐成熟,也使内存的消耗量减少。那么一个较小java 程序   究竟要消耗多少内存呢?本例将实现一个能自我监视内存使用的简单程序,来评估java 程序的内存消耗情况。(Java monitor memory usage, run Java programs generally consume large amounts of memory, which used to be a fatal weakness of java. Of course, with the rapid development of hardware, this shortcoming has been weakened, while mature java virtual machine, but also to reduce memory consumption. Then a small java program How to consume much memory? This example of a simple program memory can be used for self-monitoring to assess memory consumption java program.)
    2014-05-28 14:57:32下载
    积分:1
  • Java-easy-learning
    很全面很实用的JAVA最新面试宝典,这套面试题主要目的是帮助那些还没有java软件开发实际工作经验,而正在努力寻找java软件开发工作的朋友在笔试时更好地赢得笔试和面试。(Very comprehensive and very practical JAVA latest interview book, this interview questions main purpose is to help those who have no java software development practical work experience, and are trying to find a friend java software development work better when they won the written test and interview.)
    2013-06-03 02:45:18下载
    积分:1
  • ThinkinginJavaxitiyuandianma
    《Thinking in Java》第四版习题源代码,网上好难找啊!这里和大家分享。()
    2008-05-31 13:56:47下载
    积分:1
  • 56-policy-clime-systems
    this is java aoolication project
    2014-03-05 01:54:48下载
    积分:1
  • socket
    说明:  socket 学习文件,供各位参考学习。(Socket learning file)
    2020-06-20 11:00:02下载
    积分:1
  • menu-move
    js实现自动向左移动的菜单,当鼠标移动到菜单项时,菜单停止移动。(js automatically move to the left menu, the menu stops moving when the mouse to the menu item.)
    2012-05-30 22:33:10下载
    积分:1
  • baokandingyueguanlixitong
    报刊订阅管理系统,代码和报告都在里面 完整的,需要的可以下载参考(baokandingyueguanlixitong wanzhengziliao )
    2020-12-18 18:09:11下载
    积分:1
  • JavaEE实验
    说明:  javaee实验smm 太原理工大学java ee课程代码实验报告(Java EE experiment report on code experiment of Java EE course in SMM University of Technology)
    2020-06-18 11:35:23下载
    积分:1
  • 605464
    Custom interceptors 自定义拦截器,很好,值的学习(Custom interceptors custom interceptor, good, value learning)
    2018-09-15 19:54:51下载
    积分:1
  • meundemo2
    应用java实现单个文件的输出,更好的学习怎样简便的应用java(Java application to achieve a single file output, better learn how simple java application)
    2013-11-13 20:36:15下载
    积分:1
  • 696518资源总数
  • 105885会员总数
  • 31今日下载