Sollicitatievraag bij InfoObjects

1.) Difference between String and StringBuffer 2.) Live Projects work done - Samples / Urls

Antwoord op sollicitatievraag

Anoniem

5 okt 2016

1.) String is immutable and StringBuffer is immutable. String overrides equals() method of Object class using this we can compare the contents of two strings by equals() method whereas StringBuffer doesn't overrides same. 2.) Shown all work done.