Chp 1: Java Flashcards
features of the Java programming language
“write once, run anywhere”
case sensitive
semicolon
how to add comments on Java (or to “comment out”)
line comments: block a line or part of it by adding a // at the beginning
block comments: /* (commented out code) */
can block out many lines
Javadoc comments: special block comments called documentation commends
/** (comment) */
used to automatically generated nicely formatted program documentation with a program named javadoc
identifiers
the names of variables, methods, classes, packages, and interfaces
at run time
a class called Runtime allows any Java application to interface with the environment it is running on
ex: JRE: Java runtime engine, which develops programs
debugging
finding and removing errors from a program
logic error
a bug that doesn’t crash the program, but makes the program run unexpectedly
camel casting
camelCasting
an ideal way to name variables
compiler
Javac.exe is the Java compiler, managed by Eclipse IDE
interprets the code you wrote and turns it into machine code (bytecode), which can be used
syntax error
error in syntax or sequence or rules of coding
logic
understanding something in a sequential way
variables
something that holds a value that varies
whitespace
things that alters the typography
\n
\t
\r
[spacebar]
source code
the code that you write in the Java programming language
has the .java extension
Integrated Development Environment (IDE)
Eclipse IDE
automates a lot of things for Java, like Java.exe, Javac.exe (compiler), etc
Javadoc
a documentation generator for Java