Java programming with Greenfoot: dealing With errors

This video tutorial explains the different error codes that occur in Greenfoot Java and other programming languages and demonstrates how to find out exactly where the error has occurred.  This includes syntax errors (which present code from compiling as something has been typed incorrectly) and runtime errors (also known as logical or semantic errors – errors that occur when the code is running, i.e. the program does not do what it should do).  The tutorial explains that an error message includes a stack trace to help you find where the error has occurred.

More resources can be found here

 

 

 

Show health and safety information

Please be aware that resources have been published on the website in the form that they were originally supplied. This means that procedures reflect general practice and standards applicable at the time resources were produced and cannot be assumed to be acceptable today. Website users are fully responsible for ensuring that any activity, including practical work, which they carry out is in accordance with current regulations related to health and safety and that an appropriate risk assessment has been carried out.

Published by

Actions

Share this resource

Collections

This resource is part of Joy of code: Java programming with Greenfoot

Comments