I'm not sure if this would even be the right forum to put this in but here it goes. I have this homework my teacher assign us a couple of days ago. I don't need help coding it but i do need help understanding the question he has giving us.
here the question:
Design a class named as DigitalMusic. First, your digital music is stored in an array of integers (could contain negative integers). You may assume that your music has at most 1,000,000 digits. So your class has to have an array attribute for storing your music and an int attribute for storing the number of digits in your music. This class should have at least one constructor and two method: trimLeadingSilence and softenMusic. Your constructor should create an object by zeros in the array(a mutator). the softenMusic method has an int parameter called limit, Changes a value in the array that is greater than limit to limit and a value that is less then limit to limit, and returns the number of values changed. Don't forget to document your program and test each method in a main program.
any help would be greatly appreciated,