A1 |
Describe the use of main in a Java applicationSignature of main, why it is static; how to consume an instance of your own class; command-line arguments |
Lessons
|
A2 |
Perform basic input and output using standard packagesPrint statements; import and use the Scanner class |
Lessons
|
A3 |
Evaluate the scope of a variableDeclare a variable within a block, class, or method |
Lessons
|
B1 |
Declare and use primitive data type variablesData types, including byte, char, int, double, short, long, float, boolean; identify when precision is lost; initialization; how primitives differ from wrapper object types such as Integer and Boolean |
Lessons
|
B2 |
Construct and evaluate code that manipulates stringsString class and string literals, comparisons, concatenation, case and length; String.format methods; string operators; converting a primitive data type to a string; the immutable nature of strings; initialization; null |
Lessons
|
B3 |
Construct and evaluate code that creates, iterates, and manipulates arrays and array listsOne- and two-dimensional arrays, including initialization, null, size, iterating elements, accessing elements; array lists, including adding and removing elements, traversing the list |
Lessons
|
B4 |
Construct and evaluate code that performs parsing, casting and conversionImplementing code that casts between primitive data types, converts primitive types to equivalent object types, or parses strings to numbers |
Lessons
|
B5 |
Construct and evaluate arithmetic expressionsArithmetic operators, assignment, compound assignment operators, operator precedence |
Lessons
|
C1 |
Construct and evaluate code that uses branching statementsif, else, else if, switch; single-line versus block; nesting; logical and relational operators |
Lessons
|
C2 |
Construct and evaluate code that uses loopswhile, for, for each, do while; break and continue; nesting; logical, relational, and unary operators |
Lessons
|
D1 |
Construct and evaluate a class definitionConstructors; constructor overloading; one class per .java file; this keyword; inheritance and overriding at a basic level |
Lessons
|
D2 |
Declare, implement, and access data members in a classprivate, public, protected; instance data members; static data members; using static final to create constants; describe encapsulation |
Lessons
|
D3 |
Declare, implement, and access methodsprivate, public, protected; method parameters; return type; void; return value; instance methods; static methods; overloading |
Lessons
|
D4 |
Instantiate and use a class object in a programInstantiation; initialization; null; accessing and modifying data members; accessing methods; accessing and modifying static members; importing packages and classes |
Lessons
|
E1 |
Troubleshoot syntax errors, logic errors, and runtime errorsprint statement debugging; output from the javac command; analyzing code for logic errors; console exceptions after running the program; evaluating a stack trace |
Lessons
|
E2 |
Implement exception handlingtry catch finally; exception class; exception class types; display exception information |
Lessons
|