• ¿Documento equivocado? Cámbialo gratis
  • Escrito por estudiantes que aprobaron
  • Inmediatamente disponible después del pago
  • Leer en línea o como PDF
Vender
¿Dónde estudias?
Tu idioma
Document preview thumbnail
Vista previa 2 fuera de 5 páginas
Examen

Java Terms Exam 2025 Questions and Answers

Document preview thumbnail
Vista previa 2 fuera de 5 páginas

Java Terms Exam 2025 Questions and Answers

Vista previa del contenido

Java Terms Exam 2025 Questions
and Answers


class - ANSWER✔✔-a template for an object, containing all the variables and methods

each object gets when instantiated.


object/instance - ANSWER✔✔-used to get the program to do what you want, using the

variables and methods defined in the class.


method - ANSWER✔✔-Java's term for a function or command - they are a set of

instructions.


instantiation - ANSWER✔✔-creating a new object from a class by calling one of the

constructors in that class


instance variable - ANSWER✔✔-a variable that's defined outside the methods of a class,

so it's available to all methods in that class (if it's public, all classes in the project)


constructor - ANSWER✔✔-a declaration in a Java class that instantiates an object


default constructor - ANSWER✔✔-a constructor with no parameters

, parameters - ANSWER✔✔-variables you put inside the parentheses of a method,

separated by commas, to indicate what data you'd like to pass to that method


cast - ANSWER✔✔-to convert one data type into another by putting the desired type in

parentheses in front of the original


scope - ANSWER✔✔-the range of access a variable has within a project


encapsulation - ANSWER✔✔-keeping instance variables private but writing public

methods to access them


accessor methods (getters) - ANSWER✔✔-these are used to return the value of a

variable (usually private) to the method that calls it (or to the console).


modifier methods (setters) - ANSWER✔✔-these are used to set or change the value of a

variable (usually private) in the object


modulus - ANSWER✔✔-an arithmetic operation, indicated by the % sign, that outputs

the remainder of a division


boolean - ANSWER✔✔-a primitive data type that stores one of two possible values: true

or false


conditional - ANSWER✔✔-a boolean expression, often used in loops and if statements


break - ANSWER✔✔-a statement that causes Java to exit the current loop and continue

with the next line of the program

Información del documento

Subido en
8 de mayo de 2025
Número de páginas
5
Escrito en
2024/2025
Tipo
Examen
Contiene
Preguntas y respuestas
$11.99

¿Documento equivocado? Cámbialo gratis Dentro de los 14 días posteriores a la compra y antes de descargarlo, puedes elegir otro documento. Puedes gastar el importe de nuevo.
Escrito por estudiantes que aprobaron
Inmediatamente disponible después del pago
Leer en línea o como PDF

Seller avatar
Los indicadores de reputación están sujetos a la cantidad de artículos vendidos por una tarifa y las reseñas que ha recibido por esos documentos. Hay tres niveles: Bronce, Plata y Oro. Cuanto mayor reputación, más podrás confiar en la calidad del trabajo del vendedor.
KatelynWhitman
3.6
(260)
Vendido
1253
Seguidores
485
Artículos
43943
Última venta
2 días hace




Por qué los estudiantes eligen Stuvia

Creado por compañeros estudiantes, verificado por reseñas

Calidad en la que puedes confiar: escrito por estudiantes que aprobaron y evaluado por otros que han usado estos resúmenes.

¿No estás satisfecho? Elige otro documento

¡No te preocupes! Puedes elegir directamente otro documento que se ajuste mejor a lo que buscas.

Paga como quieras, empieza a estudiar al instante

Sin suscripción, sin compromisos. Paga como estés acostumbrado con tarjeta de crédito y descarga tu documento PDF inmediatamente.

Student with book image

“Comprado, descargado y aprobado. Así de fácil puede ser.”

Alisha Student

Preguntas frecuentes