




























































































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Un glosario en ingles y español de distintos conceptos de Java
Typology: Study notes
1 / 155
This page cannot be seen from the preview
Don't miss anything!





























































































VOCABULARY GLOSSARY
Este glosario de palabras de Android y Java complementa el curso Android for Beginners de Udacity. Este curso está dirigido a personas que son nuevas en la programación pero que quieren comenzar a crear aplicaciones para Android.
This glossary of Android and Java vocab words supplements the Udacity Android for Beginners course. This course is targeted at those who are new to programming but want to start building Android apps.
En programación Android con Java, un objeto es una variable especial que contiene otras variables (campos) y funciones (métodos). Las clases definen qué campos y métodos tienen los objetos. Los modificadores de acceso controlan quién puede usar estos campos y métodos: public: accesible desde otras clases. private: solo accesible dentro de la misma clase (encapsulación). Ejemplo: En la clase Car, el campo mModel es privado, pero los constructores son públicos, permitiendo la creación de objetos Car.
MODIFICADORES DE ACCESO
In Android, an Activity is an object that represents a screen in an app. When an app starts, the system creates an Activity object and calls its onCreate method. This method sets up and displays the user interface. Other lifecycle methods, like onDestroy, are called when the app is no longer needed. onCreate is the first method in this lifecycle.
ACTIVITY.ONCREATE
En Android, una Activity es un objeto que representa una pantalla en una app. Cuando la app inicia, el sistema crea un objeto Activity y llama a su método onCreate, que configura y muestra la interfaz de usuario. Otros métodos del ciclo de vida, como onDestroy, se llaman cuando la app ya no es necesaria. onCreate es el primer método en este ciclo de vida.
The assignment operator (=) in Java is used to assign a value to a variable. For example, in x = 10;, the value 10 is assigned to the variable x. The value on the right side of the operator is copied into the variable on the left side. This is called an assignment expression, and every statement in Java ends with a semicolon.
ASSIGNMENT OPERATOR
El operador de asignación (=) en Java se usa para asignar un valor a una variable. Por ejemplo, en x = 10;, el valor 10 se asigna a la variable x. El valor a la derecha del operador se copia en la variable a la izquierda. Esto se llama expresión de asignación, y cada declaración en Java termina con un punto y coma.
ASSIGNMENT OPERATOR
En XML, los elementos representan piezas de información, como botones o imágenes en un diseño. Cada elemento tiene una etiqueta (por ejemplo, ). Los elementos también pueden tener atributos, que proporcionan información adicional. Los atributos consisten en un nombre (por ejemplo, text) y un valor (por ejemplo, "Hello"), escritos en el formato nombre="valor".
ATRIBUTOS
BLACK BOX
A black box refers to a method we can use without knowing how it works. We only need to know how to call it, provide input, and get results.
Una caja negra se refiere a un método que podemos usar sin saber cómo funciona. Solo necesitamos saber cómo llamarlo, ingresar información y recibir resultados.
A breakpoint is used in debugging to pause an app at a specific instruction. This helps inspect the app’s variables and the execution flow to identify errors. By setting a breakpoint, the debugger halts the app at that point, allowing us to investigate without watching every instruction.
BREAKPOINT
Un punto de interrupción se usa en la depuración para pausar la app en una instrucción específica. Esto permite inspeccionar las variables y el flujo de ejecución para identificar errores. Al establecer un punto de interrupción, el depurador detiene la app en ese momento, lo que nos permite investigar sin ver cada instrucción.
PUNTO DE INTERRUPCIÓN
To call a method means to tell the computer to execute the method's instructions. Objects in Android contain fields (variables) and methods (lists of instructions). For example, calling the play method of a MediaPlayer object will make it play a sound file using the fields like volume or position.
CALL A METHOD
Llamar a un método significa pedirle al computador que ejecute las instrucciones del método. Los objetos en Android contienen campos (variables) y métodos (listas de instrucciones). Por ejemplo, llamar al método play de un objeto MediaPlayer hará que reproduzca un archivo de sonido usando campos como el volumen o la posición.
LLAMAR A UN MÉTODO
A cast is used in Java to change the type of an expression. For example, if you need to use a value of one type where another type is required, you apply a cast to make it appear as the desired type. However, the underlying value remains unchanged.
CAST
Un cast se usa en Java para cambiar el tipo de una expresión. Por ejemplo, si necesitas usar un valor de un tipo en un lugar que requiere otro tipo, aplicas un cast para hacer que parezca del tipo deseado. Sin embargo, el valor subyacente sigue siendo el mismo.
A Checkbox in Android is a touch-sensitive View that allows users to select or deselect an option. It is drawn on the screen by a CheckBox Java object. While the Java object is the actual checkbox, we refer to the visible area on the screen as the "checkbox." The CheckBox object has a method called isChecked that returns a boolean value: true if the box is checked and false if it is not. This allows developers to track the state of the checkbox in their app.
CHECKBOX