What are some of the problems that my program will encounter well there are some that will be at runtime an other that will be at the logic level. Here is some of the problem that might happen.
- IO Errors
- Environment Errors
- Logic Errors
IO Errors: Anytime receiving input from any type of source can be risky but types of errors could be handle correctly.
Environment Errors:Something that the programmer can not control, for example the memory available for the JVM.
Logic Errors: This are the type of errors that happen in the logic of the application, errors of this type can be found easily with unit code testing.
Java handles Errors in two major ways as an ERROR, Or Exception which derive from Throwable and this is where the getMessage() and printStackTrac() come from.
I always had a passion for the field of STEM (Science, Technology, Engineering, and Math) and I knew I wanted to do something to make a difference in the world. I just didn’t know where to start. I was an immigrant in a new country, grew up in a tough environment, and wasn’t sure how… Read More