null
US
Iniciar Sesión
Regístrate Gratis
Registro
Hemos detectado que no tienes habilitado Javascript en tu navegador. La naturaleza dinámica de nuestro sitio requiere que Javascript esté habilitado para un funcionamiento adecuado. Por favor lee nuestros
términos y condiciones
para más información.
Siguiente
Copiar y Editar
¡Debes iniciar sesión para completar esta acción!
Regístrate gratis
2375705
Overriding
Descripción
This Quiz aims to test the basic objective of inheritance
Sin etiquetas
inheritance concept
overridding
accessing parent methods
Test por
khameed
, actualizado hace más de 1 año
Más
Menos
Creado por
khameed
hace más de 9 años
48
0
0
Resumen del Recurso
Pregunta 1
Pregunta
One of the main concepts in OOP is _____________ That allows to use the features ( methods )of one class in another?
Respuesta
Libraries
Inheritance
polymorphism
abstraction
Pregunta 2
Pregunta
Identify the child class in the java statement. public class Student extends Person{
Respuesta
public
Student
Person
extends
Pregunta 3
Pregunta
In Method Overriding the following the following conditions hold. Select more than one that apply
Respuesta
Child class method must have same name as in the parent class.
Child class method must have same parameter as in the parent class.
Child class method must have same return type as in the parent class
Child class method must have different name as in the parent class.
Child class method must have different return type as in the parent class
Child class can have different method signature
Pregunta 4
Pregunta
Inheritance enhances the ability to reuse existing code.
Respuesta
True
False
Pregunta 5
Pregunta
An object of a sub class can not be referenced by a variable of a super class type
Respuesta
True
False
Mostrar resumen completo
Ocultar resumen completo
¿Quieres crear tus propios
Tests
gratis
con GoConqr?
Más información
.
Similar
Brainstorming con Mapas Mentales
Diego Santos
Los Derechos Humanos
crisferroeldeluna
Estructura física y lógica de las computadoras
mauriciofrog
Resumen sobre Los Reyes Católicos
maya velasquez
Test Principios
wendy tojin
Anatomia Aparato Reproductor Femenino
Luz MoOr
ANÁLISIS DE DATOS EN LA INVESTIGACIÓN CUALITATIVA
Johanna Morales Genecco
Todos mis RECURSOS...
Ulises Yo
Pasado simple del verbo "To be"
Juan Pablo Ospino Rodriguez
CÁLCULO MENTAL...
Ulises Yo
Estructura y Funcionamiento del Estado colombiano
Maria Camila RODRIGUEZ MORENO
Explorar la Librería