public static void main(String args[])

{

String str = "this is Java";

System.out.println(removeCharAt(str, 3));

}

public static String removeCharAt(String s, int pos)

{

return s.substring(0, pos) + s.substring(pos + 1);

}

相关文章:

  • 2022-12-23
  • 2021-12-15
  • 2021-11-07
  • 2022-12-23
  • 2021-09-17
  • 2021-09-01
  • 2022-12-23
猜你喜欢
  • 2021-06-14
  • 2022-01-17
  • 2022-12-23
  • 2022-12-23
  • 2021-11-02
  • 2021-12-23
  • 2022-12-23
相关资源
相似解决方案