MCPcopy Create free account
hub / github.com/SAKET-SK/Programming-Aptitude-Interview-Prep / main

Method main

Accenture/Que 11/Solution.java:20–28  ·  view source on GitHub ↗
(String[]args)

Source from the content-addressed store, hash-verified

18 }
19
20 public static void main (String[]args)
21 {
22 Scanner sc = new Scanner (System.in);
23 String str = sc.next ();
24 char ch1 = sc.next ().charAt (0);
25 char ch2 = sc.next ().charAt (0);
26
27 replaceChar (str, ch1, ch2);
28 }
29}

Callers

nothing calls this directly

Calls 1

replaceCharMethod · 0.95

Tested by

no test coverage detected