"The only test of the utility of Knowledge, is its promoting the happiness of mankind." — Dr. STARK on Diet, p. 90.
1 Develop code that uses the primitive wrapper classes (such as Boolean, Character, Double, Integer, etc.), and/or autoboxing & unboxing. Discuss the differences between the String, StringBuilder, and StringBuffer classes.
1.1 Understand the wrapper classes
1.1.1 Byte
1.1.2 Short
1.1.3 Int
1.1.4 Long
1.1.5 Float
1.1.6 Double
1.1.7 Char
1.1.8 Boolean
1.2 Autoboxing
1.3 Unboxing
1.4 String classes
1.4.1 String
1.4.2 StringBuffer
1.4.3 StringBuilder
2 Given a scenario involving navigating file systems, reading from files, or writing to files, develop the correct solution using the following classes (sometimes in combination), from java.io: BufferedReader,BufferedWriter, File, FileReader, FileWriter and PrintWriter.
2.1 Using java.io classes:
2.1.1 BufferedReader
2.1.2 BufferedWriter
2.1.3 File
2.1.4 FileReader
2.1.5 FileWriter
2.1.6 PrintWriter
2.2 Write code to navigate file systems
2.3 Write code to read from files
2.4 Write code to write to a file
3 Develop code that serializes and/or de-serializes objects using the following APIs from java.io: DataInputStream, DataOutputStream, FileInputStream, FileOutputStream, ObjectInputStream, ObjectOutputStream and Serializable.
3.1 Using java.io classes:
3.1.1 DataInputStream
3.1.2 DataOutputStream
3.1.3 FileInputStream
3.1.4 FileOutputStream
3.1.5 ObjectInputStream
3.1.6 ObjectOutputStream
3.1.7 Serializable
3.2 Write code to serialize objects
3.3 Write code to deserialize objects
4 Use standard J2SE APIs in the java.text package to correctly format or parse dates, numbers, and currency values for a specific locale; and, given a scenario, determine the appropriate methods to use if you want to use the default locale or a specific locale. Describe the purpose and use of the java.util.Locale class.
4.1 Using the java.text package, for a given locale,
4.1.1 Correctly format dates
4.1.2 Correctly parse dates
4.1.3 Correctly format numbers
4.1.4 Correctly parse numbers
4.1.5 Correctly format currency values
4.1.6 Correctly parse currency values
5 Write code that uses standard J2SE APIs in the java.util and java.util.regex packages to format or parse strings or streams. For strings, write code that uses the Pattern and Matcher classes and the String.split method. Recognize and use regular expression patterns for matching (limited to: . (dot), * (star), + (plus), ?, \d, \s, \w, [], ()). The use of *, +, and ? will be limited to greedy quantifiers, and the parenthesis operator will only be used as a grouping mechanism, not for capturing content during matching. For streams, write code using the Formatter and Scanner classes and the PrintWriter.format/printf methods. Recognize and use formatting parameters (limited to: %b, %c, %d, %f, %s) in format strings.
5.1 Using the packages java.util and java.util.regex
5.1.1 Write code that uses the Pattern and Matcher classes
5.1.2 Write code that uses the String.split method
5.1.3 Work with basic regular expressions ( .*+?\d\s\w[]() )
5.1.4 Write code that uses the Formatter classes
5.1.5 Write code that uses the Scanner classes
5.1.6 Write code that uses the PrintWriter.format methods
5.1.7 Write code that uses the PrintWriter.printf methods
5.1.8 Use the formatting strings %b, %c, %d, %f, %s