资源简介
自己整理过的,所有的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格式转换
- 下一篇:《机械加工余量手册 》
相关资源
- 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
- exam_2.0.zip
- 美国卡耐基大学垃圾邮件分类数据集
- Examples.unitypackage
- Visual CertExam Suite
- Q3D Extractor Examples
- Django 2 by Example_Code 源码
- example.rar
- visual+certexam+suite_1.9破解版
- ssd7 exercise10 答案 卡耐基 icarnegie
- Adversarial Examples: Attacks and Defenses for
- ssd4 ex4 ssd4 ex4 人机界面 QT QT版本的作
- Visual CertExam Suite 3.4.2 最新绿色破解版
- ActiveMQ_QtExample.rar
- Performance by Design: Computer Capacity Plann
- VCE 考试模拟器(Avanset VCE Exam Simulat
- SgExam.zip
- CCNA第三学期《Final_Examination》
- 卡耐基 SSD7 exercise 10 答案
- ssd3教程.chm
评论
共有 条评论