New game
Download
Get Academic Plan
Share game
Integrate it into your platform

You can integrate the game into an LMS compatible with LTI 1.1 or LTI 1.3 such as Canvas, Moodle, or Blackboard. This way, the scores will be automatically saved into the platform’s gradebook.
Download
You have exceeded the maximum number of games you can integrate into Google Classroom with your current Plan.

To integrate as many games as you want in Google Classroom, you need an Academic Plan or a Commercial Plan.

You have exceeded the maximum number of games you can integrate into Microsoft Teams with your current Plan.

To integrate as many games as you want in Microsoft Teams, you need an Academic Plan or a Commercial Plan.

Downloading games is an exclusive feature for users with an Academic Plan or a Commercial Plan.

Get your Academic Plan or your Commercial Plan now and start integrating your games into your LMS, website or blog.

If you wish, you can download a demo game here and test its integration:

Quiz JAVA 8 - Análisis de Código

Quiz

(12)
Played 26 %Accuracy 67 Average time 11:31

About this activity

JAVA 8 - Análisis de Código

Created by

Mexico

Download the paper version to play

Make your own free game from our game creator
Compete against your friends to see who gets the best score in this game

Top Games

%
Anonymous
Anonymous
%
%
%
You have exceeded the maximum number of games you can print with your current Plan.

To print as many games as you want, you need an Academic Plan or a Commercial Plan.

Print your game
Quiz JAVA 8 - Análisis de Código
 

Quiz JAVA 8 - Análisis de CódigoOnline version

JAVA 8 - Análisis de Código

by HR Mexico
1

¿Qué imprime el siguiente código?

2

¿Cuál es el resultado de ejecutar el siguiente código?

3

¿Qué hace el siguiente método?

4

¿Cuál es el error en el siguiente código?

5

¿Qué imprime el siguiente código?

6

¿Cuál es la salida del siguiente código?

7

¿Qué imprime este código?

8

¿Qué hace el siguiente código?

9

¿Cuál es la salida?

10

¿Qué hace el siguiente código?

11

¿Qué imprime el siguiente código?

12

¿Cuál es el resultado de ejecutar el siguiente código?

13

¿Qué hace el siguiente código?

Escoge una o varias respuestas

14

¿Cuál será el valor final de count?

15

¿Qué imprime el siguiente código?

16

¿Qué resultado lanza este código?

17

¿Qué se imprime al ejecutar este código?

18

¿Qué hace el siguiente código?

19

¿Cuál es la salida?

20

¿Cuál es el propósito de este código?

Explicación

Los objetos Integer fuera del rango -128 a 127 no se almacenan en caché, por lo que a == b compara referencias distintas.

El parámetro x es una copia del valor, no una referencia. La variable count original no se modifica.

replace() no modifica el objeto original, sino que devuelve uno nuevo.

El bloque do-while se ejecuta al menos una vez, incluso si la condición es falsa.

new int[] es un arreglo primitivo, no un arreglo de objetos.

Java requiere que se resuelva la ambigüedad usando InterfaceName.super.method().

Are you sure you want to leave the page?

If you leave, you will lose the game in progress.