[RESOLVED] How to use these Constructor parameters?
I am having difficulty trying to get passed this bump in the road in a program I am trying to build, mainly regarding an overloaded Constructor and an objects creation. Here it is:
Whale w = new Whale("Erwin", 37, "Blue Whale", "Ocean-fish");
There is a compiler error stating that I need a String, int, String, String, but I need them to be String, int, String[], String[]. Is this possible? Can anyone offer any guidance to this, it's been a frustrating few hours!
Bookmarks