Promoción
CodeGym University
Aprendizaje
Cursos
Tareas
Encuestas & Cuestionarios
Juegos
Ayuda
Horario
Comunidad
Usuarios
Foro
Chat
Artículos
Historias de éxito
Actividad
Reseñas
Suscripciones
Tema claro
Ayuda con tareas
Reseñas
Sobre nosotros
Comenzar
Comenzar a aprender
Comienza a aprender ahora
Todas las preguntas
Hacer una pregunta
Java 25
Todas las misiones
Todos los niveles
Cualquier estado
Preguntas sobre tareas
Destacadas
hidden #11206029
Nivel 10
Pregunta sobre la tarea
Working with dates
Java Syntax
,
Nivel 8
,
Lección 11
En discusión
The isDateOdd() method returns an incorrect value. Test it with different dates.
Pruebo distintas fechas y obtengo resultado correcto. No comprendo el error.
16/4/23
399
vistas
5
comentarios
0
hidden #11206029
Nivel 10
Pregunta sobre la tarea
We don't need repeats
Java Syntax
,
Nivel 8
,
Lección 8
En discusión
Necesito ayuda.
package com.codegym.task.task08.task0817; import java.util.HashMap; import java.util.Map; /* We don't need repeats */ public class Solution { public static HashMap createMap() { //write your code here HashMap map = new HashMap(); map.put("Vazquez", "Felix");
6/4/23
360
vistas
2
comentarios
0
hidden #11206029
Nivel 10
Pregunta sobre la tarea
Longest sequence
Java Syntax
,
Nivel 8
,
Lección 6
Resuelto
A ver si alguien me puede indicar que está mal.
package com.codegym.task.task08.task0812; import java.io.*; import java.util.*; /* Longest sequence */ public class Solution { public static void main(String[] args) throws IOException { //write your code here Scanner sc = new Scanner(System.in); ArrayList list
26/3/23
344
vistas
2
comentarios
0
Alejandro
Nivel 0
Resuelto
override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) Log.i("Login Activity", "Hello from shared module: " + (Greeting().greeting())) }
https://codegym.cc/quests/lectures/es.questsyntax.level00.lecture01
20/3/23
342
vistas
1
comentario
0
Víctor Alfonso Martínez Gómez
Nivel 3
Manizales
Pregunta sobre la tarea
Pets need people
Java Syntax
,
Nivel 2
,
Lección 5
En discusión
Para entender un poco de que se trata una referencia en Java.
http://www.edu4java.com/es/java/variables-referencias-a-objetos.html
7/8/21
639
vistas
0
comentarios
5
Jaiminho D
Nivel 1
Pregunta sobre la tarea
Una variable en nuestra pantalla
Java Syntax
,
Nivel 1
,
Lección 3
En discusión
porque no se coloca las "" dentro de System.out.println?
he tratado como me enseñaron en otros lugares que dentro de la llamada se escribe las "" pero me sale error y veo que la solución es sin las "" .... confunde
11/2/23
331
vistas
1
comentario
0
Lunita
Nivel 4
Pregunta sobre la tarea
More conversions
Java Syntax
,
Nivel 3
,
Lección 8
Resuelto
My code is showing the correct output but last req still not met
Is there anything wrong with my code? IT IS showing the correct output, but it's also showing "Task requirements are not met". I'm getting frustrated here.
17/1/23
407
vistas
3
comentarios
0
Anonymous #11035170
Nivel 2
Craiova
Pregunta sobre la tarea
Implement the print method
Java Syntax
,
Nivel 2
,
Lección 1
En discusión
How to display on The console string without using The main method should not call System.out.println or System.out.print
I have this task .It must be displayed The passed string four times and every time on a new línea but I can't do it package com.codegym.task.task02.task0201; /* Implement the print method */ public class Solution { public static void main(String[] args) { print("Java is easy to lea
20/7/22
918
vistas
5
comentarios
0
Xavi Martin
Nivel 22
Pregunta sobre la tarea
Stack trace revisited
Java Syntax
,
Nivel 9
,
Lección 2
En discusión
Dude, Could some kind soul help me?
In this expression return Thread.currentThread().getStackTrace()[2].getMethodName(); I don't understand what the [2] means in each of the functions. I have read the documentation, I have searched but I am not able to find anything that explains that. Thank you very much in advance.
22/11/22
452
vistas
3
comentarios
0
Daniel Diaz
Nivel 1
Nuevo
El curso esta completamente disponible en español? Por favor ayuda.
Quisiera saber si el curso está completamente en español, ya que no quisiera tener que pagar para continuar y que a partir de ahora todas las materias sigan en inglés. Ya que a pesar de que comprendo el inglés, no quiero tener que estudiar en esta lengua.
14/7/22
441
vistas
0
comentarios
1
Angel
Nivel 3
Pregunta sobre la tarea
Implement the print method
Java Syntax
,
Nivel 2
,
Lección 1
En discusión
NetBeans
Why, when I paste the code in NetBeans does it give an error?
5/7/22
477
vistas
3
comentarios
0
Mumblingx2
Nivel 1
Barcelona
Pregunta sobre la tarea
Creo que ser programador es genial
Java Syntax
,
Nivel 0
,
Lección 3
En discusión
Package system does not exist
¿Qué error es éste?
4/6/22
509
vistas
1
comentario
0
jonathan fonseca clavijo
Nivel 10
Pregunta sobre la tarea
Going national
Java Syntax
,
Nivel 8
,
Lección 11
En discusión
what could be the fault
I don't understand what could be wrong in my code, any clue
19/5/22
549
vistas
3
comentarios
0
T0ny
Nivel 4
Pregunta sobre la tarea
Sorting three numbers
Java Syntax
,
Nivel 4
,
Lección 6
En discusión
why I get an error?
I don't now
11/5/22
526
vistas
2
comentarios
0
Alessandro D.
Nivel 8
Medellín
Pregunta sobre la tarea
Feline carnage
Java Syntax
,
Nivel 5
,
Lección 5
En discusión
i dont understandd
why it is incorrect?
12/2/22
522
vistas
4
comentarios
0
Juliansg30
Nivel 5
Bogota
Pregunta sobre la tarea
Part of a calculator
Java Syntax
,
Nivel 2
,
Lección 2
En discusión
"The program should have two int variables a and b
Buenos dias; tengo la siguiente novedad, cuando ejecuto el boton de verificar el sistema me indica que tengo error "The program should have two int variables a and b." pero en el metodo main estoy definiendo las dos variables a y b. public static void main(String[] args) { int a = 5;
28/12/21
608
vistas
2
comentarios
0
juli0cl
Nivel 10
Torrelavega
En discusión
No lessons in Java Core
There are no lessons in Java Core. I can only read "no matching lessons". Why??
19/12/21
460
vistas
1
comentario
0
Anonymous #10862928
Nivel 10
Pregunta sobre la tarea
Task about algorithms
Java Syntax
,
Nivel 5
,
Lección 12
Resuelto
hello, can someone tell me why it doesn't match the 5th condition?
I tried it with different "N" numbers, and it works perfectly. thanks
5/11/21
590
vistas
5
comentarios
0
LuisRC
Nivel 39
Gijón
Pregunta sobre la tarea
Countdown
Java Syntax
,
Nivel 9
,
Lección 11
En discusión
What does requirement 5 means?
Hi, May I have some light about the requirement number 5? I've tried this task several times but I'm always failing in this requirement. I guess I have to catch the exception but the task must continue with the countdown, don't I? Thanks in advance
3/12/21
716
vistas
3
comentarios
0
LuisRC
Nivel 39
Gijón
Pregunta sobre la tarea
Make a family
Java Syntax
,
Nivel 8
,
Lección 11
En discusión
How the below code works
Hi, I was reading the right solution of this task in the website, however I don't undestand how works the "Human... children" part in the constructor. Could someone explain it to me? Thanks . public Human(String name, boolean sex, int age, Human... children) { this.name = name;
19/11/21
862
vistas
2
comentarios
0
Anonymous #10862928
Nivel 10
Pregunta sobre la tarea
Task about algorithms
Java Syntax
,
Nivel 8
,
Lección 11
Resuelto
why does it say "ilegal start of expression"
I don't know why it points me to the boolean that is already defined. thanks.
12/11/21
553
vistas
3
comentarios
0
Anonymous #10862928
Nivel 10
Pregunta sobre la tarea
Census
Java Syntax
,
Nivel 8
,
Lección 8
En discusión
why doesn't it match the 3rd condition?
Thanks.
11/11/21
581
vistas
5
comentarios
0
Anonymous #10862928
Nivel 10
Pregunta sobre la tarea
HashMap of cats
Java Syntax
,
Nivel 8
,
Lección 3
Resuelto
the code works, but it displays in different order
Hello, it does work. but it won't pass the test becase the output is in a different order, like this: Snowball - SNOWBALL Boss - BOSS Missy - MISSY Simba - SIMBA Max - MAX Smokey - SMOKEY Tiger - TIGER Marmalade - MARMALADE Oscar - OSCAR Smudge - SMUDGE does anybody know why? thanks
10/11/21
722
vistas
4
comentarios
0
Anonymous #10862928
Nivel 10
Pregunta sobre la tarea
Streets and houses
Java Syntax
,
Nivel 7
,
Lección 4
Resuelto
Its not matching the conditions
I know I put wrong the "i % 2 != 0 then the number is even" it should be the contrary. but if I put i ike that, it doesn't match 2 of the cconditions. I dn't know why it dosn't display "odd numbers houses have more residents", when i display "evensum" and "oddsum" everyhing seems to be right. than
9/11/21
620
vistas
2
comentarios
0
Anonymous #10862928
Nivel 10
Pregunta sobre la tarea
Arithmetic mean
Java Syntax
,
Nivel 5
,
Lección 5
Resuelto
just wantt to why that single condition doesn't match. thanks
Everytthing works fine but the "-100, 0, 100, -1" condition, and I don't really understand why or how to fix it, thanks!
5/11/21
512
vistas
2
comentarios
0
LuisRC
Nivel 39
Gijón
Pregunta sobre la tarea
To the top of the list
Java Syntax
,
Nivel 7
,
Lección 6
En discusión
Doubt on requirements
What it means "The program should add lines to the beginnig of the list"? I don´t understand it.
30/10/21
530
vistas
1
comentario
0
LuisRC
Nivel 39
Gijón
Pregunta sobre la tarea
Cat relations
Java Syntax
,
Nivel 6
,
Lección 11
En discusión
What's wrong with my solution?
I tried since a little while to get this task solved but itt didn't pass fhe verification and I don't know what's wrong? May I have some help? Thanks.
26/10/21
625
vistas
6
comentarios
0
AleCacique
Nivel 9
Orlando
Pregunta sobre la tarea
Words in reverse
Java Syntax
,
Nivel 7
,
Lección 9
En discusión
where should i put the " ; " ???
still telling me that it is an error in line 24.I don't understand.Where should i put the " ; " ???
13/10/21
576
vistas
2
comentarios
0
Manteks
Nivel 10
Nuevo
Core Java level 11 without access
I have finished the first 10 levels but I can't access level 11 and I get the following message: NO MATCHING LESSONS View all lessons? I have a premium account The language of my interface is in English but I don't know why sometimes it appears in Spanish.
16/9/21
423
vistas
0
comentarios
0
Bethsy Yadira Falcon Bernal
Nivel 4
Pregunta sobre la tarea
Escaping characters
Java Syntax
,
Nivel 3
,
Lección 6
Resuelto
mistake
Hi, someone help me, what is my mistake, please
2/9/21
699
vistas
2
comentarios
0
Mostrar más
1
2
3
4
5
Please enable JavaScript to continue using this application.