Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Error checking - java2

 
Brian Holsenbeck
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I haven't gotten the go-ahead on java1-b, but I'm looking at java2 in hopes the latest submission is good. How good does the error checking need to be? Do I need to check for whether the input is an int? For whether the input will fit into an int?
 
Marilyn de Queiroz
Sheriff
Posts: 9063
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Pretty minimal error checking. We don't really worry much about error checking until OOP 2.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic