Java Programming with J2SE 5: Java Utilities


Overview/Description
Target Audience
Prerequisites
Expected Duration
Lesson Objectives
Course Number



Overview/Description
To enable the learner to use the classes and methods of the java.lang, java.util, java.io, and java.nio packages

Target Audience
Programmers with an understanding of procedural programming concepts who want to learn Java and object-oriented programming; programmers proficient in another object-oriented programming language who want to move to Java; programmers experienced in the Java language who want to take the Sun Certified Programmer for the Java 2 Platform, Standard Edition 5.0 exam

Prerequisites
Knowledge of programming principles and experience in procedural programming or scripting languages, such as Visual Basic, C, or JavaScript; understanding of object-oriented languages, such as C++ or C#, is an advantage

Expected Duration (hours)
3.7

Lesson Objectives

Java Programming with J2SE 5: Java Utilities

  • use the methods of the Java Math class to determine the value of a variable in a given piece of code, and associate the new methods of the Math class with their corresponding functions.
  • use the utility methods of the Java wrapper classes to compare wrapper objects, transform values into strings, and extract values from wrapper objects.
  • use the new methods of the Integer and Long wrapper classes to manipulate bits for a given scenario, and specify the code required to perform automatic conversions between primitive and wrapper types in J2SE 5.0.
  • specify the code required to test the equality of strings, carry out pattern matching in regular expressions, and modify strings and string buffers for a given scenario.
  • use the Java String class to manipulate strings and define regular expressions.
  • specify the code required to modify system resources for a given scenario.
  • specify the code required to access, modify, and launch system properties, and create operating system processes for a given scenario.
  • access and edit system environmental variables, launch system processes, and retrieve system timing information.
  • manipulate and traverse the elements of a collection for a given scenario.
  • use Java's Collection class to modify, sort, and search a collection in a given scenario.
  • use iterators to traverse the elements of a list in a given code sample, and sort and modify the list elements using the Collections class.
  • select the appropriate Collection classes, interfaces, and method implementation to meet the requirements of a given scenario.
  • Course Number:
    220921_eng