• ¿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 1 fuera de 3 páginas
Examen

Java I CIS-171 Final Exam Study Guide || WITH ANSWERS 100% CORRECT!!

Document preview thumbnail
Vista previa 1 fuera de 3 páginas

Access modifier correct answers States which classes can access a component of the current class. This helps with encapsulation. The modifiers you will see are: + public: any class can access this element - private: this element can only be accessed by the object in which it is contained * package: this element can only be accessed by the object in which it is contained or in by any instance of a derived class none package. Accessor correct answers A method used to examine an attribute of an object without changing it. API correct answers Application Programming Interface Argument correct answers A data item specified in a method call. An argument can be a literal value, a variable, or an expression. Array correct answers A fixed-size collection of items of the same type and referenced by the name of the array and index representing the offset from the starting element. Array Initialized correct answers String[] cars = {"Volvo", "BMW", "Ford", "Mazda"}; ArrayList correct answers A data structure that can hold varying numbers of objects that can be referenced by an index. ArrayList Initialized correct answers ArrayListString cars = new ArrayListString(); Attribute correct answers Another term for a field. Attribute declaration correct answers String d = " "; Class correct answers A description of a type of entity, denoting the attributes and behaviors of all instances of those entities, but not the details which are left to the specific instances. Class declaration correct answers The first line of a class, which contains the access level, the keyword class, and the class name. Class diagram correct answers A visual representation of the relationships between classes. Constructor correct answers A specialized method that sets the initial values when an objects is constructed. Note that a constructor never has a return type, not even void. Declaration correct answers A statement that establishes an identifier and associates attributes with it, without necessarily reserving its storage (for data) or providing the implementation (for methods).

Vista previa del contenido

Java I CIS-171 Final Exam Study Guide || WITH
ANSWERS 100% CORRECT!!
Access modifier correct answers States which classes can access a component of the current
class. This helps with encapsulation. The modifiers you will see are:

+ public: any class can access this element
- private: this element can only be accessed by the object in which it is contained
* package: this element can only be accessed by the object in which it is contained or in by
any instance of a derived class
<none> package.

Accessor correct answers A method used to examine an attribute of an object without
changing it.

API correct answers Application Programming Interface

Argument correct answers A data item specified in a method call. An argument can be a
literal value, a variable, or an expression.

Array correct answers A fixed-size collection of items of the same type and referenced by the
name of the array and index representing the offset from the starting element.

Array Initialized correct answers String[] cars = {"Volvo", "BMW", "Ford", "Mazda"};

ArrayList correct answers A data structure that can hold varying numbers of objects that can
be referenced by an index.

ArrayList Initialized correct answers ArrayList<String> cars = new ArrayList<String>();

Attribute correct answers Another term for a field.

Attribute declaration correct answers String d = " ";

Class correct answers A description of a type of entity, denoting the attributes and behaviors
of all instances of those entities, but not the details which are left to the specific instances.

Class declaration correct answers The first line of a class, which contains the access level, the
keyword class, and the class name.

Class diagram correct answers A visual representation of the relationships between classes.

Constructor correct answers A specialized method that sets the initial values when an objects
is constructed. Note that a constructor never has a return type, not even void.

Declaration correct answers A statement that establishes an identifier and associates attributes
with it, without necessarily reserving its storage (for data) or providing the implementation
(for methods).

Información del documento

Subido en
16 de septiembre de 2024
Número de páginas
3
Escrito en
2024/2025
Tipo
Examen
Contiene
Preguntas y respuestas
$8.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.
ProPerfomer
3.8
(84)
Vendido
451
Seguidores
322
Artículos
8858
Última venta
21 horas 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