91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

資源簡介

卡耐基 SSD3答案(全 eaxm+qiuz+excerise)

資源截圖

代碼片段和文件信息

import??java.io.*;

/**
?*?objects?of?this?class?store?stock?information?for?a?company.
?*?The?following?information?is?stored.
?*?

    ?*?
  1. the?Dow?Jones?symbol?for?the?company?a?String.

  2. ?*?
  3. the?name?of?the?company?a?String.

  4. ?*?
  5. the?highest?price?reached?during?the?course?of?the?day
    ?*?????a?double

  6. ?*?
  7. the?lowest?price?reached?during?the?course?of?the?day
    ?*?????a?double

  8. ?*?
  9. the?last?trading?price?recorded?when?the?market?closed?on?the?day
    ?*?????a?double

  10. ?*?

?*
?*?@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(“l(fā)ine.separator“);

return??“
+?NEW_LINE
+?“?????“+?getSymbol()?+?“?

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件???????2674??2007-12-24?21:38??SSD3答案\quiz9\Employee.java

?????文件??????88041??2007-12-20?20:42??SSD3答案\quiz9\要求與所需文件\Practical?Quiz?9.pdf

?????文件???????8831??2007-12-20?20:41??SSD3答案\quiz9\要求與所需文件\student-files.zip

?????文件????????108??2008-01-04?13:35??SSD3答案\quiz8\DVD.java

?????文件????????773??2008-01-04?13:35??SSD3答案\quiz8\DVDMovie.java

?????文件????????529??2008-01-04?13:01??SSD3答案\quiz8\Movie.java

?????文件?????????77??2008-01-04?13:12??SSD3答案\quiz8\VHS.java

?????文件????????588??2008-01-04?13:35??SSD3答案\quiz8\VHSMovie.java

?????文件?????177549??2007-12-20?20:37??SSD3答案\quiz8\要求與所需文件\Practical?Quiz?8.pdf

?????文件???????5695??2007-12-20?20:35??SSD3答案\quiz8\要求與所需文件\student-files.zip

?????文件???????2512??2008-01-03?16:39??SSD3答案\quiz7\Student.java

?????文件???????5701??2008-01-03?17:18??SSD3答案\quiz7\StudentArrayList.java

?????文件???????9785??2008-01-03?16:40??SSD3答案\quiz7\TestStudentArrayList.java

?????文件??????91163??2007-12-20?20:19??SSD3答案\quiz7\要求與所需文件\Practical?Quiz?7.pdf

?????文件???????8078??2007-12-20?20:20??SSD3答案\quiz7\要求與所需文件\student-files.zip

?????文件???????1934??2008-01-03?15:29??SSD3答案\quiz6\Employee.java

?????文件???????5570??2008-01-03?16:32??SSD3答案\quiz6\EmployeeArray.java

?????文件???????9231??2008-01-03?15:30??SSD3答案\quiz6\TestEmployeeArray.java

?????文件??????89155??2007-12-20?20:12??SSD3答案\quiz6\要求與所需文件\Practical?Quiz?6.pdf

?????文件???????7710??2007-12-20?20:24??SSD3答案\quiz6\要求與所需文件\student-files.zip

?????文件???????2910??2008-01-01?23:30??SSD3答案\quiz5\TestAthleteScores.java

?????文件??????71247??2007-12-20?20:10??SSD3答案\quiz5\要求與所需文件\Practical?Quiz?5.pdf

?????文件???????1658??2007-12-20?20:10??SSD3答案\quiz5\要求與所需文件\student-files.zip

?????文件??????95978??2008-01-06?16:34??SSD3答案\quiz4\uml-customer-system.jpg

?????文件??????74207??2007-12-20?20:01??SSD3答案\quiz4\要求與所需文件\Practical?Quiz?4.pdf

?????文件??????39162??2008-01-06?13:19??SSD3答案\quiz3\AnimalsClassDiagram.jpg

?????文件?????115019??2008-01-06?12:59??SSD3答案\quiz3\ComputerClassDiagram.jpg

?????文件??????76945??2007-12-20?19:59??SSD3答案\quiz3\要求與所需文件\Practical?Quiz?3.pdf

?????文件???????4450??2007-12-31?21:05??SSD3答案\quiz2\DNASequence.java

?????文件????????865??2007-12-20?19:33??SSD3答案\quiz2\要求與所需文件\DebuggingReport.txt

............此處省略109個文件信息

評論

共有 條評論