Java - Errors and Debugging in Eclipse



Outline: Errors and Debugging: * When writing a Java Program, here is a list of typical errors: - Missing semicolon(;); - Missing double quotes("."); - Mis-match of filename and classname; - Typing the print statement n lower case. *The line which has the error will be indicated with a red cross mark on the left margin; *The list of errors is displayed by hovering the mouse over the cross mark; *Create a class ErrorFree with Errors, debug the code and run it; *Eclipse also offers intelligent fixes. Pre-requisite: Java - Hello World Program in Eclipse

Published by:

Spoken Tutorial IIT Bombay

DOER Persistent Identifier: