Lesson2.Java Basics


Lesson 2. Java Basics

In this lesson you will:

  • use the numeric type int to count the number of students

  • use the Java collection class java.util.ArrayList to store many students

  • understand default constructors

  • learn how to use the J2SE API documentation to understand how to use java.util.ArrayList

  • restrict the java.util.ArrayList collection to contain only Student objects

  • create a TestSuite to test more than one class

  • learn about packages and the import statement

  • understand how to define and use class constants

  • use date and calendar classes from the system library

  • learn the various types of comments that Java allows

  • generate API documentation for your code with javadoc



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