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

Revature Interview Questions with Correct Answer2.

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

Revature Interview Questions with Correct Answer2.

Vista previa del contenido

Revature Interview Questions with Correct Answers
Object-oriented programming (OOP) Correct Answer-a programming
language model organized around objects that have data and methods
that form the object. It's an instance of a class. four main concepts:
1. Encapsulation
2. Abstraction
3. Inheritance
4. Polymorphism.


Variables Correct Answer-A structure for temporarily storing data in
your computers memory


1. primitive variables - data types like integers, decimals, and
alphanumeric characters


2. reference variables- store memory addresses where objects are
located. use a class (name) as their type and can only point to objects
that are instances of the class that is their type


Arrays Correct Answer-A collection of primitive values or object
reference organized with an index.
A specific amount of memory is reserved for an array based on the size
and data type


Instance variable Correct Answer-declared in the class scope

,{ } denote a change in scope


What is DBMS? Correct Answer-Database Management System


What is RDBMS? Correct Answer-Rational Database Management
System - stores data into tables with columns and rows


Ex. SQL Server


class Correct Answer-a blueprint or prototype from which objects are
created. a representation of a type of object. Example: class called
Vehicle describes the minimum things that a vehicle is.


Inheritance Correct Answer-Inheritance allows a class to use the
properties and methods of another class. Allows parent/child
relationship. Example: car and truck inherit functions of vehicle but car
is not truck or vice versa. A class inherits fields and methods from all its
superclasses, whether direct or indirect. A subclass can override methods
that it inherits, or it can hide fields or methods that it inherits.


Interface Correct Answer-a description of the actions that an object can
do. an Interface is a description of all functions that an object must have
in order to be an "X".
http://images.slideplayer.com/14/4328130/slides/slide_3.jpg

, Why use an interface? Correct Answer-main use is polymorphism, or the
ability to perform the same operation on a number of different objects.


Package Correct Answer-a namespace that organizes a set of related
classes and interfaces. Used to keep things organized by placing related
classes and interfaces into packages. Used in Java in order to prevent
naming conflicts.


How to create and use objects Correct Answer-You can declare,
instantiate using new keyword, or initialize by using new and calling
constructor


You can call object fields using the dot method and calling its functions


Encapsulation Correct Answer-the principle of information hiding and
wrapping code together into a single unit. data is not accessed directly


API Correct Answer-Application Programming Interface - Contains the
complete listing for all packages, interfaces, classes, fields, and methods
supplied by the Java SE platform


Association Correct Answer-a relationship between two classes. there is
no owner between objects. For example, a teacher *has-a* or *teaches*
a student. There is no ownership between the teacher and the student


Aggregation Correct Answer-a weak type of Association with partial
ownership. For an Aggregation relationship, we use the term *uses*. For

Información del documento

Subido en
8 de octubre de 2024
Número de páginas
18
Escrito en
2024/2025
Tipo
Examen
Contiene
Preguntas y respuestas
$14.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.
cracker
3.8
(402)
Vendido
2185
Seguidores
1346
Artículos
50146
Última venta
4 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