Both are mutable in nature i.e. value assigned to it can be changed but for StringBuffer we have all methods as synchronised that means at a time only one thread can get executed and in case of StringBuilder we have all methods a non synchronised whi...
shwetank.hashnode.dev1 min read
No responses yet.