# Big Java Late Objects Easy Exercises

## Chapter 1

Compile Hello World Program from section 1.5
Print Hello All
Draw a filled triangle
Draw a staircase
Draw a parallelogram
Draw picture with a tree and bush
Print lines of a Frost poem
Print Peter Piper poem
Print an equation
Print a multiplication table
## Chapter 2

Compute rectangle area from given width and height constants
Compute rectangle area from inputs
Determine length of line segment
Print out last n characters of a string
Select and print substrings from string
Compute future value of CD
CD future values for different periods
Normalize angles
Print initials from names
Convert Farhenheit to Celsius and Kelvin
## Chapter 3

Find larger of two integers
Convert between Farhenheit and Celsius
Put two words in lexicographic order
Find smallest of three integers
Determine letter grade from class average
Determine correct quadrant for angle
Determine worth of a pile of coins
Update current bank balance
Convert dollars and cents to nearest dime
## Chapter 4

Find all vowels in string
Sum of odd integers
Count number of vowels in string
Count words in a sentence
Count number of 7s in number
Raise x to the nth power
Compute n factorial (n!)
Reverse characters in a string
Find palindromes
Average characters per word
## Chapter 5

Get initials from name
371te hax0rs
Determine pay for week
Check inputs for quizzes
Convert military time to AM/PM
Get the middle char(s) of a string
Determine n! recursively
Draw rectangle []
Count how many digits equal 7
Area of triangle
Combine numbers with given operator
## Chapter 6

Find the sum of array elements
Find average price in array
Find middle element(s) of array
Linear search
Count occurrences of given int in array
Find larger sum of 2D array rows
Compute test averages from 2 1D arrays
Count test averages below 70 with 2D array
Copy array in reverse order to ArrayList
Copy array to ArrayList, excluding duplicates
## Chapter 7

Fill diagonals of square board with asterisks
Sentence class
Rectangle/Square: 2 constructors; 2 methods
Count vowels, consonants, and compute their ratio in a Sentence class
Add static variable and method to Coin class
Rental Cars with static methods for counting rented and available cars
Spinning disk device with getSegmentLength method
Spinning disk device with getTransitions method
Spinning disk device with getSegmentLength method
A Square that can grow
Box class with volume and surface area methods
## Chapter 8

Count number words per line in file
Replace vowels with underscores in file
Bank account constructor with IllegalArgumentException
Find integers in a file
Read file with arithmetic expressions
Check arithmetic expression string for exceptions
## Chapter 9

Write the constructor for the SavingsAccount subclass
State quarter subclass of coin class
Provide common shape superclass
## Chapter 10

Linked list with all but the first two removed
Create linked list with three strings
Create linked list with three strings (2)
Adding and removing queue elements
Working with queues and stacks
Working with queues and stacks (2)
Sets of words
Map from strings to number of letters
Hash set of people
Tree set of people