Term
|
Definition
| object-oriented programming language |
|
|
Term
| Java was invented when and by who? |
|
Definition
|
|
Term
| What was Java originally made for? |
|
Definition
|
|
Term
| What are the 7 characteristics of Java? |
|
Definition
simple reliable dynamic networking secure free portable |
|
|
Term
|
Definition
| Web pages with additional functionality |
|
|
Term
| What is a Java bytecode verifier? |
|
Definition
it prevents loaded classes from accessing the system (public-key encryption) |
|
|
Term
| What is the Java extension BEFORE the class is compiled? |
|
Definition
|
|
Term
| What is the Java extension AFTER the class is compiled? |
|
Definition
|
|
Term
| What are the 3 types of Java applications? |
|
Definition
Console Graphical User Interface (GUI) Applets |
|
|
Term
| What are Console Applications? |
|
Definition
- text-based - support only via command prompt |
|
|
Term
| What are GUI Applications? |
|
Definition
| depend on computer mouse for input |
|
|
Term
| What are Applets [Applications]? |
|
Definition
- small GUI Applications - can be run within Web pages |
|
|
Term
|
Definition
- Integrated Development Environment (IDE) - used to compile and run Javascripts |
|
|
Term
|
Definition
| tells computer to create object from class |
|
|
Term
|
Definition
| indicates class/method/variable can be accessed by any object/method directly |
|
|
Term
| How do you identify a single line comment? |
|
Definition
|
|
Term
| How do you identify the start of the method? |
|
Definition
| when it says printWelcome() [Welcome being class name] |
|
|
Term
| How do you identify how to print text? |
|
Definition
|
|
Term
| How do you identify a multi line comment? |
|
Definition
| when it is between /* and */ |
|
|
Term
|
Definition
- reserved for specific uses - recognized by the Java compiler - lowercase |
|
|
Term
| What 3 characters can identifiers only start with? |
|
Definition
| letters, underscores (_), or dollar signs ($) |
|
|
Term
| What are the rules for identifiers? |
|
Definition
1. can start with letter/underscore/dollar sign 2. can be alphanumeric 3. no maximum length 4. descriptive of purpose 5. no embedded spaces 6. no special characters |
|
|
Term
| What are the 2 Data Types? |
|
Definition
|
|
Term
|
Definition
- identifiers - changeable values |
|
|
Term
| How can you declare several values? |
|
Definition
| by separating identifiers with commas |
|
|
Term
|
Definition
| assigning a value/variable |
|
|
Term
|
Definition
|
|
Term
|
Definition
| symbols that perform logical/mathematical functions on operands |
|
|
Term
| What are the 3 types of Operators? |
|
Definition
Unary Arithmetic Comparison/Relational |
|
|
Term
| What are Unary Operators? |
|
Definition
| require one operand (don't need assignment operators) |
|
|
Term
| What are Comparison/Relational Operators? |
|
Definition
| binary (indicate relationship between two operands) |
|
|
Term
|
Definition
| demonstrates result of a logical operation |
|
|
Term
|
Definition
| allows program to choose what code to run |
|
|
Term
| What are the 4 types of Decisions? |
|
Definition
|
|
Term
| When do you use an IF ELSE statement? |
|
Definition
| it is used instead of 2 IF statements |
|
|
Term
| What is a SWICTH statement? |
|
Definition
| it is a type of decision that can have many execution paths |
|
|
Term
| What is a NESTED IF statement? |
|
Definition
| is is a type of decision that has an IF statement within an IF statement (nested) |
|
|
Term
|
Definition
| it permits a set of instructions to be repeated |
|
|
Term
| What are the 3 types of Loops? |
|
Definition
|
|
Term
|
Definition
| it evaluates a condition (if true, it runs the code) |
|
|
Term
|
Definition
| a repetition control structure that repeats a specific amount of times |
|
|
Term
|
Definition
| a repetition control structure that checks if a condition is true, then repeats a certain amount of times |
|
|
Term
|
Definition
| a repetition control structure that checks if a condition is true, then executes only once |
|
|
Term
|
Definition
| group of codes within same scope ({}) |
|
|
Term
| What is the 'Wrapper Class'? |
|
Definition
| it converts primitive data types into an object, allowing further manipulation on data stored |
|
|
Term
|
Definition
| unexpected error/events within Java program |
|
|
Term
| What is a 'Try Statement'? |
|
Definition
| it tells the computer that an error might happen within its scope |
|
|
Term
| What is a 'Catch Statement'? |
|
Definition
| it tells the computer that an error might happen within the scope of Try Statement |
|
|
Term
|
Definition
| it is a method when you create a new object |
|
|
Term
|
Definition
- it is when a subclass (child) acquires characteristics from the superclass (parent) - it is used code reusability |
|
|
Term
|
Definition
| it is a class without interpretation |
|
|
Term
| What is Method Overloading? |
|
Definition
| it is when methods have the same name but have different argument lists/parameters |
|
|