SyntaxFix
Write A Post
Hire A Developer
Questions
Java is pass by value. So the swap in the sense you mean is not possible. But you can swap contents of two objects or you do it inline.
swap