public class StockQuote extends Object
| Constructor and Description |
|---|
StockQuote()
Default constructor.
|
StockQuote(String symbol)
Constructor setting the symbol to get the quote for.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getQuote()
Gets a stock quote for the given symbol
|
String |
getSymbol()
Gets the symbol.
|
void |
setSymbol(String symbol)
Sets the symbol for getting the quote.
|
public StockQuote()
public StockQuote(String symbol)
symbol - the symbol to look upCopyright © 2020. All rights reserved.