Need some assistance coding this Fragment file. I have includedthe test file for the code. Thank you very much.
package sequencer;
public class Fragment {
/**
* Creates a new Fragment based upon a Stringrepresenting a sequence of nucleotides,
* containing only the uppercase characters G, C, Aand T.
* @param nucleotides
* @throws IllegalArgumentExceptionif invalid characters are in the sequence of nucleotides
*/
public Fragment(Stringnucleotides) throws IllegalArgumentException {
}
/**
* Returns the length of this fragment.
*
* @return the length of thisfragment
*/
public intlength() {
return 0;
}
/**
* Returns a String representation of this fragment,exactly
PayPal Gateway not configured
PayPal Gateway not configured