A class defines a type and is used to define what all objects of that class know and can do.
New cards
2
Compiler
Software that translates the Java source code (ends in .java) into the Java class file (ends in .class).
New cards
3
Compile time error
An error that is found during the compilation. These are also called syntax errors.
New cards
4
Constructor
Used to initialize fields in a newly created object.
New cards
5
Field
A field holds data or a property - what an object knows or keeps track of.
New cards
6
Java
A programming language that you can use to tell a computer what to do.
New cards
7
Main Method
Where execution starts in a Java program.
New cards
8
Method
Defines behavior - what an object can do.
New cards
9
Object
Objects do the actual work in an object-oriented program.
New cards
10
Syntax Error
A syntax error is an error in the specification of the program.
New cards
11
class
used to define a new class
New cards
12
public
a visibility keyword which is used to control the classes that have access. The keyword public means the code in any class has direct access.
New cards
13
private
a visibility keyword which is used to control the classes that have access. The keyword private means that only the code in the current class has direct access.