El ámbito actual es el mismo que el posible ámbito a no ser que en un bloque interno se declare una variable con el mismo nombre (en este caso, el ámbito de la declaración interna es excluida del ámbito de la declaración externa).
Actual scope is the same as potential scope unless there is a nested block with a declaration that introduces identical name (in which case, the entire potential scope of the nested declaration is excluded from the scope of the outer declaration)
Antes de utilizar la función Timer es necesario que declare una variable y que le asigne el tipo de datos "Long", en caso contrario se devuelve un valor de fecha.
You must first declare a variable to call the Timer function and assign it the "Long" data type, otherwise a Date value is returned.
Los niveles de ámbitos en el lenguaje Java se definen de acuerdo a dónde se declare una variable, como se muestra en el Listado 8
Scope levels in the Java language are defined by where a variable is declared, as shown in Listing 7. Listing 7.
Cree una función y declare una variable de entrada con el tipo de datos "Int".
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.