Lesson4.Class Methods and Fields


Lesson 4. Class Methods and Fields

In this lesson you will:

  • refactor an instance method to a class method

  • learn about class variables and methods

  • use the static import facility

  • learn how to use compound assignment and increment operators

  • understand what simple design is

  • create a utility method

  • learn how to judiciously use class methods

  • work with the boolean primitive type

  • understand why it is important that tests act as documentation

  • be exposed to exceptions and stack traces

  • learn more about initialization



Agile Java. Crafting Code with Test-Driven Development
Agile Javaв„ў: Crafting Code with Test-Driven Development
ISBN: 0131482394
EAN: 2147483647
Year: 2003
Pages: 391
Authors: Jeff Langr

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net