Yes, swap is not built-in method. now how can I fix it? because in JAVA we don't have reference type and String is immutable.
How can I swap two string in that method?
Thanks
Type: Posts; User: shervan_360
Yes, swap is not built-in method. now how can I fix it? because in JAVA we don't have reference type and String is immutable.
How can I swap two string in that method?
Thanks
Hello,
I want to swap two string in JAVA without built-in function like this.
How can I fix it?
Thanks
import java.util.*;