Package com.zybooks.dsaj.primer


package com.zybooks.dsaj.primer
Code from the chapter "Java Primer"
  • Class
    Description
    Demonstration of a recursive method to find the maximum value in an array.
    Example of valid and invalid method for scaling a numeric array.
    Example of a static method that analyzes an array
    Example of a static method that analyzes an array using for-each loop.
    An integer counter that can be incremented and reset to zero.
    A demonstration of the use of the Counter class.
    A simple model for a consumer credit card.
    An example that uses an enumerated type.
    An enumerated type for days of the week.
     
    A demonstration of primitive types.
    An example of nested conditional statements
    Our version of the classic Hello World.
    A demonstration of Java's wrapper types.