how would I write this method?
toString( ) : String – If there is a valid match, will return a String of the following form:
DNA Strand: GATCG
Best Match Strand: AATCT
Matching Substring: ATC
If there is no valid match it will output the strand and the message, “No match found”, as show below:
DNA Strand: GATCG
No match found
Comments
Leave a comment