登录
首页 » Java » Java

Java

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

  • out
    java编程的的详细图片,用于学习java(Detailed pictures of Java programming, used to learn java)
    2018-05-28 19:17:07下载
    积分:1
  • WPCrawler-master
    Java+mysql实现的网络爬虫。针对单个WordPress网站的网络爬虫程序 使用的开源类库如下: Apache HttpComponents 4.3 HTML Parser 2.0 MySQL Connector/J 5.1.27 使用UTF-8编码以记录中文标签 使用XAMPP默认MySQL端口localhost:3306 需要本地XAMPP环境 (Java+ mysql web crawler.On a single web crawlers WordPress site Use of open source libraries are as follows: Apache HttpComponents 4.3 2.0 HTML Parser The MySQL Connector/J 5.1.27 Use utf-8 to record label in Chinese Using XAMPP MySQL default port localhost: 3306 Need local XAMPP environment)
    2015-05-07 17:37:35下载
    积分:1
  • JPEG-Algorithm
    JPEG Algorithm using java
    2011-10-05 08:13:16下载
    积分:1
  • CalendarGuess
    java版本的万年历,可以显示当前时间,如当前年、当前月、当前日、当前小时、当前分钟等等(java java java java java java java java java java java java java java java java java java java java java )
    2013-11-27 16:17:12下载
    积分:1
  • 3.5.0
    mybatis3.5.0核心包,国内下载太麻烦,中转一下(Mybatis 3.5.0 core package, domestic download too troublesome, transfer)
    2020-06-20 18:00:02下载
    积分:1
  • src
    Java提供的API类BigDecimal,用来对超过16位有效位的数进行精确的运算。双精度浮点型变量double可以处理16位有效数。在实际应用中,需要对更大或者更小的数进行运算和处理。(BigDecimal Java API classes provided for more than 16 significant bits of the number of precise calculations. Double-precision floating-point variables can handle double the number of 16-bit effective. In practice, the need for a larger or smaller number of computing and processing.)
    2016-07-12 10:24:52下载
    积分:1
  • SPOOLING
    要求设计一个SP00LING输出进程和两个请求输出的用户进程,以及一个SP00LING输出服务程序。当请求输出的用户进程希望输出一系列信息时,调用输出服务程序,由输出服务程序将该信息送入输出井。待遇到一个输出结束标志时,表示进程该次的输出文件输出结束。之后,申请一个输出请求块(用来记录请求输出的用户进程的名字、信息在输出井中的位置、要输出信息的长度等),等待SP00LING进程进行输出。 SP00LING输出进程工作时,根据请求块记录的各进程要输出的信息,将其实际输出到打印机或显示器。这里,SP00LING输出进程与请求输出的用户进程可并发运行。 (Asked to design a user process SP00LING request output and two output processes, and outputs a SP00LING service program. When users want to process requests output output range information, call the output service program, service program by the output information into the output shaft. Treatment to an output end of the flag, which means that the process of the second output file output end. Thereafter, the application of an output request block (name of the user to record the output of the process request, the information on the position of the output well, and length information to be outputted), the process waits SP00LING output. When SP00LING output process work, information requested under each process block records to be output, its actual output to a printer or monitor. Here, the user process and the output process SP00LING request output can be run concurrently.)
    2014-01-08 13:36:02下载
    积分:1
  • streate-separate-merger
    主要处理的流的拆分与合并,以后可以用于网络下载,以及断点续传(Split and merge main processing stream, can later be used for the network to download, as well as HTTP)
    2013-03-20 16:17:42下载
    积分:1
  • ShoppingSystem
    用MFC写的商品管理系统,功能完善,可以增加删除查询修改以及统计商品信息(Written with MFC merchandise management system fully functional, you can add delete modify the query and statistical information goods)
    2014-12-02 16:38:31下载
    积分:1
  • without_ejb_chap01
    本书是Rod Johnson写的J2ee without EJB的第一章。(The book is written by Rod Johnson)
    2009-01-06 01:09:37下载
    积分:1
  • 696518资源总数
  • 106010会员总数
  • 4今日下载