Descuento de otoño
CodeGym University
Aprendizaje
Curso
Tareas
Cuestionarios y controles
Juegos
Ayuda
Horario para collejas
Comunidad
Usuarios
Foro
Chat
Artículos
Casos de éxito
Actividades
Comentarios
Suscripciones
Tema claro
Ayuda con las tareas
Comentarios
Sobre nosotros
Comenzar
Empezar a aprender
Empezar a aprender ahora
Todas las preguntas
Hacer una pregunta
Todas las misiones
Todos los niveles
Cualquier estado
Preguntas sobre tareas
Actualidad
Angel
Nivel 3
Pregunta sobre la tarea
Implement the print method
Sintaxis de Java
,
Nivel 2
,
Lección 1
En discusión
NetBeans
Why, when I paste the code in NetBeans does it give an error?
05.07.2022
277
visualizaciones
3
comentarios
0
Mumblingx2
Nivel 1
Barcelona
Pregunta sobre la tarea
Creo que ser programador es genial
Sintaxis de Java
,
Nivel 0
,
Lección 3
En discusión
Package system does not exist
¿Qué error es éste?
04.06.2022
260
visualizaciones
1
comentario
0
jonathan fonseca clavijo
Nivel 10
Pregunta sobre la tarea
Going national
Sintaxis de Java
,
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.05.2022
354
visualizaciones
3
comentarios
0
T0ny
Nivel 4
Pregunta sobre la tarea
Sorting three numbers
Sintaxis de Java
,
Nivel 4
,
Lección 6
En discusión
why I get an error?
I don't now
11.05.2022
323
visualizaciones
2
comentarios
0
Alessandro D.
Nivel 8
Medellín
Pregunta sobre la tarea
Feline carnage
Sintaxis de Java
,
Nivel 5
,
Lección 5
En discusión
i dont understandd
why it is incorrect?
12.02.2022
340
visualizaciones
4
comentarios
0
Juliansg30
Nivel 5
Bogota
Pregunta sobre la tarea
Part of a calculator
Sintaxis de Java
,
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.2021
401
visualizaciones
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.2021
260
visualizaciones
1
comentario
0
Anonymous #10862928
Nivel 10
Pregunta sobre la tarea
Task about algorithms
Sintaxis de Java
,
Nivel 5
,
Lección 12
Resuelta
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
05.11.2021
407
visualizaciones
5
comentarios
0
LuisRC
Nivel 39
Gijón
Pregunta sobre la tarea
Countdown
Sintaxis de Java
,
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
03.12.2021
475
visualizaciones
3
comentarios
0
LuisRC
Nivel 39
Gijón
Pregunta sobre la tarea
Make a family
Sintaxis de Java
,
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.2021
311
visualizaciones
2
comentarios
0
Anonymous #10862928
Nivel 10
Pregunta sobre la tarea
Task about algorithms
Sintaxis de Java
,
Nivel 8
,
Lección 11
Resuelta
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.2021
352
visualizaciones
3
comentarios
0
Anonymous #10862928
Nivel 10
Pregunta sobre la tarea
Census
Sintaxis de Java
,
Nivel 8
,
Lección 8
En discusión
why doesn't it match the 3rd condition?
Thanks.
11.11.2021
397
visualizaciones
5
comentarios
0
Anonymous #10862928
Nivel 10
Pregunta sobre la tarea
HashMap of cats
Sintaxis de Java
,
Nivel 8
,
Lección 3
Resuelta
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.2021
441
visualizaciones
4
comentarios
0
Anonymous #10862928
Nivel 10
Pregunta sobre la tarea
Streets and houses
Sintaxis de Java
,
Nivel 7
,
Lección 4
Resuelta
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
09.11.2021
399
visualizaciones
2
comentarios
0
Anonymous #10862928
Nivel 10
Pregunta sobre la tarea
Arithmetic mean
Sintaxis de Java
,
Nivel 5
,
Lección 5
Resuelta
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!
05.11.2021
305
visualizaciones
2
comentarios
0
LuisRC
Nivel 39
Gijón
Pregunta sobre la tarea
To the top of the list
Sintaxis de Java
,
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.2021
307
visualizaciones
1
comentario
0
LuisRC
Nivel 39
Gijón
Pregunta sobre la tarea
Cat relations
Sintaxis de Java
,
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.2021
426
visualizaciones
6
comentarios
0
AleCacique
Nivel 9
Orlando
Pregunta sobre la tarea
Words in reverse
Sintaxis de Java
,
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.2021
394
visualizaciones
2
comentarios
0
Manteks
Nivel 10
Nuevas
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.09.2021
220
visualizaciones
0
comentarios
0
Bethsy Yadira Falcon Bernal
Nivel 4
Pregunta sobre la tarea
Escaping characters
Sintaxis de Java
,
Nivel 3
,
Lección 6
Resuelta
mistake
Hi, someone help me, what is my mistake, please
02.09.2021
418
visualizaciones
2
comentarios
0
Ricardo
Nivel 10
Pregunta sobre la tarea
Going national
Sintaxis de Java
,
Nivel 8
,
Lección 11
Resuelta
Consider the fact that words might be separated by more than one space, but it does!
The code works perfectly with multiple space, you input sam i am. and it gives the proper output. I am pretty sure my code works fine so must be an error in the checker. Any idea? package com.codegym.task.task08.task0823; import java.io.BufferedReader; import java.io.IOException; impo
30.08.2021
486
visualizaciones
6
comentarios
0
Sergio #10768905
Nivel 7
Pregunta sobre la tarea
Implement the fight method
Sintaxis de Java
,
Nivel 5
,
Lección 5
Resuelta
What is the purpose...
So at the end of the function, the return is: return sum > 2; What is the purpose of the > 2? public class Cat { public int age; public int weight; public int strength; public Cat() { } public boolean fight(Cat anotherCat) { int ageResult = this.age <
22.08.2021
452
visualizaciones
1
comentario
0
Michael
Nivel 10
Pregunta sobre la tarea
Static cats
Sintaxis de Java
,
Nivel 6
,
Lección 11
Resuelta
6 level, 11 lesson Task´s
Hi, I have a problem with de task of lesson 11 in IDEA, when I run the task, although there is no writing, the followed error is displayed in console. Module '1.JavaSyntax' production: java.lang.ClassCastException: org.jetbrains.jps.builders.java.dependencyView.TypeRepr$PrimitiveType cannot be ca
18.08.2021
417
visualizaciones
1
comentario
0
Ricardo
Nivel 10
Pregunta sobre la tarea
Shuffled just in time
Sintaxis de Java
,
Nivel 7
,
Lección 12
En discusión
Scanner class always introduces the iteration 0 as an empty string
I think my code works, but it doesn't let the user to introduce the word 0, automatically fills it with an empty string "". I have realised that if I removed the scan class from reading n and m and hardcode the values n=6, m=2. Then the code works as expected. Anyvbody knows why? package com.code
08.08.2021
489
visualizaciones
6
comentarios
0
Takris
Nivel 2
Pregunta sobre la tarea
CodeGym: apréndelo una vez y úsalo en cualquier lugar
Sintaxis de Java
,
Nivel 1
,
Lección 4
En discusión
¿Por qué no funciona hacer lo siguiente?
Asignar el texto a una variable y luego esa variable * 10
05.04.2021
397
visualizaciones
3
comentarios
0
Erick Oña
Nivel 5
Quito
En discusión
Could I help me with this? Please! I don't know how to fix it!
I can't keep doing my homeworks 😢
10.08.2021
324
visualizaciones
1
comentario
0
Michael
Nivel 10
Pregunta sobre la tarea
Crossing the road blindly
Sintaxis de Java
,
Nivel 4
,
Lección 4
En discusión
Hello everyone! Where is the problem?
I don´t understand where is the problem in my task. Do you help me to find it?
04.08.2021
343
visualizaciones
3
comentarios
0
Robbindick Sandoval
Nivel 4
Cali
Pregunta sobre la tarea
Minimum of three numbers
Sintaxis de Java
,
Nivel 2
,
Lección 8
Resuelta
Why not accept the solution if work correctly ?
public class Solution { public static int min(int a, int b, int c) { //write your code here int result=0; if (a >= b) { if ( b >= c) result = c; else result = b; } else if (c >= b) result = a; e
12.07.2021
574
visualizaciones
6
comentarios
0
Paloma
Nivel 2
Germany
Pregunta sobre la tarea
Implement the print method
Sintaxis de Java
,
Nivel 2
,
Lección 1
En discusión
Why the String value s is associated with the print text?
Hi there! I am really new on this and I will appreciate some help to understand some things, that may be quite basic for some of you. I hope you can help though. In the code there are 3 print lines with different text. I always thought that when you want to declare a value for a String named s , w
22.06.2021
635
visualizaciones
7
comentarios
0
Anonymous #10752052
Nivel 5
Pregunta sobre la tarea
Number of days in the year
Sintaxis de Java
,
Nivel 4
,
Lección 4
Resuelta
Please help!
I do not understand why the division "/" does not work.
30.06.2021
326
visualizaciones
3
comentarios
0
Mostrar más
1
2
3
4
Please enable JavaScript to continue using this application.