Test #1 Flashcards
what is automatically executed when running a java application
main method
what program won’t compile
one with syntax errors
Controls the way output is displayed
format method
what do statements end with
semicolon
whats the - indicate on a format string specifier
left alignment
what’s and interpretor
software that runs each bytecode instructions of a compiled java program
whats difference between print and println
println- puts next set of words on a new line
print- puts next set of words on the same line
Do comments effect execution of a program
no
what’s an application
a type of package
whats machine code made of
1s and 0s
What can syntax errors cause
problems such as stopping applications from compiling
violate rules of java
have to fixed to run
what method controls output display?
format method
whats compiling
a process that converts source code into code that the computer can understand
what’s a string or string argument
is text that’s going to show up on the screen
a set of steps used to solve a problem is
an algorithm
escape sequences?
\n- newline
\t- tab
\- backslash
"- double quotation
Method
named set of statements that perform a single well defined task
Source Code
a code that is typed by a programmer
ByteCode
compiled java source
/* */
used to enclose single or multiline comments
//
used to add comment to end of statement or create a single line comment
/** */
used for documentation