9. Working with Selected classes from the Java API

Note:

  • there is overlap between topics, which is unavoidable due to the organisation of the objectives
  • Touched on topics are introduced, but covered in other sections in much greater detail


1. Manipulate data using the StringBuilder class and its methods


Topics:

  • construction and length/capacity
  • appending and inserting
  • updating and deleting
  • extracting parts



2. Creating and manipulating Strings


Topics:

  • creating
  • immutability
  • common string methods



3. Create and manipulate calendar data using classes from java.time.LocalDateTime, java.time.LocalDate, java.time.LocalTime, java.time.format.DateTimeFormatter, java.time.Period


Topics:

  • creating local dates and times
  • parsing
  • formatting
  • date/time arithmetic



4. Declare and use an ArrayList of a given type


Topics:

  • creating an ArrayList
  • common methods



5. Write a simple Lambda expression that consumes a Lambda Predicate expression


Topics:

  • Predicate interface
  • Lambda expression for Predicates



Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License