CodeGym
Descuento de otoño
Universidad CodeGym
Aprendizaje
Cursos
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
  • 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
    • 426visualizaciones
    • 2comentarios
    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 understanddwhy it is incorrect?
    • 12.02.2022
    • 424visualizaciones
    • 4comentarios
    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 bBuenos 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
    • 500visualizaciones
    • 2comentarios
    0
  • juli0cl
    Nivel 10
    Torrelavega
    En discusión
    No lessons in Java CoreThere are no lessons in Java Core. I can only read "no matching lessons". Why??
    • 19.12.2021
    • 359visualizaciones
    • 1comentario
    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
    • 502visualizaciones
    • 5comentarios
    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
    • 610visualizaciones
    • 3comentarios
    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 worksHi, 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
    • 621visualizaciones
    • 2comentarios
    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
    • 459visualizaciones
    • 3comentarios
    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
    • 488visualizaciones
    • 5comentarios
    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 orderHello, 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
    • 584visualizaciones
    • 4comentarios
    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 conditionsI 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
    • 512visualizaciones
    • 2comentarios
    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. thanksEverytthing 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
    • 407visualizaciones
    • 2comentarios
    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 requirementsWhat it means "The program should add lines to the beginnig of the list"? I don´t understand it.
    • 30.10.2021
    • 406visualizaciones
    • 1comentario
    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
    • 527visualizaciones
    • 6comentarios
    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
    • 473visualizaciones
    • 2comentarios
    0
  • Manteks
    Nivel 10
    Nuevas
    Core Java level 11 without accessI 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
    • 319visualizaciones
    • 0comentarios
    0
  • Bethsy Yadira Falcon Bernal
    Nivel 4
    Pregunta sobre la tarea Escaping characters
    Sintaxis de Java, Nivel 3, Lección 6
    Resuelta
    mistakeHi, someone help me, what is my mistake, please
    • 02.09.2021
    • 573visualizaciones
    • 2comentarios
    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
    • 663visualizaciones
    • 6comentarios
    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
    • 565visualizaciones
    • 1comentario
    0
  • Michael
    Nivel 10
    Pregunta sobre la tarea Static cats
    Sintaxis de Java, Nivel 6, Lección 11
    Resuelta
    6 level, 11 lesson Task´sHi, 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
    • 515visualizaciones
    • 1comentario
    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 stringI 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
    • 618visualizaciones
    • 6comentarios
    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
    • 492visualizaciones
    • 3comentarios
    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
    • 420visualizaciones
    • 1comentario
    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
    • 449visualizaciones
    • 3comentarios
    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
    • 834visualizaciones
    • 6comentarios
    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
    • 857visualizaciones
    • 7comentarios
    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
    • 419visualizaciones
    • 3comentarios
    0
  • Diego Hernán Graciano Puerta
    Nivel 1
    Medellín
    Pregunta sobre la tarea Tan fácil como sumar 2 + 2
    Sintaxis de Java, Nivel 1, Lección 8
    En discusión
    Cordial Saludo:Por favor, Alguien puede ayudarme a resolver este ejercicio. Tan fácil como sumar 2+2. Muchas gracias Feliz dia
    • 02.06.2021
    • 595visualizaciones
    • 5comentarios
    0
  • Gabriel Pozos
    Nivel 1
    Cdmx
    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
    Solución Hay alguna otra solución además de poner System.out.println 10 veces?
    • 05.04.2020
    • 1005visualizaciones
    • 2comentarios
    0
  • 1
  • 2
  • 3
  • 4
Aprender
  • Registro
  • Curso de Java
  • Ayuda con las tareas
  • Precios
  • Sintaxis de Java
Comunidad
  • Usuarios
  • Artículos
  • Foro
  • Chat
  • Casos de éxito
  • Actividades
  • Programa de afiliados
Empresa
  • Información sobre nosotros
  • Contactos
  • Comentarios
  • Sala de prensa
  • CodeGym para EDU
  • Preguntas frecuentes
  • Soporte
CodeGym CodeGym es un curso por Internet para aprender programación en Java desde cero. Este curso es la manera perfecta para que los principiantes dominen Java. Ofrece más de 1200 tareas con comprobación instantánea y contenidos teóricos esenciales sobre los fundamentos de Java. Para ayudarte a triunfar en tu formación, hemos implementado una serie de características motivadoras: controles, proyectos de programación y contenidos sobre aprendizaje eficiente y para tu carrera profesional como desarrollador Java.
Síguenos
Idioma de la interfaz
English Deutsch
Español
हिन्दी Français Português Polski বাংলা 简体中文 मराठी தமிழ் Italiano Bahasa Indonesia 繁體中文 Nederlands 日本語 한국어 Bulgarian Danish Hungarian Basa Jawa Malay Norwegian Romanian Swedish Telugu Thai Українська Filipino Turkish Azərbaycan Русский Vietnamese
Los programadores no nacen, se hacen © 2025 CodeGym
MastercardVisa
Los programadores no nacen, se hacen © 2025 CodeGym