MCPcopy Create free account
hub / github.com/DuGuQiuBai/Java / main

Method main

day12/code/day12_String/src/cn/itcast_07/StringTest2.java:10–17  ·  view source on GitHub ↗
(String[] args)

Source from the content-addressed store, hash-verified

8 */
9public class StringTest2 {
10 public static void main(String[] args) {
11 Scanner sc = new Scanner(System.in);
12 System.out.println("������һ���ַ�����");
13 String s = sc.nextLine();
14
15 String result = reverse(s);
16 System.out.println(result);
17 }
18
19 // д����ʵ��
20 public static String reverse(String s) {

Callers

nothing calls this directly

Calls 1

reverseMethod · 0.95

Tested by

no test coverage detected