Just Starting A Degree In Computer Science, MyVB Question (Beginner)
I am also learning Java and learning it easily. Teacher is great and takes his time. Can't say the same for MyVB teacher. We're learning Try Catch and he only read a Power Point riddle with typos. He converts PDFs to Word Docs and doesn't spell check. Can I get an explanation about a Try Catch for doing a calculation button for a 10% increase followed by a 10% decrease in salary? Pardon if the explanation isn't clear, but that's about as clear as it is for me. Thanks if you can help!
Posted Sep 25, 2017, 7:27 PM UTC
Try...catch is for error handling so you can handle certain type of errors that you are expecting to happen, rather than having the application crash.
But the math formula is written after the Try, correct? And I do know to declare variables at the very start I believe.
Yes. That would make sense.