Pregunta de entrevista de Ducat

What is String and what the mutable class in java

Respuesta de la entrevista

Anónimo

11 ago 2019

String is predefined class in java present in java.lang package.Which is used to hold the char array sequence, and it's implements Serilizable, Comparable, and CharArraySequence. Such type of program which class, data member is final, and no setter method only hatter method, called mutable class, the state of class can't append and modify. Create new object.