.replace() method in Java replaces what is replaced

前端 未结 0 1761
忘了有多久
忘了有多久 2021-01-19 06:48

Below is my code. I am trying to input "ATC" to get an output of "UAG". All it does is replace \'A\' with \'U\', \'T\' with \'A\', \'C\' with \'G\', and

相关标签:
回答
  • 消灭零回复
提交回复
热议问题