Question: Consider a program which can evaluate strings of DNA code. DNA code is a String containing only the letters C, T, G or A. Write
Consider a program which can evaluate strings of DNA code. DNA code is a String containing only the letters “C”, “T”, “G” or “A”.
Write a public method, compareDna, that takes two DNA Strings as parameters and returns true if they are the same, false otherwise.
Step by Step Solution
3.44 Rating (154 Votes )
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
