-
Java
设计模式一(单子、工厂、策略模式)练习
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)
- 2020-07-01 06:40:02下载
- 积分:1
-
StrutsArticle_release
一个基于Struts的文章管理系统,使用MySQL数据库,具有以下功能: 支持国际化 Web编辑方式发表文章 分类管理 文章管理 文章搜索(an article based on the Struts management system, using MySQL database, has the following functions : to support international Web editing an article published articles classified management articles Search Management)
- 2005-05-26 23:04:03下载
- 积分:1
-
SpringThreadExample
说明: 基于springboot实现的多线程并发任务,创建多任务并发执行的DEMO(Multi-threaded concurrent tasks based on spring boot to create DEMO for multi-task concurrent execution)
- 2020-06-21 19:20:01下载
- 积分:1
-
Java
java学习代码大全,J2SE几乎所有的知识点全部包括在内,可以方便的自学。(java code to learn Daquan, J2SE almost all include all the knowledge points, you can easily self-learning.)
- 2011-11-11 16:47:10下载
- 积分:1
-
lrclist
j2me Lrc_解析代碼.rar 一个demo,希望对大家有帮助(j2me Lrc_ parsing code. rar a demo, want to help everyone)
- 2010-03-09 23:40:59下载
- 积分:1
-
Mouse
实现在TextArea中输出最后一次鼠标单击的x,y坐标和连续单击的次数。(In the output of the TextArea realize the last time the mouse click of the x, y and continuous click on the number of times.)
- 2012-05-14 12:53:43下载
- 积分:1
-
calculator
简单计算器,加减乘除。java程序,可视化。(Simple calculator, subtraction, multiplication and division. java program visualization.)
- 2013-11-30 22:42:13下载
- 积分:1
-
counter
Just a simple counter
- 2012-11-30 04:29:55下载
- 积分:1
-
JavaAppletExampleProgram
javaapplet 的各种应用,字体颜色效果还有图片音频的播放等等,非常有用(javaapplet various applications, font color effects also play audio, pictures, etc., very useful)
- 2011-05-14 17:04:00下载
- 积分:1
-
常见面试题梳理
说明: changjian wemti mainshi pian
- 2020-06-20 01:20:02下载
- 积分:1