In addition to correctness, solutions will be graded for style and design. Detail is given below; but the quick list is
// capture behavior common to all birds that swim
public abstract class Waterfowl {
// move in pattern typical for this type of bird
public abstract void swim();
}
public void printResults(String[] items, int first, int last,
String key);
// // Course: SE 2040 // Term: Spring 2018 // Assignment: assignment name // Author: your name //
const int BUFFER_SIZE = 50; // max items to process
double toProcess[BUFFER_SIZE];
Except in rare circumstances, do not declare named constants for
test code to avoid creating maintenance problems.
distance += 10; // add ten to distance
are worse than useless - don't write a comment if its opposite is obviously
false.