Question d’entretien chez InfoObjects

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

Réponse à la question d'entretien

Utilisateur anonyme

5 oct. 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.