Create a class named GirlScout that contains fi elds for a GirlScout’s name, troop number, and dues owed. Include a constant static fi eld that contains the last words of the GirlScout motto (“to obey...


Create a class named GirlScout that contains fi elds for a GirlScout’s name, troop number, and dues owed. Include a constant static fi eld that contains the last words of the GirlScout motto (“to obey the Girl Scout law”). Include overloaded constructors that allow you to set all three nonstatic GirlScout fi elds to default values or to parameter values. Also include properties for each fi eld. Create a class named DemoScouts that instantiates two GirlScout objects and displays their values. Create one object to use the defaultconstructor and the other to use the constructor that requires arguments. Also display the GirlScout motto. Save the class as DemoScouts.cs.



May 19, 2022
SOLUTION.PDF

Get Answer To This Question

Submit New Assignment

Copy and Paste Your Assignment Here