Advertisement
jdalbey

faq

Apr 25th, 2016
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.26 KB | None | 0 0
  1. Q: To what extent should we clean up the style in the Traffic Simulator project?
  2. A: Any new classes you write should conform to class coding std.
  3. Any classes you don't touch, don't have to conform.
  4. Any modified code should conform (at the method level).
  5.  
  6.  
  7. Q: I know in class, you mentioned modifying the CADSimulator to take a command line argument of the config file class path that it needed,
  8. A:No, it's not a command line argument, it's a VM argument.
  9. Q: however I noticed on the updated project specification you ask that we not modify the main() method.
  10. "The instructor's automated tests will NOT run the main() method, so don't add any code to this method."
  11. Which would you prefer we do? Thanks.
  12. A: Don't add any code crucial to running the application. You can omit the setProperty, for example.
  13.  
  14.  
  15.  
  16. Q:For the CADSimulator in the project are we supposed to modify the main method to read from any config file?
  17. A: No.
  18. Q: Or are we staying with the config file that is already in use?
  19. A: You are to add the UserInterface key.
  20. Q: Is the project supposed to be using command line arguments at all for using the console or the gui?
  21. A: No, but it may use VM arguments.
  22.  
  23. Q: Where do we wire our Observer/Observable if not in main()?
  24. A: In CADSimulator constructor.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement