Welcome to the CSC Q&A, on our server named in honor of Ada Lovelace. Write great code! Get help and give help!
It is our choices... that show what we truly are, far more than our abilities.

Categories

+34 votes

So after learning about singleton classes it makes me wonder if it could be a simple way to get information from the autoTracker class into other classes. Could the data gained from the analyze method in AutoTracker be pulled out an placed in the singleton projectData? from there it could be used by all other classes. Any thoughts?

asked in CSC285_Fall2018 by (1 point)

1 Answer

+15 votes
 
Best answer

Our group uses a singleton ProjectData and it has been working perfectly fine

answered by (1 point)
selected by
...