JFo 2-2 Flashcards
A program is read line by line, one at a time. (True or false?)
True
Pauses code execution; check the current state of the program, also help debug
Breakpoints
Breakpoints affect code execution when?
When code is run with the debugger
Breakpoints can’t affect code execution when?
When code is run normally
How to set breakpoints
point cursor in a number, in the left margin, just click to set or remove breakpoint.
It is required to end a statement in a code line
Semi-colon (;)
It is a space between words, a blank line, an indentation before a line of code
Whitespace
What do you call a code within curly braces?
Block of code
Single-line comments in java start with/end with?
Start with two slashes (//), end when the line ends
Multi-line comments in java start with/end with?
start with /*, end with */