Pond Program: As part of your internship at Parkvilles Parks and Recreation Department, youve been asked to

Question:

Pond Program:

As part of your internship at Parkville’s Parks and Recreation Department, you’ve been asked to write a program that keeps track of pond life. Your program doesn’t have to do much—it simply prints pond life forms. For this exercise, provide a Pond class that uses the following two instance variables and supports the subsequent main method:

private String city; private String[] life = new String[] {

When run, the main method should print this:

No pond Parkville pond: no life Parkville pond: sunfish, algae, beer cans, tires

Although it’s not required, you’re encouraged to write a complete program in order to test your Pond class.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: