following the example of the circle class in §8.2, design

Project Description:

following the example of the circle class in §8.2, design a class named stock that contains:■ a string data field named symbol for the stock’s symbol.■ a string data field named name for the stock’s name.■ a double data field named previousclosingprice that stores the stock price for the previous day.■ a double data field named currentprice that stores the stock price for the current time.■ a constructor that creates a stock with specified symbol and name.■ a method named getchangepercent() that returns the percentage changed from eviousclosingprice to currentprice.draw the uml diagram for the class. implement the class. write a test program that creates a stock object with the stock symbol java, the name sun microsystems inc, and the previous closing price of 4.5. set a new current price to 4.35 and display the price-change percentage.
Skills Required:
Project Stats:

Price Type: Negotiable

Expired
Total Proposals: 10
1 Current viewersl
13 Total views
Project posted by:

Proposals

Proposals Reputation Price offered
  • 4.8
    290 Jobs 208 Reviews
    $0 in 0 Day
  • 4.6
    143 Jobs 76 Reviews
    $0 in 0 Day
  • 4.6
    103 Jobs 52 Reviews
    $0 in 0 Day
  • 4.0
    72 Jobs 31 Reviews
    $0 in 0 Day
  • 0.0
    0 Jobs 0 Reviews
    $0 in 0 Day
  • 4.8
    60 Jobs 32 Reviews
    $0 in 0 Day
  • 4.3
    7 Jobs 3 Reviews
    $0 in 0 Day
  • 4.7
    74 Jobs 28 Reviews
    $0 in 0 Day
  • 4.9
    95 Jobs 45 Reviews
    $0 in 0 Day