For JAVA, the dass name needs to be Main
Compile & Run
0/1
.
1
2 - import java.util.Scanner;
3
4. class Solution {
5
6 - public static void solve(String dnaSequence, String[] genes) {
7
//write your logic here
8
//main method is hidden, dont write it again
9
10 }
11
}
12
13
14 - public class Main {
15
16 - public static void main(String[] args) {
17
18
Scanner scan = new Scanner(System.in);
19
String dnaSequence = scan.nextLine();
20
21
String[] genes - scan.nextLine().split("\\s");
22
Solution.solve(dnaSequence, genes);
23
24
scan.close();
25
26
27
28
Answers
Answered by
0
Answer:
don't know the answer .sorry
Similar questions