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:

Implementación de Colas en Java

Fill in the Blanks

(2)
Played 21

About this activity

Completa los códigos para que sean correctos

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
Implementación de Colas en Java
 

Fill in the Blanks

Implementación de Colas en JavaOnline version

Completa los códigos para que sean correctos

by Gabriel Barron Rodírguez
1

{
private dato ;
private siguiente ;

public Nodo ( T data ) {
dato = ;
siguiente = ;
}

public T ( ) {
return dato ;
}

public void ( T dato ) {
. dato = dato ;
}

public Nodo ( ) {
return siguiente ;
}

public void ( Nodo siguiente ) {
this . siguiente = ;
}
}

2

public void insertar ( elemento ) {
nuevoNodo = Nodo<> ( ) ;

( ( ) ) {
= nuevoNodo ;
= ;
}
{
this . cola . ( nuevoNodo ) ;
. cola = nuevoNodo ;
}
+ + ;
System . out . println ( " - > Insertado : " + ) ;
}

3

( ) {
this . cabeza = ;
. = null ;
this . = ;
}

4

( ) {
cabeza = = ;
}

5

quitar ( ) {
( ( ) ) {
. . println ( " Error : La cola está vacía . " ) ;
}

T datoQuitado = this . cabeza . ( ) ;

this . cabeza = this . cabeza . ( ) ;

if ( this . = = ) {
this . = null ;
}
- - ;
;
}

6

public ( ) {
( colaVacia ( ) ) {
System . out . ( " Error : La cola está vacía " ) ;
}
this . . ( ) ;
}

7

( ) {
;
}

8

= ( ) ;

Are you sure you want to leave the page?

If you leave the page, you will lose your game progress.