Pregunta de entrevista de Ericsson IT Solutions & Services

To explain how "string" works in Java.

Respuesta de la entrevista

Anónimo

28 de ago de 2023

A "string" in Java is a sequence of characters, used to represent text. It's a class that provides various methods to manipulate and access characters within the sequence. Strings are immutable, meaning they cannot be changed after creation, which ensures their stability and reliability in programs.