Skip to content

Common: Default Companies Text File #46

@standen1

Description

@standen1

default_companies.txt (this is going to be a hard coded text file storing a list of companies that will be in the users dashboard by default)

  • Pick 10 major companies for the stock list.
  • Create a DefaultStockFileIO class.
  • Create a stocks array instance variable.
  • Create a static filename variable with the path to the file as a string.
  • Create a Scanner object for interacting with file.
  • Function that reads from the file and creates/updates the stocks array.
  • Test DefaultStockFileIOTest class for testing.
  • Test read function.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions