This is a part of my homework assignment so I need explanation and not just an answer.
I'm creating the legendary purse class. I have to be able to compare one purse(array) to another purse(array). The kicker is that I can't use any methods from the java arrays or collections class. Where do I even start on creating something like this?
An example of what im doing is this:
String[] array1 = {"Quarter", "Dime", "Nickel", "Penny"};
String[] array1 = { "Dime", "Quarter", "Penny", "Nickel"};
(Does Array1==Array2?)
return true/false
Again I need to understand this so please don't just figure it out for me, but throw me some ideas.
String[] array1 = {"Quarter", "Dime", "Nickel", "Penny"};?