Suggest a feature
×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Java
Posted by: ulkir
Added: Jul 3, 2020 11:54 PM
Views: 100
  1.     public static void main(String[] args) {
  2.         String myStr = "Hello World";
  3.  
  4.         myStr = Arrays.toString(myStr.toCharArray());
  5.         System.out.println(myStr);
  6.         }