资源简介
自己整理过的,所有的quiz exercise exam都有,有几个放错文件夹了,自己找一下,全都在里面,一般后面几个都没有,我自己做了一个,绝对准确,下过我ssd3的应该知道的,另外需要final exam的我也有,不过要找一下,要的话说一声,我上传

代码片段和文件信息
import java.io.*;
/**
* objects of this class store stock information for a company.
* The following information is stored.
*
* - the Dow Jones symbol for the company a
String
.
* - the name of the company a
String
.
* - the highest price reached during the course of the day
* a double
* - the lowest price reached during the course of the day
* a double
* - the last trading price recorded when the market closed on the day
* a double
*
*
* @author iCarnegie
* @version 1.0.0
*/
public class Stock {
/** Dow Jones symbol for the company */
private String symbol;
/** the name of the company */
private String name;
/** the highest price reached during the course of the day */
private double highestPrice;
/** the lowest price reached during the course of the day */
private double lowestPrice;
/** the last trading price recorded when the market closed on the day */
private double lastPrice;
/**
* Constructs a Stock
object.
*
* @param initialSymbol the symbol of the stock.
* @param initialName the name of the company.
* @param initialHighestPrice the highest price of the stock.
* @param initialLowestPrice the lowest price of the stock.
* @param initialLastPrice the close price of the stock.
*/
public Stock (
String initialSymbol
String initialName
double initialHighestPrice
double initialLowestPrice
double initialLastPrice) {
this.symbol = initialSymbol;
this.name = initialName;
this.highestPrice = initialHighestPrice;
this.lowestPrice = initialLowestPrice;
this.lastPrice = initialLastPrice;
}
/**
* Obtains the symbol of this stock.
*
* @return the symbol of this stock.
*/
public String getSymbol() {
return this.symbol;
}
/**
* Obtains the name of this stock.
*
* @return the name of this stock.
*/
public String getName() {
return this.name;
}
/**
* Obtains the highest price of the stock.
*
* @return the highest price of this stock.
*/
public double getHighestPrice() {
return this.highestPrice;
}
/**
* Obtains the lowest price of the stock.
*
* @return the lowest price of this stock.
*/
public double getLowestPrice() {
return this.lowestPrice;
}
/**
* Obtains the close price of the stock.
*
* @return the close price of this stock.
*/
public double getLastPrice() {
return this.lastPrice;
}
/**
* Returns a {@link String} with the stock info in a xml format
*
* @return the newly created {@link String} with the stock info
*/
public String getxml() {
/* Line separator */
String NEW_LINE = System.getProperty(“line.separator“);
return ““
+ NEW_LINE
+ “ “+ getSymbol() + “
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 91629 2010-04-10 17:58 SSD3答案\exam1\EmployeeInformationSystem.jpg
文件 3384 2010-04-10 17:58 SSD3答案\exam1\stock\Stock.java
文件 1878 2010-04-10 17:58 SSD3答案\exam1\stock\StockApplication.java
文件 2175 2010-04-10 17:58 SSD3答案\exam1\weather方法1\Weather.java
文件 2566 2010-04-10 17:58 SSD3答案\exam1\weather方法1\WeatherApplication.java
文件 2681 2010-04-10 17:58 SSD3答案\exam1\weather方法2:数组解决\WeatherApplication.java
文件 543 2010-04-10 17:58 SSD3答案\exam2\AudioFile.java
文件 905 2010-04-10 17:58 SSD3答案\exam2\MediaDataba
文件 55 2010-04-10 17:58 SSD3答案\exam2\MediaFile.java
文件 4107 2010-04-10 17:58 SSD3答案\exam2\student-files.zip
文件 934 2010-04-10 17:57 SSD3答案\exercise1\Product.class
文件 1135 2010-04-10 17:57 SSD3答案\exercise1\ShoppingCart.class
文件 2652 2010-04-10 17:57 SSD3答案\exercise1\ShoppingCartApplication.class
文件 2531 2010-04-10 17:57 SSD3答案\exercise1\ShoppingCartApplication.java
文件 3435 2010-04-10 17:57 SSD3答案\exercise1\要求与所需文件\exe-shopping-cart.jar
文件 126561 2010-04-10 17:57 SSD3答案\exercise1\要求与所需文件\Exercise1.pdf
文件 934 2010-04-10 17:57 SSD3答案\exercise1\要求与所需文件\Product.class
文件 1135 2010-04-10 17:58 SSD3答案\exercise1\要求与所需文件\ShoppingCart.class
文件 2702 2010-04-10 17:58 SSD3答案\exercise1\要求与所需文件\ShoppingCartApplication.class
文件 6522 2010-04-10 17:58 SSD3答案\exercise1\要求与所需文件\student-files.zip
..A.SH. 9216 2010-07-02 14:52 SSD3答案\exercise2\Thumbs.db
文件 175707 2010-04-10 17:57 SSD3答案\exercise2\uml-gou-cof.jpg
文件 104772 2010-04-10 17:57 SSD3答案\exercise2\要求与所需文件\Exercise2.pdf
文件 9858 2010-04-10 17:57 SSD3答案\exercise2\要求与所需文件\gourmet-coffee-sample-executable.jar
文件 1144 2010-04-10 17:57 SSD3答案\exercise3\Coffee.java
文件 783 2010-04-10 17:57 SSD3答案\exercise3\CoffeeBrewer.java
文件 596 2010-04-10 17:57 SSD3答案\exercise3\OrderItem.java
文件 690 2010-04-10 17:57 SSD3答案\exercise3\Product.java
文件 131185 2010-04-10 17:57 SSD3答案\exercise3\要求与所需文件\Exercise3.pdf
文件 3731 2010-04-10 17:57 SSD3答案\exercise3\要求与所需文件\student-files.zip
............此处省略227个文件信息
- 上一篇:CAD版本转换器支持cad2019格式转换
- 下一篇:《机械加工余量手册 》
相关资源
- keithley2002 example
- CWAP Certified Wireless Analysis Professional
- (补充)修改output-example,将H.264AAC帧
- 智博考场服务器2.75及mediaclass 3.7全套
- Behind Phishing_ An Examination of Phisher Mod
- 完整中文版Introduction to Lens Design Wit
- Graph Algorithms:Practical Examples in Apach
- CFA一级2018 Level I Mock Exam
- Time Series Analysis and Its Applications With
- ACTEX Exam P Manual
- Bayesian Networks With Examples in R280858
- onlineExam.rar
- SysemVue Examples (SystemVue )
- Visual CertExam
- ROS Robotics by Example
- Applied Bayesian Statistics---With R and OpenB
- CompTIA Security+ Study Guide Exam SY0-501(7
- CISSP Practice Exams 最新官方习题集第四
- windriverworkbench资料
- SELinux by Example Using Security Enhanced Lin
- SSD3答案包含两个版本
- ROS Robotics By Example - Second Edition_Code.
- Blend for Visual Studio 2012 By Example
- osworkflow-2.8.0-example.war
- PMI-ACP Exam Prep Questions Answers & Explanat
- flash game development by example源码
- exam_formatter解压直接使用.zip
- Progressive Web Application Development by Exa
- Visual CertExam Suite 3.3,最新绿色破解版
- OnlineExaminationSystem.rar
评论
共有 条评论