We konden deze vermelding niet vinden. Er worden benaderende resultaten weergegeven. Controleer je spelling of stel voor deze term aan het woordenboek toe te voegen.
Whenever it encounters a string literal in your code, the compiler creates a String object with its value in this case, Hello world!
Siempre que encuentre una cadena literal en su código, el compilador crea un objeto String con su valor en este caso, Hola, mundo!
You should use string literals unless you specifically need to use a String object, because String objects can have counterintuitive behavior.
Se debería utilizar literales de cadena a menos que específicamente sea necesario usar un objeto String, porque los objetos String pueden tener un comportamiento contraintuitivo.
In the following example, the String constructor is specified, and eval returns a String object rather than evaluating the string.
En el siguiente ejemplo, el constructor String es especificado, y eval() devuelve un objeto String en lugar de evaluar la cadena de caracteres.
You've already seen how to instantiate a String object and set its value (back in Listing 4), but you have several other ways to do that.
Ya ha visto cómo crear una instancia de un objeto String y establecer su valor (en el Listado 5) pero existen varias otras formas de hacer eso.
The length property of a String object indicates the length of a string, in UTF-16 code units.
La propiedad length de un objeto String representa la longitud de una cadena, en unidades de código UTF-16.
Note that we invoke path() on the resulting NSURL instance to make sure we return a String object.
Tenga en cuenta que invocamos a path() en la instancia de NSURL resultante para asegurarnos de que devolvemos un objeto String. Guardar elementos
Note - The String class is immutable, so that once it is created a String object cannot be changed.
La clase String es considerado como algo inmutable, por lo que una vez que se crea un objeto String no se puede cambiar.
Setting a variable of type String has the same result, because the Java language creates a String object to hold the literal, then assigns that object to the instance variable.
Establecer una variable de tipo String tiene el mismo resultado porque el lenguaje Java crea un objeto String para tener el literal, luego asigna ese objeto a la variable de instancia. Concatenación de cadenas
Since the SharedPreferences is an XML system that accepts only specific primitives and objects as values, we need to convert our data into a compatible format such as a String object.
Puesto que el SharedPreferences es un sistema XML que acepte solamente tipos primitivos específicos y objetos como valores, necesitamos convertir nuestros datos en un formato compatible, como un objeto String.
Potentieel gevoelige of ongepaste informatie
Er worden alleen voorbeelden gegeven om u te helpen het woord of de woordcombinatie waarop u hebt gezocht, te vertalen. Deze worden niet door ons geselecteerd of gevalideerd en kunnen ongepaste taal bevatten. Wij vragen u melding te maken van voorbeelden die dienen te worden aangepast of verwijderd. Vertalingen met grof of informeel taalgebruik worden meestal rood of oranje gemarkeerd.