View the step-by-step solution to:

Please i need help rectify the compiler error from this program: public class State { private String state = { {"ALASKA", "Willow

Please i need help rectify the compiler error from this program:


public class State {


private String state [][] = {

{"ALASKA", "Willow Ptarmigan", "Forget-me-not"},

{"ARIZONA", "Cactus Wren", "Saguaro Cactus Blossom"},

{" ALABAMA", "Northern Flicker", "Camellia"},

{"ARKANSAS", "Mockingbird", "Apple Blossom"},

{"CALIFONIA", "California Quail", "California Poppy"},

{"COLORADO", "Lark Bunting", "Rocky Mountain Columbin"},

{"CONNECTICUT", "American Robin", "Mountain Laurel"},

{"DELAWARE", "Blue Hen", "Peach Blossom"},

{"FLORIDA", "Northern Mockingbird", "Orange Blossom"},

{"GEORGIA", "Brown Thrasher", "Azalea"},

{"HAWAII", "Hawaiian Goose", "Hawaiian Hibiscus"},

{"IDAHO", "Mountain Bluebird", "Mock Orange"},

{"ILLINOIS", "Northern Cardinal", "Violet"},

{"INDIANA", "Cardinal", "Peony"},

{"IOWA", "Eastern Goldfinch", "Iowa"},

{"KANSAS", "Western Meadowlark", "Sunflower"},

{"KENTUCKY", "Northern Cardinal", "Goldenrod"},

{"LOUISIANA", "Brown Pelican", "Magnolia"},

{"MAINE", "Black-capped Chickadee", "White Pine Cone and Tassel"},

{"MARYLAND", "Baltimore Oriole", "Black-eyed Susan"},

{"MASSACHUSETTS", "Black-capped Chickadee", "Mayflower"},

{"MICHIGAN", "American Robin", "Apple Blossom"},

{"MINNESOTA", "Common Loon", "Lady's Slipper"},

{"MISSISSIPPI", "Northern Mockingbird", "Magnolia"},

{"MISSOURI", "Eastern Bluebird", "Hawthorn (flower)"},

{"MONTANA", "Western Meadowlark", "Bitterroot"},

{"NEBRASKA", "Western Meadowlark", "Goldenrod"},

{"NEVADA", "Mountain Bluebird", "Sagebrush"},

{"NEW HAMPSHIRE", "Purple Finch", "Purple Lilac"},

{"NEW JERSEY", "Eastern Goldfinch", "Violet"},

{"NEW MEXICO", "Roadrunner", "Yucca Flower"},

{"NEW YORK", "Eastern Bluebird", "Rose"},

{"NORTH CAROLINA", "Northern Cardinal", "Flowering Dogwood"},

{"NORTH DAKOTA", "Western Meadowlark", "Wild Praire Rose"},

{"OHIO", "Northern Cardinal", "Scarlet Carnation"},

{"OKLAHOMA", "Scissor-tailed Flycatcher", "Oklahoma Rose"},

{"PENNSYLVANIA", "Ruffed Grouse", "Mountain Laurel"},

{"RHODE ISLAND", "Rhode Island Red", "Violet"},

{"SOUTH CAROLINA", "Carolina Wren", "Yellow Jessamine"},

{"SOUTH DAKOTA", "Ring-necked Pheasant", "Pasque Flower"},

{"TENNESSEE", "Mockingbird", "Iris"},

{"TEXAS", "California Gull", "Sego Lily"},

{"VERMONT", "Hermit Thrush", "Red Clover"},

{"VRIGINA", "Cardinal", "Flowering Dogwood"},

{"WASHINGTON", "Willow Goldfinch", "Western Rhodedendron"},

{"WEST VIRGINIA", "Cardinal", "Big Rhodedendrom"},

{"WISCONSIN", "American Robin", "Wood Violet"},

{"WYOMING", "Western Meadowlark", "Indian Paintbrush"},

};

public State() {

}

public String[][] getState() {

return state;

}

public void setState(String[][] state) {

state = state;

}

}

Recently Asked Questions

Why Join Course Hero?

Course Hero has all the homework and study help you need to succeed! We’ve got course-specific notes, study guides, and practice tests along with expert tutors.

-

Educational Resources
  • -

    Study Documents

    Find the best study resources around, tagged to your specific courses. Share your own to gain free Course Hero access.

    Browse Documents
  • -

    Question & Answers

    Get one-on-one homework help from our expert tutors—available online 24/7. Ask your own questions or browse existing Q&A threads. Satisfaction guaranteed!

    Ask a Question