click below
click below
Normal Size Small Size show me how
1 - Intro to Java
Java Review for the AP CS A Exam
| Term | Definition |
|---|---|
| class | defines a type and is used to define what all objects of that class know and can do |
| compiler | software that translates the Java source code(end in .java) into the Java class file(ends in .class) |
| compile time error | an error that is found during compilation; syntax error |
| constructor | used to initialize fields in a newly created object |
| field | holds data or a property; what an object knows or keeps track of |
| Java | programming language you can use to tell a computer what to do |
| main method | where execution starts in a Java program |
| method | defines behavior; what an object can do |
| objects | do the actual work in an object-oriented program |
| syntax error | error in the specification of the program |
| keyword class | keyword used to define a new class |
| keyword public | visibility keyword used to control the classes that have access; means code in any class has direct access |
| keyword private | visibility keyword used to control the classes that have access; means only code in current class has direct access |