Question: In java Write a static method isValidDNA() that takes a string as its argument and returns true if and only if it is composed entirely
In java Write a static method isValidDNA() that takes a string as its argument and returns true if and only if it is composed entirely of the characters A, T, C, and G. Please show a main class and an output.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
