Please enable JavaScript to use CodeHS

Standards Framework

for Java SE 8 Programmer I

42

Standards in this Framework

Standard Description
0 Define the scope of variables
1 Define the structure of a Java class
10 Use Java operators; use parentheses to override operator precedence
11 Test equality between Strings and other objects using == and equals ()
12 Create if and if/else and ternary constructs
13 Use a switch statement
14 Declare, instantiate, initialize and use a one-dimensional array
15 Declare, instantiate, initialize and use multi-dimensional arrays
16 Create and use while loops
17 Create and use for loops including the enhanced for loop
18 Create and use do/while loops
19 Compare loop constructs
2 Create executable Java applications with a main method; run a Java program from the command line; produce console output
20 Use break and continue
21 Create methods with arguments and return values; including overloaded methods
22 Apply the static keyword to methods and fields
23 Create and overload constructors; differentiate between default and user defined constructors
24 Apply access modifiers
25 Apply encapsulation principles to a class
26 Determine the effect upon object references and primitive values when they are passed into methods that change the values
27 Describe inheritance and its benefits
28 Develop code that makes use of polymorphism; develop code that overrides methods; differentiate between the type of a reference and the type of an object
29 Determine when casting is necessary
3 Import other Java packages to make them accessible in your code
30 Use super and this to access objects and constructors
31 Use abstract classes and interfaces
32 Differentiate among checked exceptions, unchecked exceptions, and Errors
33 Create a try-catch block and determine how exceptions alter normal program flow
34 Describe the advantages of Exception handling
35 Create and invoke a method that throws an exception
36 Recognize common exception classes (such as NullPointerException, ArithmeticException, ArrayIndexOutOfBoundsException, ClassCastException)
37 Manipulate data using the StringBuilder class and its methods
38 Create and manipulate Strings
39 Create and manipulate calendar data using classes from java.time.LocalDateTime, java.time.LocalDate, java.time.LocalTime, java.time.format.DateTimeFormatter, java.time.Period
4 Compare and contrast the features and components of Java such as: platform independence, object orientation, encapsulation, etc.
40 Declare and use an ArrayList of a given type
41 Write a simple Lambda expression that consumes a Lambda Predicate expression
5 Declare and initialize variables (including casting of primitive data types)
6 Differentiate between object reference variables and primitive variables
7 Know how to read or write to object fields
8 Explain an Object's Lifecycle (creation, "dereference by reassignment" and garbage collection)
9 Develop code that uses wrapper classes such as Boolean, Double, and Integer