Java Chapter 3 Notes
Java Chapter 3 Notes
1. What is Java?
A programming language.
2. What is a Class?
Defines the type of data and actions associated with an object of that class, but not the
actual data for an individual object.
9. Define:
source code- java code typed by a programmer
Jamel Blount
What extension do source code files have? .
.java
compiling-
What extension do compiled files have?
.class
syntax error-
What is an example of a syntax error?
error in a statement that violates the rules of java
14. What is an escape sequence? What are the 4 common escape sequences?
backslash followed by a symbol that represents a character.
\n newline
\t= tab(8 spaces)
Jamel Blount
\\ backslash
\” double quotation mark