Object-Oriented Approach to Programming Logic and Design 4th Edition Joyce Farrell Solutions Manual - Download All Chapters Immediately In PDF Format
Object-Oriented Approach to Programming Logic and Design 4th Edition Joyce Farrell Solutions Manual - Download All Chapters Immediately In PDF Format
com
https://testbankfan.com/product/object-oriented-approach-to-
programming-logic-and-design-4th-edition-joyce-farrell-
solutions-manual/
OR CLICK BUTTON
DOWLOAD NOW
https://testbankfan.com/product/object-oriented-approach-to-
programming-logic-and-design-4th-edition-joyce-farrell-test-bank/
testbankfan.com
https://testbankfan.com/product/programming-logic-and-design-
comprehensive-7th-edition-joyce-farrell-solutions-manual/
testbankfan.com
https://testbankfan.com/product/programming-logic-and-design-
comprehensive-7th-edition-joyce-farrell-test-bank/
testbankfan.com
https://testbankfan.com/product/business-its-legal-ethical-and-global-
environment-10th-edition-jennings-solutions-manual/
testbankfan.com
Essentials of Genetics 9th Edition Klug Test Bank
https://testbankfan.com/product/essentials-of-genetics-9th-edition-
klug-test-bank/
testbankfan.com
https://testbankfan.com/product/contemporary-auditing-10th-edition-
knapp-solutions-manual/
testbankfan.com
https://testbankfan.com/product/electronic-commerce-10th-edition-gary-
schneider-test-bank/
testbankfan.com
https://testbankfan.com/product/mgmt-11th-edition-williams-test-bank/
testbankfan.com
https://testbankfan.com/product/strategic-management-creating-
competitive-advantages-7th-edition-dess-test-bank/
testbankfan.com
Introduction to Social Problems 10th Edition Sullivan
Solutions Manual
https://testbankfan.com/product/introduction-to-social-problems-10th-
edition-sullivan-solutions-manual/
testbankfan.com
An Object-Oriented Approach to Programming Logic and Design, Fourth Edition 6-1
Chapter 6
Using Methods
At a Glance
• Objectives
• Teaching Tips
• Quick Quizzes
• Additional Projects
• Additional Resources
• Key Terms
An Object-Oriented Approach to Programming Logic and Design, Fourth Edition 6-2
Lecture Notes
Overview
Chapter 6 presents another universal topic in object-oriented programming. Methods are a
fundamental concept and provide the foundation for a program. The chapter begins by
presenting the advantages of modularization and what is involved in modularizing a
program. Next, local and global variables and constants are described. This is followed by a
discussion regarding the creation of various methods using single variable arguments,
multiple variable arguments, array elements as arguments, and arrays themselves as
arguments. The topic of returning a variable to the calling method is also covered. The end
of the chapter discusses various important topics, including overloading methods, avoiding
ambiguous code, and the convenience of predefined methods.
Chapter Objectives
In this chapter, your students will learn about:
• The advantages of modularization
• Modularizing a program
• Declaring local and global variables and constants
• Methods that require parameters
• Methods that return a value
• Passing an array to a method
• Overloading methods
• Using predefined methods
Teaching Tips
Understanding the Advantages of Modularization
1. Introduce the concept of modularization, which is the process of breaking down the
programming process into smaller, more manageable units. Mention that modules are
also called subroutines, procedures, functions, or methods, depending on the
programming language you are working with. This book will use the term method.
2. Discuss the advantages of modularization using the bulleted list on Page 205.
3. Explain that methods provide a way to achieve abstraction, making complex tasks look
simple.
1. Explain that most well-written methods execute a single, finite task, making them easier
to understand than a large program.
1. Discuss another advantage of breaking down a task into methods; it can be more easily
divided among various people. Commercial software applications are developed this
way.
2. Give some real-world examples of reusability, such as reusing plumbing and heating
systems in the construction of a new home.
3. Introduce reliability, which is the feature of programs and methods that assures you
each has been tested and proved to function correctly.
Modularizing a Program
1. Explain that application classes have the option of containing additional methods that
the main() method can use.
3. Explain that when a main() method needs to use another method, it calls the method,
or invokes it, using the method’s name.
4. Describe the flowchart symbol used to represent a method— a rectangle with a bar
across the top. Note that the method name goes inside the rectangle.
5. Introduce the example in Figure 6-1 on Page 209, which produces a customer’s bill
using only a main() method.
An Object-Oriented Approach to Programming Logic and Design, Fourth Edition 6-4
6. Review Figure 6-2 on Page 210 and discuss the modularization that is accomplished by
the addition of the displayAddressInfo() method.
7. Explain some of the advantages of the modularized program shown in Figure 6-2. That
is, the main() method remains short and easy to follow, and the method in the
modularized version is easily reusable.
9. Note that when using the displayAddressInfo() method within its own class, it
is not necessary to use the full name. Using it within another class requires identifying it
by its full name.
10. Explain that there are no fixed rules for how to break down programs into methods; it
requires experience.
11. Define functional cohesion, which describes the extent to which a method’s statements
contribute to the specific task.
Remind students that when you call a method, the action is similar to putting a
Teaching DVD player on pause. You abandon your first action (watching a video), take
Tip care of some other task (for example, making a sandwich), and when the
secondary task is complete, you return to the main task exactly where you left
off.
2. Using Figure 6-3 on Page 213, show an example of a method that contains three named
constant declarations.
3. Explain that variables and constants declared in a method are usable only within that
method. Note that the terms local, in scope, and visible are other ways of referring to
variables that are known only within a method. When the method ends, its variables are
said to go out of scope.
4. Make sure students understand that local variables and constants cannot be used by the
main() method.
An Object-Oriented Approach to Programming Logic and Design, Fourth Edition 6-5
5. Mention that in the last example, the variables in the main() method are local to main
and not visible within the displayAddressInfo() method.
6. Define portable methods, which are self-contained units that are easily transportable to
other applications. Note that the definitions for variables and constants should come
with the method.
7. Explain global variables and constants, which are known to the entire class. They are
declared inside a class but outside any methods.
8. Describe how methods share data, noting that data can be passed into and returned out
of methods. Using the bulleted list on page 214, explain three requirements of calling a
method.
2. Give the example of a square() method that you can supply with a parameter that
represents the value to be squared.
5. Show Figure 6-5 on page 217, which illustrates how the billing program might look
when executed in a command-line environment.
An Object-Oriented Approach to Programming Logic and Design, Fourth Edition 6-6
6. Discuss the items that must be included within the method header’s parentheses: the
type of parameter and local name for the parameter.
7. Review that in the program in Figure 6-4, the value of the balance is stored in two
places in memory; main() stores it in the variable balance and passes it to
displayAddressInfo()as an argument. Note that the
displayAddressInfo() method accepts the parameter as amountDue.
2. Mention that most of the time, an argument is passed by value, forcing the method to
contain its own copy of the value.
4. Explain that the name of the variable passed in can be either the same or different as the
parameter in the method header.
5. Go through the logic in the program shown in Figure 6-6 on page 219, as an example of
passing an argument by value. Figure 6-7 shows the execution of the program in Figure
6-6.
8. Explain that some programming languages allow you to pass arguments by reference,
which gives the receiving method the address of the original variable rather than a copy
of its value. The way this is accomplished differs among programming languages but
typically involves placing a special symbol or specified keyword within the parentheses
in the method header.
An Object-Oriented Approach to Programming Logic and Design, Fourth Edition 6-7
Explain that the declaration of the argument in the method header is similar to
Teaching the declaration of a data item variable in the class. It is different, however, in that
Tip the argument can only be used within the body of the method, and its value must
be supplied when the method is called. That is, a value is assigned to an
argument when the method is invoked, and the argument does not retain its value
once the method is finished executing.
1. Explain that a method can require more than one parameter. Describe how to create and
use a method with multiple parameters using the bulleted list on page 220.
2. Use Figure 6-8 on page 221 to illustrate a call to a computeTax() method using two
values: the amount to be taxed and a percentage by which to tax it. Step through the
program logic, emphasizing variable declarations and use. Use the discussion on pages
221–222 as a guide.
3. Stress that a method invocation with multiple arguments requires that the arguments
passed in match the method’s argument declaration in number, type, and order.
Teaching The arguments sent to a method in a method call are often referred to as actual
Tip parameters. The variables in a method declaration that accept values from the
actual parameters are called the formal parameters.
2. Explain that if a programmer wants to retain a value that exists in a method, the
programmer can send the value back to the calling method. To do this, the method must
have a return type. Explain that a return type could be numeric, character, or string, as
well as other types that exist in the programming language you are using.
3. Define a void method, and explain that a method type is indicated in front of the method
name when the method is defined.
A method with arguments and a non-void return type can be compared to a food
Teaching processor. You provide input (food) to the food processor, press a button to
Tip “execute” it, and the food processor returns something that is probably in a
different form than it was when you put it in! The food processor manipulated
the input and provided something in return.
An Object-Oriented Approach to Programming Logic and Design, Fourth Edition 6-8
4. Use Figure 6-9 on pages 224–225 to illustrate a method returning a value. Step through
the program logic, emphasizing the returning variables’ declarations and use. Use the
discussion on page 225 as a guide.
5. Mention that a method’s declared return type must match the type of the value used in
the return statement; if it does not, the program will not compile.
6. Note that a called method may return a value directly to the calling method without
storing it. Use Figure 6-10 on page 226 to illustrate an example of a main() method
that uses a method’s returned value in an arithmetic statement directly without storing
it.
8. Note the problem that exists in Figure 6-11. The problem involves a violation of
structured logic, requiring each structure to contain one entry point and one exit point
by leaving the decision structure before it is complete.
9. Use Figure 6-12 on page 228 to illustrate a solution to the problem in Figure 6-11. Step
through the program logic, noting that the largest value is stored in a variable. Then,
when the decision structure is complete, the stored value is returned.
2. Describe that instead of passing an array element, you can pass an entire array as an
argument. Explain that arrays are passed by reference and that changes made to the
array in the called method are permanently reflected in the array.
3. Review the program in Figure 6-13 on pages 230–231, which creates an array of four
numeric values and passes the array to methods three times. Use the bulleted list on
page 229 to talk through these three calls.
Quick Quiz 1
1. ____ are the data items sent to methods.
Answer: Arguments
3. True or False: A method’s arguments must be declared with the argument type before
the argument name.
Answer: True
5. When passing values to arguments in a method, the values must match the argument
declarations in which three ways?
Answer: number, type, and order
Overloading Methods
1. Describe what is meant by overloading.
3. Use Figure 6-15 on page 233 to show a method that prints a message and the amount
due on a customer bill. The method receives a numeric parameter that represents the
customer’s balance and prints two lines of output. A second version that receives two
parameters is also shown in the figure. Step through the two programs to illustrate
overloading.
4. Use Figure 6-16 on page 234 to show two more versions of the printBill method:
one that uses two arguments and one that uses three. Step through the logic in each.
An Object-Oriented Approach to Programming Logic and Design, Fourth Edition 6-10
5. Note that overloading a method is never required, but the advantage to the method’s
clients is that they need only keep track of a single method name rather than multiple
names.
1. Explain an ambiguous method and how overloading a method creates a risk of creating
ambiguous methods.
2. Use Figure 6-17 on pages 236–237 to illustrate a program that contains an ambiguous
method call. Step through the program, explaining that each of the two versions of
printBill() in Figure 6-17 is a valid method on its own. However, when the two
versions exist in the same class, the compiler cannot determine which version to
execute.
3. Stress that the compiler determines which version of a method to call based on
argument data types only, not their identifiers.
2. Explain that using predefined methods saves time and effort. Give the example of
methods that print “Hello” on the screen, using the statements on page 238.
4. Describe the three things a programmer needs to know when using predefined methods,
using the bulleted list on page 239.
Teaching Note that a programmer does not need to know how a built-in method is
Tip implemented—that is, how the instruction statements are written within it. Built-
in methods are usually black boxes. You can use built-in methods without
worrying about their low-level implementation details.
Quick Quiz 2
1. True or False: A programmer can pass a single array element to a method in exactly the
same manner as passing a variable or constant.
Answer: True
2. True or False: An entire array is too big and impossible to pass as a variable to a called
method.
Answer: False
3. When an item is ____ to a method, the method receives the actual memory address
item.
Answer: passed by reference
2. Discuss the concept of reusability and how to design for reusability. Have the students
consider the actions they take to complete a homework assignment in a specific course
and determine if any similar actions are taken to complete homework in another course.
For example, “open book” and “read book” are two activities that are probably common
to many homework assignments. Discuss how these activities could be represented as
generic, reusable methods with arguments.
Additional Projects
1. Have the student select an object-oriented language of his or her choice and research the
various specifics of variable definition and use within that language. Have the student
write a short report and present it to the class.
2. Have the student write the pseudocode and a flowchart diagramming the process of
calculating student grades at the end of the semester. Ask the student to focus on
incorporating a called method (or two) and consider the variable declarations for doing
this.
Additional Resources
1. Methods (C# Programming Guide):
http://msdn.microsoft.com/en-us/library/ms173114.aspx
Key Terms
Abstraction is the process of paying attention to important properties while ignoring
nonessential details.
Actual parameters are the arguments in a method call.
Ambiguous methods are overloaded methods for which the compiler cannot determine
which version to use.
Arguments are the data items sent to methods.
Calling or invoking a method causes it to execute.
Encapsulation is the feature of methods that provides for their instructions and data to
be contained in the method.
Formal parameters are the variables in the method declaration that accept the values
from the actual parameters.
Functional cohesion describes the extent to which a method’s statements contribute to
the same task.
Functional decomposition is the act of reducing a large program into more manageable
methods.
Global variables and constants are known to an entire class.
Implementation hiding is a principle of object-oriented programming that describes
the encapsulation of method details within a class.
In scope describes items that are visible in a method.
The interface to a method includes the method’s return type, name, and arguments.
The interface is the part that a client sees and uses.
Local describes data items that are usable only within the method in which they are
declared.
A method body contains all of the statements in a method.
The method declaration consists of the return type and signature of the method.
A method header is the first line of a method. It is the entry point to a method, and it
provides an identifier, parameter list, and frequently, other information.
A method’s client is a program or other method that uses the method.
A method’s return statement marks the end of the method and identifies the point at
which control returns to the calling method.
A method’s type is its return type.
Modularization is the process of converting a large program into a set of shorter
methods.
Modules are small program units that are combined to make programs. Programmers
also refer to modules as subroutines, procedures, functions, or methods.
Out of scope describes data items that are no longer visible to a method.
When you overload a method, you write multiple methods with a shared name but
different parameter lists.
Overloading involves supplying diverse meanings for a single identifier.
A parameter list is the list of parameters in a method header.
Parameters are the data items received by methods.
Passed by reference describes parameters received by a method as memory addresses.
Passed by value describes parameters received by a method as a copy.
An Object-Oriented Approach to Programming Logic and Design, Fourth Edition 6-14
Privates.
Anthoney, Nicholas B., Westport; 40. First officer of ship. A man of
high moral character, a true soldier and a respected citizen. Died at
Westport, Mass., 1868. Two daughters living.
Ashley, Albert B., Freetown; 24. A natural orator, with great
magnetic powers. Shipped in United States Navy May, 1861. Served
on United States Frigate Mississippi, Gulf Squadron, Lieutenant
Dewey (now Rear Admiral), executive officer. Participated in capture
of New Orleans. Discharged from Navy, June, 1862. Enlisted in
Company A, Third Massachusetts Volunteer Militia. Mustered out
with regiment. Re-enlisted. Orderly sergeant, Company B, Fourth
Massachusetts Cavalry from August, 1863, to March, 1865.
Commissioned lieutenant in Twenty-first United States Colored
Troops, March, 1865. Mustered out May, 1866. Went West, 1869.
Manager of several coal mines and coal companies for twenty-two
years. Grand Lecturer, State of Illinois, for sixteen years. Owner and
manager of Ashley Heights since 1892. A man of wealth and
influence. Popular with the mystic orders. Post Office (Summers).
Ashley Heights, Lake Huron, Mich. (Winters), La Grange, Ill.
Beal, Bernard C., Hanson; 29. A man of noble character. Chairman
of Selectmen. For many years quartermaster of Post No. 127, G. A.
R. Farmer and poultry raiser.
Bearse, Benjamin H., Hanson; 40. A giant in stature, large-hearted, a
favorite of all the company, respected by all his fellow-citizens. Died
at South Hanson, Feb. 12, 1903. Widow and son.
Bonney, Allen F., Hanover; 42. A man of noble character. Died at
West Hanover, July 5, 1885. Buried at Hanover. Widow and daughter.
Bourne, Thomas W., Hanson; 28. An esteemed citizen. Farmer and
road builder. Post Office, South Hanson, Mass.
Boyce, John, Berkley; 42. A man of strong moral character. A
pronounced Prohibitionist. Respected by his townsmen. Died at
Berkley April 9, 1893. Buried at Assonet, Mass. Several children
living.
Briggs, Francis G., Freetown; 25. A hustler. Lived in Assonet. Wife,
two sons and two daughters. A gentleman of leisure. Died in
Assonet, July 27, 1905, age, sixty-eight years.
Briggs, Seth M., Hanson; 25. An excellent violinist. Printer, Town
Auditor. A grand good fellow, highly esteemed by his many friends.
Member of T. L. Bonney Post, G. A. R. Resides at South Hanson,
Mass.
Broadbent, Samuel S., Westport; 18. A ready speaker. Member of G.
A. R. Janitor of school building in New Bedford, Mass. Resides in
New Bedford, Mass.
Brooks, Thomas J., Westport; 39. A faithful soldier. Nothing of his
history known since the close of the war.
Burgess, Theophilus J., Rochester; 23. History since muster out
unknown.
Chace, Franklin J., Freetown; 18; Remembered as a faithful soldier.
History since war unknown.
Chipman, Sumner J., Freetown; 21. Resides in Pelham, N. H. No
family.
Cook, Henry, Hanson; 34. A man of sound principles. Member of G.
A. R. Retired. Post office, Plymouth, Mass. Has a family.
Dean, Hercules, Berkley; 27. A gentleman and soldier. Strong
temperance man. Respected by his many friends. Died Oct. 21,
1890. One daughter, postmistress, Assonet, Mass.
Drayton, John, Hanson; 40. An agreeable comrade, a ready wit, full
of mirthfulness. An esteemed citizen, beloved by a large circle of
friends. Died at South Hanson May 11, 1898. Widow and children.
Drew, George, 3d, Halifax; 21. Re-enlisted. Killed in battle. A good
brave soldier.
Duffee, George, Freetown; 21. A good honest man, a faithful
soldier. Employed in Census Bureau, Washington. Resides in
Washington, D. C.
Foster, Calvin, Pembroke; 37. Reported living at Pembroke. Has a
family. Remembered as a faithful soldier, ready and willing to do
every duty assigned him.
French, Timothy E., Berkley; 34. A man of strong moral character
with pronounced temperance principles. No storm was cold enough,
no rain wet enough, no march so exhausting that cold water was not
the most refreshing beverage for him. Died in Berkley, Mass., Dec. 7,
1899.
*Fuller, Eldridge G., Hanson; 41. A “good soldier.” Died October,
1867.
Fuller, Frederick E., Halifax; 18. Died in Newbern, N. C., Dec. 1,
1862. This being the first death in Company A and Fred being so
young, it made a lasting impression on the company. We buried him
under a tree near our camp.
Hambley, Andrew T., Freetown; 21. Died March 10, 1892.
Hathaway, Aaron D., Freetown; 19. A successful lumber dealer in
the west. Acquired wealth. Died in California in 1900.
Hathaway, Andrew J., Freetown; 21. Died at Dighton, Mass., June
15, 1903. Widow, son, and daughter living.
Hathaway, Bradford G., Berkley; 39. For many years on the police
force in Providence, R. I. A farmer and poultry fancier. Died in
Berkley, March 30, 1887.
Hathaway, Daniel L., Berkley; 30. As brave a soldier as ever fought
in battle. Died in Taunton, Mass. Left several children.
Hathaway, Lynde, Freetown; 43. A faithful, bold and true soldier.
Died at Assonet, Mass., Jan. 22, 1887. Sons and daughters living.
*Haskell, James H., Freetown; 28. Died Sept. 10, 1880.
Haskell, Otis, Lakeville; 33. A soldier true to orders. Lives in
Taunton, Mass. Several children living.
*Haskins, George H., Freetown; 38. A good soldier; an honest
farmer. Resides in Freetown, Mass.
Haven, Perley, Halifax; 25. Farmer. Resides at Thomastown. Post
office, Middleboro, Mass.
Hayward, Luther W., Halifax; 23. Died at Halifax, July 6, 1863.
Buried at Hanson, Mass. Unmarried.
Hayward, Lysander W., Halifax; 18. A brave soldier, a trusted citizen.
Farmer and coal dealer. Has a family. Post office, Halifax, Mass.
Hill, Jacob P., Hanson; 39. One of the “Minute Men” of 1861,
known in Company A as the “tall man on the right.” A genial
comrade and companion. Member of A. C. Monroe Post, No. 212, G.
A. R. Died suddenly at his home in East Bridgewater, Aug. 9, 1903.
Left a family. Buried with military honors at East Bridgewater, Mass.
Holmes, Martin L., Halifax; 18. Boot and shoemaker. An honored
citizen, industrious and frugal. Has a wife. Post office, Rockland,
Mass.
Horr, Andrew J., Freetown; 26. Lives in East Freetown. Farmer.
Widower. One daughter.
Howland, Alonzo; Hanover; 23. Boot and shoemaker. Respected by
his many friends. Member of Post 74, G. A. R. Post office, Rockland,
Mass. Wife and four children.
Howland, Shubael G., Freetown; 44. A man of strong will powers, of
great endurance; respected by his townsmen. Died in 1901. A widow
living.
Keen, Thatcher, Hanson; 23. He never disappointed his friends nor
helped his enemies. A worthy citizen. Died at Abington, Mass., June
3, 1868. Buried at Rockland, Mass.
Lambert, Francis M., Bridgewater; 24. Discharged for disability. May
27, 1863. Died in Brockton. Mass., Nov. 6, 1864.
Lambert, Zaccheus, Bridgewater; 40. Discharged for disability, May
27, 1863. Died at Brockton, Mass., Nov. 1, 1882.
*Marston, William T., Halifax; 27. Discharged for disability, May 27,
1863. A good, faithful soldier. Reported living in Bridgewater, Mass.
Mason, Darius B., Pembroke; 26. Company clerk, mirthful and
sunny, ready to go anywhere and do anything ordered to do. A good
citizen. Died and buried in Whitman, Mass. Widow and son living.
Murtaugh, Thomas W., Freetown; 24. A faithful and true soldier.
Superintendent of the culinary department in Fall River Hospital.
Resides in Fall River, Mass. Son and daughter.
Niles, Truman E., Hanover; 35. A good soldier and honored citizen.
Died in Middleboro, Mass., Oct. 31, 1902. Widow and children living.
Osborne, Alamanzer, Bridgewater; 21. A faithful soldier, a respected
citizen, a successful trader. Resides in Brockton, Mass. Member of
Post No. 13, G. A. R. Has a family.
Packard, Horace F., Halifax; 20. A soldier “who needeth not to be
ashamed.” Resides in Brockton, Mass.
Paine, George A., Freetown; 28. A man of splendid habits, a true
soldier. Died about 1873. Widow, son, and daughter living.
Perry, Marcus T., Pembroke; 32. Died in South Hanson, Oct. 24,
1894. Buried in Pembroke, Mass. Left widow and daughter.
Peterson, Algeron A., Hanson; 30. Migrated west. Present history
unknown.
Petty, James H., Westport; 52. A soldier who never feared to go into
a battle and never fell out on the march. Died in Westport, Mass.,
Aug. 2, 1893. Four sons and one daughter living.
Phillips, Samuel W., Berkley; 41. Never was known to shirk duty.
Died in Taunton Insane Asylum, April 1, 1899.
Porter, Oliver C., Halifax; 35. A good all-round soldier. Died Feb.
18, 1873. Buried in Halifax, Mass.
Record, Charles, Berkley; 22. A faithful soldier. Veterinary Surgeon.
Excellent character. Resides in Fall River, Mass.
Rennis, Edwin H., Freetown. A most excellent company cook, a
brave man in battle, a good citizen. Died in Dartmouth, Mass., about
1885. A widow living.
Richmond, Joseph S. W., Halifax; 18. Died —.
Rounseville, Edwin S., Freetown; 24. A faithful soldier; a thrifty
farmer. Resides in Freetown. Has a wife and daughter.
Rounseville, Simon D., Freetown; 24. Died in Freetown on returning
from the war, June 20, 1863. Buried with military honors.
Sampson, Augustus M., Hanson; 36. A brave soldier. A clean cut
temperance man and a highly respected citizen. A boot and
shoemaker.
Soule, Charles W., Halifax; 18. Died in Hospital, Newbern, Dec. 2,
1862. Buried near our camp. Body sent home and buried in family
cemetery.
Spooner, Asa J., Freetown; 30. Was mustered in, went home sick
and never reported to the company for duty. Lives in East Freetown,
Mass.
Stetson, Charles H., Hanson; 20. Discharged for disability, March
27, 1863. Superintendent of almshouse. Member of Post No. 127, G.
A. R. Post office, South Hanson, Mass.
Stetson, Isaiah, Hanson; 44. Died in Hanson, September, 1889. Left
a family.
*Stetson, William F., Hanson; 30. Discharged for disability, March
13, 1863. Dealer in stoves, etc. Son and four daughters. Post office,
West Hanson, Mass.
Stowell, Richard P., New Bedford; 18. Lives in New Bedford, Mass.
Studley, Judson, Hanover; 31. Farmer and poultry raiser. An
honored citizen. Has a family. Post office, West Hanover, Mass.
Thayer, Charles H., Kingston; 18. A good soldier. Believed to have
died fifteen years ago.
Thompson, James H., Kingston; 25. A good soldier and a good
citizen. Died, leaving a family.
Thompson, Morton, Halifax; 18. Teacher. Died in Halifax, Mass. Left
a family.
Torrey, Leander, Hanover; 24. Faithful to every duty, a true and
staunch patriot, respected wherever known. Died at Rockland, Mass.,
April 8, 1879. A widow, son, and daughter living at Brockton, Mass.
Vinal, Joseph, Hanover; 37. Farmer. A good, quiet citizen. Wife and
children. Post office, West Hanson, Mass.
Whitney, Abel H., Hanover; 19. Died in West Hanover, July 19,
1863. Buried in Hanover. Unmarried.
Whitney, Charles T., Halifax; 27. Discharged for disability, March 4,
1863. Boot and shoemaker. A respected citizen. Has a family. Post
office, Halifax, Mass.
Whitney, Oren T., Hanover; 28. Re-enlisted in Company E, First
Battalion, Heavy Artillery. Mustered out at close of war. Farmer and
wood dealer. Past Commander Post No. 83, G. A. R. Post office, West
Hanover, Mass.
Wilcox, George F., Freetown; 20. As good a soldier as ever
marched with a company. Died in Providence, R. I., February, 1897.
Widow living.
Wilcox, Marcenah B., Freetown; 18. A good soldier and a successful
business man. Married. Lives in New York.
*Winslow, Benedict A., Freetown; 19. For many years ticket agent,
Old Colony Railroad. Lighthouse keeper. Cook in City Hospital, Fall
River, Mass.
Wood, Cyrus, Halifax; 40. Died and was buried in Halifax. One son
living.
CHAPTER V.
Privates.
Atwood, Stephen; 19. Born in Carver. Died in Middleboro, Sept. 15,
1899.
Atwood, Ebenezer E.; 25. Born in Carver. Resides in Kingston.
Atwood, Josiah W.; 19. Born in Carver. Resides in Carver.
Bumpus, Hiram W.; 33. Born in Wareham, June 24, 1829. He lived in
Wareham a few years after being mustered out, and then went to
Pennsylvania for about twenty years. He returned to Wareham,
where he now lives.
Bryant, Charles E.; 34. Born in Plympton, Oct. 27, 1827. Resides in
Kingston. Farmer.
Briggs, James W.; 35. Born in Middleboro. Moved to Plympton a few
years after being mustered out. Died in Plympton, Jan. 2, 1901, age,
seventy-four years.
Barnes, Benjamin F.; 18. Born in Plymouth. Nurse in a hospital while
in service. Lives at 450 Cottage St., New Bedford.
Bates, Nathaniel B.; 24. Born in Carver. Died in Carver, Sept. 27,
1882.
Bates, James H.; 18. Born in Carver. Died in Carver, July 15, 1865.
Bryant, Zeneas Frank; 29. Born in Plympton. Acted as company clerk
during the service. Died at Chelmsford about ten years ago.
Bradford, Ebenezer N.; 25. Born in Plymouth. Killed on railroad at
Cape Horn, Canada, Jan. 28, 1870. Buried at Burial Hill, Plymouth.
Bartlett, John N.; 29. Lived in Wareham, where he died in 1894.
Buried at Centre Cemetery.
Bradford, William H.; 21. Born in Plympton. Died in Middleboro,
June 5, 1892; age, fifty-two years.
Burgess, Ebenezer; 18. Born in Wareham. Resides in Wareham.
Chandler, John B.; 32. Born in Carver. Killed in railroad accident at
Brockton, May 12, 1896. Buried in Middleboro.
Cobb, Charles S.; 22. Born in Charlestown. Resides in Kingston.
Chase, Charles H.; 34. Born in North Carver, April, 1828. Died in
Boston, Oct. 4, 1897.
Chapman, John F.; 22. After being mustered out of the nine months’
service, he enlisted for one hundred days and was stationed at
Marblehead. He was taken sick with consumption and was sent to
the hospital at Rainsford, Boston, where he died November, 1866.
Cobb, Sidney O.; 18. Born in North Carver, Nov. 13, 1844. He
enlisted in September, 1862, as a private, served nine months and
was mustered out with his regiment June 26, 1863. After being
mustered out he lived in Carver and Plympton, and finally settled in
South Abington, now Whitman. He served as constable and police
officer for many years, and more than twenty years as deputy sheriff
of Plymouth County. He died Jan. 19, 1899, and was buried in
Colebrook Cemetery, Whitman.
Chandler, William B.; 18. Born in Carver. Resides in Middleboro.
Cobb, Allen; 44. Born in Middleboro. Died in Middleboro, Aug. 10,
1890.
Cobb, Joseph F.; 26. Born in Carver. Died in Middleboro, Dec. 30,
1878.
Cornell, William H.; 18. Born in Carver. Discharged for disability,
May 9, 1863.
Doten, George H.; 30. Born in Plymouth. Died in Plymouth, Dec.
25, 1896. Buried in Vine Hill Cemetery.
Donnelley, James; 31. Born in Kingston. Died in Kingston, Oct. 16,
1877. Buried in Vine Hill Cemetery, Plymouth.
Darling, George; 34. Lived in Middleboro. Died Mar. 3, 1879.
Dempsey, Robert M.; 23. Lived in Middleboro, where he was
employed by the Murdock Parlor Grate Company. Died Dec. 22,
1893.
Dunham, Henry A.; 30. Born in Carver. Resides in Middleboro.
Dunham, Ellis D.; 21. Born in Carver. Died in Middleboro, Oct. 26,
1904.
Ellis, Barzillai F.; 44. Lived in East Bridgewater. Died July 8, 1887.
Gammons, Edward A.; 20. Born in Wareham, Jan. 15, 1842. After
being mustered out of the service he went into the employ of the
Wareham Bank and Wareham Savings Bank. In 1885 he was
appointed cashier of the Wareham Bank, now the National Bank of
Wareham. He was also appointed treasurer of the Wareham Savings
Bank, which office he held until July, 1904, when he resigned. He is
still cashier of the Wareham National Bank. Ned is evidently as
young as when he was out at Newbern, although he is a good deal
larger, and hasn’t as much hair on his head. He sticks to business so
close that he can’t get to the reunion. He is very much interested in
anything that is for the benefit of the old soldiers.
Gammons, John W.; 22. Born Feb. 12, 1840, at Wareham, Mass.
After being mustered out of the service he worked at his trade as a
nailer in different factories. He then went to sea, and took in several
passages around Cape Horn. He was captain of several vessels. The
last fifteen years of his life was spent in the coasting trade, making
passages to the various ports on the Atlantic coast. Died and was
buried at Centre Cemetery, Wareham.
Griffin, Harvey B.; 22. Born in North Plymouth. Resides in North
Cambridge.
Hall, Sylvester S.; 34. Born in Litchfield, Me. He died April 26,
1877, at Wareham. He first enlisted in Company G, Eighteenth
Massachusetts Infantry. He was discharged for disability, and re-
enlisted in Company B, Third Massachusetts Infantry.
Harlow, Martin L.; 18. Plymouth. He served the term of his
regiment and was mustered out in Lakeville, Mass., June 26, 1863.
He lived in the different towns around the Old Colony, and finally
settled in Whitman. He was appointed postmaster by Grover
Cleveland, and afterwards by President McKinley. He died Aug. 12,
1899, and was buried in Carver.
Holmes, Nathaniel; 27. Born in Plymouth. Died in Plymouth, Jan. 21,
1887. Buried in Oak Grove Cemetery.
Harlow, Ivory W.; 23. Born in Plymouth, where he now resides and
works at his trade as a carpenter.
Holmes, George H.; 21. Middleboro. Born in Greenwich, R. I. Died in
the Massachusetts Soldiers Home at Chelsea, April 6, 1904. Buried at
Wareham.
Holmes, Samuel N.; 19. Plymouth. Discharged for disability, May 4,
1863. Unknown.
Holmes, Isaac S.; 43. Plymouth. Discharged for disability, May 27,
1863. Unknown.
Irving, William; 31. Born in Carver. Went West soon after being
mustered out, where he died a number of years ago.
Jenkins, Benjamin S.; 18. Born in Plymouth, where he died Nov. 14,
1877.
Johnson, Charles W.; 27. Resides in Plymouth. Mass.
Jackson, George F.; 21. Born in Plymouth. Died in Plymouth, Sept.
11, 1884. Buried in Vine Hill Cemetery.
Jefferson, Salem; 44. Rochester. Born in Douglas, Mass., Sept. 16,
1805. Died Aug 4, 1893, in Rochester, Mass. Buried in East
Rochester, Mass.
Lucas, Adoniram B.; 24. Middleboro. Born in Carver. He served full
time with the regiment and was mustered out of same. He has
always lived in Plymouth County and still resides in Whitman.
Leach, Thomas M.; 24. Born in Plympton. Died at Crescent Grove,
Minn.
Lobdell, Isaac F.; 27. Born in Plympton, where he died Nov. 9,
1876.
Mange, Winthrop H.; 24. Born in Kingston, where he now resides.
Occupation, a slitter.
Manter, John D.; 36. Born in Wareham. Died in Newbern, N. C.,
Feb. 6, 1863. Buried in Centre Cemetery, Wareham.
Murdock, John; 36. Carver.
Neal, James; 37. Born in Plymouth, where he died Jan. 15, 1885.
Buried in Vine Hill Cemetery.
Nickerson, Joseph S.; 18. Wareham.
Oldham, John R.; 18. Born in Wareham. After being mustered out
he enlisted in the Twenty-fourth Massachusetts. Killed at Petersburg,
Va.
Perkins, Henry F.; 27. Born in Kingston. Died in Plympton, March
22, 1877. Buried in Soldiers Home Lot, Forest Dale Cemetery,
Malden.
Place, Charles C.; 33. Plymouth.
Place, Isaac H.; 37. Born in Plymouth. Died at Plymouth, May, 1888.
Buried at Vine Hill Cemetery.
Pierce, Moses W.; 19. Born in Rochester. Lives in East Rochester,
Mass.
Penniman, Prince E.; 33. Cook for the officers while in service. Lived
in Middleboro. Died at Onset, Mass., Aug. 17, 1904.
Paulding, James S.; 42. Born in Plymouth. Died Oct. 19, 1880.
Buried in Burial Hill, Plymouth.
Raymond, Thomas W.; 21. Born in Rochester. Has lived recently in
Brockton and Plympton.
Ramsdell, Cornelius, Plympton. Resides in Whitman.
Robbins, Herbert; 18. Born in Plymouth, where he now resides.
Raymond, Samuel B.; 34. Born in Plymouth. Died in Plymouth and
was buried in Burial Hill.
Sherman, Leander L. Born in Plymouth, where he now resides.
Spooner, William F.; 19. Born in Plymouth. Died in Plymouth, Jan.
27, 1872.
Smith, Thomas; 23. Born in Ireland. Died in Plymouth, Mar. 30,
1894. Buried in Vine Hill Cemetery.
Sherman, James E.; 22. Born in Plympton. He resided in Plymouth
after being mustered out, where he kept a store. He died May 31,
1897, and was buried at Oak Grove Cemetery.
Sears, James F.; 21. Died in Lynn.
Shaw, Alonzo D.; 21. Born in Carver. Died at Newbern, N. C., April
18, 1863.
Shaw, Edward W.; 24. Born in Carver. Died in Carver, Jan. 29, 1902.
Shaw, Ezra; 21. Born in Middleboro. Died in Carver, Aug. 15, 1893.
Shaw, Jesse M.; 18. Born in Carver. Resides in Fall River.
Shaw, Nathaniel Jr.; 25. Born in Carver. After being mustered out
he kept a grocery store in Plymouth. He died April 13, 1903.
Stringer, Andrew; 19. Born in Carver, where he now resides.
Sampson, John; 42. Born in Wareham. Died in 1880 and was buried
in Centre Cemetery.
Shurtliff, Benjamin, Jr.; 22. Born in Middleboro. Unknown.
Tillson, George W.; 18. Born in Carver. Died in Middleboro, May 13,
1895.
Washburn, Philip M.; 23. Born in Kingston. Resides in Somerville. By
occupation, a carpenter.
Washburn, Joseph G.; 21. Born in Carver. Resides in Maine.
Ward, Ansel B.; 19. Born in Carver. After being discharged from
Company B he re-enlisted in Company M, of the Fourth
Massachusetts Cavalry, Feb. 16, 1864, and was taken prisoner Nov.
1, 1864, and confined in Libby Prison. He was paroled Mar. 3, 1865.
He died in Carver, November, 1878.
Willis, Marcus M.; 34. Born in Middleboro. Unknown.
Wrightington, Henry; 23. Lived in Brockton. Died Dec. 8, 1892.
Wright, Edward S.; 40. Born in Plympton, where he always lived.
He served many years with the Massachusetts militia. He died in
Plympton, May 19, 1901.
CHAPTER VI.
testbankfan.com