News
That code will create an s1 string object and a reference variable. As noted, Java strings are immutable ... ("Ben "); x.append("eats vegetables"); System.out.println(x); } } Reverse a string using ...
Results that may be inaccessible to you are currently showing.
Hide inaccessible results