AI Academy
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
Ricardo
Nivel 10
Pregunta sobre la tarea
Going national
Java Syntax
,
Nivel 8
,
Lección 11
Resuelto
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/8/21
898
vistas
6
comentarios
0
Sergio #10768905
Nivel 7
Pregunta sobre la tarea
Implement the fight method
Java Syntax
,
Nivel 5
,
Lección 5
Resuelto
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/8/21
733
vistas
1
comentario
0
Michael
Nivel 10
Pregunta sobre la tarea
Static cats
Java Syntax
,
Nivel 6
,
Lección 11
Resuelto
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/8/21
686
vistas
1
comentario
0
Ricardo
Nivel 10
Pregunta sobre la tarea
Shuffled just in time
Java Syntax
,
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
8/8/21
843
vistas
6
comentarios
0
Takris
Nivel 2
Pregunta sobre la tarea
CodeGym: apréndelo una vez y úsalo en cualquier lugar
Java Syntax
,
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
5/4/21
642
vistas
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/8/21
602
vistas
1
comentario
0
Michael
Nivel 10
Pregunta sobre la tarea
Crossing the road blindly
Java Syntax
,
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?
4/8/21
636
vistas
3
comentarios
0
Robbindick Sandoval
Nivel 4
Cali
Pregunta sobre la tarea
Minimum of three numbers
Java Syntax
,
Nivel 2
,
Lección 8
Resuelto
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/7/21
1055
vistas
6
comentarios
0
Paloma
Nivel 2
Germany
Pregunta sobre la tarea
Implement the print method
Java Syntax
,
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/6/21
1074
vistas
7
comentarios
0
Anonymous #10752052
Nivel 5
Pregunta sobre la tarea
Number of days in the year
Java Syntax
,
Nivel 4
,
Lección 4
Resuelto
Please help!
I do not understand why the division "/" does not work.
30/6/21
585
vistas
3
comentarios
0
Diego Hernán Graciano Puerta
Nivel 1
Medellín
Pregunta sobre la tarea
Tan fácil como sumar 2 + 2
Java Syntax
,
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
2/6/21
825
vistas
5
comentarios
0
Gabriel Pozos
Nivel 1
Cdmx
Pregunta sobre la tarea
CodeGym: apréndelo una vez y úsalo en cualquier lugar
Java Syntax
,
Nivel 1
,
Lección 4
En discusión
Solución
Hay alguna otra solución además de poner System.out.println 10 veces?
5/4/20
1286
vistas
2
comentarios
0
1
2
3
4
5
Please enable JavaScript to continue using this application.