Question d’entretien chez Ducat

What is String and what the mutable class in java

Réponse à la question d'entretien

Utilisateur anonyme

11 août 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.