Run ❯
Get your
own
website
×
Change Orientation
Change Theme, Dark/Light
Go to Spaces
public class Main { public static void main(String[] args) { String myStr = " Hello World! "; System.out.println(myStr); System.out.println(myStr.trim()); } }
Hello World!
Hello World!