Escrito por estudiantes que aprobaron Inmediatamente disponible después del pago Leer en línea o como PDF ¿Documento equivocado? Cámbialo gratis 4,6 TrustPilot
logo-home
Examen

Java - Chapter 1 terms- Questions and Answers| Latest Update

Puntuación
-
Vendido
-
Páginas
7
Grado
A+
Subido en
21-03-2025
Escrito en
2024/2025

Java - Chapter 1 terms- Questions and Answers| Latest Update

Institución
JAVA
Grado
JAVA

Vista previa del contenido

Java - Chapter 1 terms- Questions and
Answers| Latest Update
Object-oriented programming (OOP) ✔️✔️OOP is a programming methodology that views a
program as similarly consisting of objects that can act alone or interact with one another. An
object in a program - that is a software object - might represent a real-world object, or it might
be an abstaction.



Attributes ✔️✔️An object has characteristics, or attributes. For example, an automobile object
might have attributes, such as its name, its current speed, and its fuel level.



State ✔️✔️The values of an object's attributes give the object a state.



Behaviors ✔️✔️The actions that an object can take are called behaviors. AS we saw earlier, each
behavior is defied by a piece of Java code called a method.



Class ✔️✔️A class defines s kind of object; it is a blueprint for creating objects.



Encapsulation ✔️✔️Encapsulation sounds as though it means putting things in to a capsule or, to
say it another way, packaging things up. This intuition is basically correct. The most important
part of encapsulation, however, is not simply that things are put into a capsule, but that only
part of what is in the capsule is visible. When you produce a piece of software, you should
describe it in a way that tells other programmers how to use it, but that omits all the details of
how the software program works.



Information hiding ✔️✔️Note that encapsulation hides the fine detail of what is inside the
capsule. For this reason, encapsulation is often called information hiding.



Polymorphism ✔️✔️Polymorphism comes from a Greek word meaning 'many forms.' the basic
idea of polymorphism is that it allows the same program instruction to mean different things in

, different contexts. Polymorphism commonly occurs in English, and its use in a programing
language makes the language more like a human language. For example, the English insturction
"Go play your favorite sport" means different things to different people. In Java, polymorphism
means htat one method name, used as an insturcito, can cause different actions, depending on
the kinds of objects that perform the action. For example, a method named showOutput mgiht
display the data in a nobject. But hte number of data items it displays and their format depend
on the kind of object that carries out hte action.



Inheritance ✔️✔️Inheritance is a way of organizing classes. You can define common attributes
and behaviors once and have them apply to a whole collection of classes. By defining a general
class, you can use inheritance later to define specialized classes that add to or revise the details
of the general class.



Algorithm ✔️✔️An algorithm is a set of instructions for solving a problem, to qualify as an
algorithm, the direcitons must be expressed so completely and so recisely that somebody can
follow them without having to fill in any details or make any decisions that are not fully
specified in the instructions.



Pseudocode ✔️✔️Pseudocode is a combination of English and a programming language



Bug ✔️✔️A mistake in a program is called a bug



Debugging ✔️✔️The process of eliminating mistakes in the program is called debugging



Syntax Error ✔️✔️A syntax error is a grammatical mistake in the program.



Run-time error ✔️✔️An error that is detected when the program is run is called a run-time error



Logic error ✔️✔️if the underlying algorithm for the program ccontains a mistake, or if you write
something in Java that is syntatically correct but logically wrong, but will produce incorrect
output, the program contains a logic error

Escuela, estudio y materia

Institución
JAVA
Grado
JAVA

Información del documento

Subido en
21 de marzo de 2025
Número de páginas
7
Escrito en
2024/2025
Tipo
Examen
Contiene
Preguntas y respuestas

Temas

$9.99
Accede al documento completo:

¿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


Documento también disponible en un lote

Thumbnail
Package deal
BUNDLE-::JAVA EXAMS WITH COMPLETE SOLUTIONS| LATEST UPDATE
-
44 2025
$ 436.56 Más información

Conoce al vendedor

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.
Copilot Harvard University
Ver perfil
Seguir Necesitas iniciar sesión para seguir a otros usuarios o asignaturas
Vendido
23
Miembro desde
1 año
Número de seguidores
0
Documentos
4415
Última venta
3 semanas hace
A+ GRADES

ON THIS PAGE YOU WILL FIND VERIFIED STUDY MATERIALS TO BOOST YOUR CAREERS. (EXAMS, STUDY GUIDES, TEST BANKS, PRACTICE TEST QUESTIONS, TEXT BOOKS & CLASS NOTES FOR ALL COURSES) LETS WORK SMART TO EXCEL, WELCOME!!!

4.9

8 reseñas

5
7
4
1
3
0
2
0
1
0

Documentos populares

Recientemente visto por ti

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