CodeGym
Promotion
CodeGym University
Aprendizaje
Curso
Tareas
Juegos
Ayuda
Horario para collejas
Comunidad
Usuarios
Foro
Chat
Artículos
Casos de éxito
Actividades
Comentarios
Suscripciones
Tema claro

Ayuda con tareas

  • Comentarios
  • Información sobre nosotros
Comenzar
Empezar a aprender
Empezar a aprender ahora
🎁
🎁
  • Todas las preguntas
Todas las misiones Sintaxis de Java Núcleo de Java Multithreading en Java Colecciones de Java Juegos
Todos los niveles Nivel 0 Nivel 1 Nivel 2 Nivel 3 Nivel 4 Nivel 5 Nivel 6 Nivel 7 Nivel 8 Nivel 9 Nivel 10 Nivel 11 Nivel 12 Nivel 13 Nivel 14 Nivel 15 Nivel 16 Nivel 17 Nivel 18 Nivel 19 Nivel 20 Nivel 21 Nivel 22 Nivel 23 Nivel 24 Nivel 25 Nivel 26 Nivel 27 Nivel 28
Cualquier estado Nuevas En discusión Resuelta Archivadas Duplicadas
Actualidad Populares Nuevas Antiguas
  • jonathan fonseca clavijo
    Nivel 8
    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
    • 42visualizaciones
    • 3comentarios
    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
    • 42visualizaciones
    • 2comentarios
    0
  • xaviku
    Nivel 1
    Pregunta sobre la tarea Un elogio para la profesora
    Sintaxis de Java, Nivel 0, Lección 4
    Nuevas

    No me dan recompensa

    Porque no me dan la recompensa, si hice la solución bien?
    • 06.05.2022
    • 10visualizaciones
    • 0comentarios
    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
    • 77visualizaciones
    • 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 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
    • 83visualizaciones
    • 2comentarios
    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
    • 58visualizaciones
    • 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
    • 154visualizaciones
    • 5comentarios
    0
  • LuisRC
    Nivel 30
    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
    • 101visualizaciones
    • 3comentarios
    0
  • LuisRC
    Nivel 30
    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
    • 73visualizaciones
    • 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
    • 99visualizaciones
    • 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
    • 125visualizaciones
    • 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 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
    • 103visualizaciones
    • 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 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
    • 123visualizaciones
    • 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. 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
    • 84visualizaciones
    • 2comentarios
    0
  • LuisRC
    Nivel 30
    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
    • 91visualizaciones
    • 1comentario
    0
  • LuisRC
    Nivel 30
    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
    • 158visualizaciones
    • 6comentarios
    0
  • AleCacique
    Nivel 9
    La Habana
    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
    • 130visualizaciones
    • 3comentarios
    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
    • 64visualizaciones
    • 0comentarios
    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
    • 149visualizaciones
    • 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
    • 164visualizaciones
    • 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
    • 149visualizaciones
    • 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´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
    • 142visualizaciones
    • 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 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
    • 147visualizaciones
    • 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
    • 193visualizaciones
    • 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
    • 114visualizaciones
    • 1comentario
    0
  • Víctor Alfonso Martínez Gómez
    Nivel 3
    Manizales
    Pregunta sobre la tarea Pets need people
    Sintaxis de Java, 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
    • 07.08.2021
    • 132visualizaciones
    • 0comentarios
    1
  • 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
    • 152visualizaciones
    • 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
    • 219visualizaciones
    • 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
    • 237visualizaciones
    • 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
    • 135visualizaciones
    • 3comentarios
    0
  • 1
  • 2
Aprender
  • Registro
  • Curso de Java
  • Ayuda con tareas
  • Precios
  • Proyectos de juegos
  • Sintaxis de Java
Comunidad
  • Usuarios
  • Artículos
  • Foro
  • Chat
  • Casos de éxito
  • Actividades
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
Los programadores no nacen, se hacen © 2022 CodeGym
Download App
  • Google Play
  • Huawei AppGallery
  • App Store
MastercardVisa
Los programadores no nacen, se hacen © 2022 CodeGym
This website uses cookies to provide you with personalized service. By using this website, you agree to our use of cookies. If you require more details, please read our Terms and Policy.