Domanda di colloquio di InfoObjects

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

Risposta di colloquio

Anonimo

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