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: 9
1 Current viewersl
11 Total views
Project posted by:

Proposals

Proposals Reputation Price offered