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.
Siempre que encuentre una cadena literal en su código, el compilador crea un objeto String con su valor en este caso, Hola, mundo!
Whenever it encounters a string literal in your code, the compiler creates a String object with its value in this case, Hello world!
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.
You should use string literals unless you specifically need to use a String object, because String objects can have counterintuitive behavior.
En el siguiente ejemplo, el constructor String es especificado, y eval() devuelve un objeto String en lugar de evaluar la cadena de caracteres.
In the following example, the String constructor is specified, and eval returns a String object rather than evaluating the string.
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.
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.
La propiedad length de un objeto String representa la longitud de una cadena, en unidades de código UTF-16.
The length property of a String object indicates the length of a string, in UTF-16 code units.
Tenga en cuenta que invocamos a path() en la instancia de NSURL resultante para asegurarnos de que devolvemos un objeto String. Guardar elementos
Note that we invoke path() on the resulting NSURL instance to make sure we return a String object.
La clase String es considerado como algo inmutable, por lo que una vez que se crea un objeto String no se puede cambiar.
Note - The String class is immutable, so that once it is created a String object cannot be changed.
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
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.
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.
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.
El método getAuthType () devuelve un objeto String que representa el nombre del esquema de autenticación utilizado para proteger el servlet.
The getAuthType() method returns a String object that represents the name of the authentication scheme used to protect the Servlet.
Un objeto SecureString es similar a un objeto String en que tiene un valor de texto.
A SecureString object is similar to a String object in that it has a text value.
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.