Promotion
CodeGym University
Learning
Courses
Tasks
Surveys & Quizzes
Games
Help
Schedule
Community
Users
Forum
Chat
Articles
Success stories
Activity
Reviews
Subscriptions
Light theme
Help with tasks
Reviews
About us
Start
Start learning
Start learning now
All questions
Ask a question
All quests
All levels
Any status
Questions about tasks
Hot
Mykhailo Kuvshynov
Level 8
Dnipro
Question about the task
Implement the fight method
Java Syntax
,
Level 5
,
Lesson 5
Resolved
Help me please
can't find where is problem
23.08.2019
1647
views
3
comments
0
Mykola
Level 14
Toronto
Question about the task
Minimum of N numbers
Java Syntax
,
Level 8
,
Lesson 11
Resolved
Can't pass one verification
This step is throwing an error. "The getIntegerList() method should read the number N from the keyboard and then return a list of N elements, which has been filled with numbers read from the keyboard." Any suggestion what am I missing at this step. Thank you.
20.08.2019
1568
views
2
comments
0
Anusha Govindarajan
Level 7
Amsterdam
Question about the task
String array in reverse order
Java Syntax
,
Level 7
,
Lesson 4
Resolved
I seem to get the correct output but task requirements are not met.
public class Solution { public static void main(String[] args) throws Exception { //write your code here String[] arr = new String[10]; BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); //String s = reader.readLine(); for(int i
26.08.2019
1354
views
3
comments
0
Au Ivan
Level 17
Hong Kong
Question about the task
Sum of the digits of a three-digit number
Java Syntax
,
Level 3
,
Lesson 12
Resolved
The outcome is correct, but....
What is the problem? The output fits the answer, but why is the task not complete?
25.08.2019
1595
views
2
comments
0
Rama
Level 3
Ottawa
Question about the task
Pay raise
Java Syntax
,
Level 2
,
Lesson 2
Resolved
Syntax error help?
Please help where I made the error. unable to figure it out:
22.08.2019
1288
views
3
comments
0
Travis Cuevas
Level 3
Bedminster
Question about the task
Our first converter!
Java Syntax
,
Level 2
,
Lesson 2
Resolved
why
what am i doing wrong?
08.08.2019
1077
views
3
comments
0
Anusha Sallas
Level 2
Kalpetta
Question about the task
Our first converter!
Java Syntax
,
Level 2
,
Lesson 2
Resolved
What is wrong with with my code
Can u pls solve this
01.06.2019
1512
views
4
comments
0
hidden #10426395
Level 2
Question about the task
Our first converter!
Java Syntax
,
Level 2
,
Lesson 2
Resolved
Who can help guys?
Hey guys, I'm new to java and I don't know how to make this converter work. It looks complicated. Perhaps anybody can explain me how to do it?
23.02.2019
1658
views
3
comments
0
Prabhanjan Pandey
Level 2
pune
Question about the task
Minimum of three numbers
Java Syntax
,
Level 2
,
Lesson 8
Resolved
please tell the mistake in my code
package com.codegym.task.task02.task0216; /* Minimum of three numbers */ public class Solution { public static int min(int a, int b, int c) { int d; if(a<=b&&a<=c) d=a; else if(b<=a&&b<=c) d=b; else if(c<=a&&a
13.08.2018
1986
views
6
comments
0
Marcin
Level 8
Warsaw
Question about the task
Longest string
Java Syntax
,
Level 7
,
Lesson 6
Archived
Requirements are met but won't verify
The code is working, but I can't verify the task. What's wrong?
16.08.2019
967
views
1
comment
0
jorge ives murillo paredes
Level 40
New York City
Question about the task
Longest string
Java Syntax
,
Level 7
,
Lesson 6
Archived
What is wrong ?
public static void main(String[] args) throws Exception { //write your code here BufferedReader reader = new BufferedReader ( new InputStreamReader ( System.in ) ); for (int a = 0;a < 5;a++) { strings.add ( reader.readLine () ); } int max = st
21.08.2019
975
views
1
comment
0
Mukesh Vudayagiri
Level 10
Ferokh
Question about the task
Cat code won't compile
Java Syntax
,
Level 7
,
Lesson 12
Under discussion
What's wrong?
The compiler is showing: java.lang.NumberFormatException: Solution.java, method main, line: 21. what is wrong here? Also please explain my other mistakes. Thanks.
09.09.2018
2197
views
16
comments
0
Matjes
Level 12
Prague
Question about the task
String array in reverse order
Java Syntax
,
Level 7
,
Lesson 4
Resolved
Cannot pass the last condition
Hi Guys, Can you please help me? I am missing the last condition and don't know how to go further. This is what I get as output when entering numbers from 1 to 8 as input: 1 2 3 4 5 6 7 8 null null 8 7 6 5 4 3 2 1 Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: -1 at com.c
27.08.2019
1380
views
3
comments
0
ddi
Level 18
Dortmund
Question about the task
Sorting even numbers from a file
Java Core
,
Level 3
,
Lesson 11
Archived
unreported exception java.io.IOException; must be caught or declared to be thrown String filename = reader.readLine(); HELP!
I am receiving this failure: unreported exception java.io.IOException; must be caught or declared to be thrown String filename = reader.readLine(); And i don´t understand where the problems is... Can someone help me?
26.08.2019
3749
views
6
comments
0
Avinash Rana
Level 7
Kolkata
Question about the task
Expressing ourselves more concisely
Java Syntax
,
Level 7
,
Lesson 6
Archived
Whats the problem?
As per me everything is correct.
26.08.2019
1149
views
2
comments
0
Jay
Level 17
Washington
Question about the task
Chicken factory
Java Core
,
Level 4
,
Lesson 6
Under discussion
Creating separate file
Maybe I'm missing the obvious, but how do I create and save the classes into separate files on the CodeGym website?
17.08.2019
1061
views
1
comment
0
Pawan Harde
Level 4
Mumbai
Question about the task
Minimum of three numbers
Java Syntax
,
Level 2
,
Lesson 8
Under discussion
last condition not fullfilled
idk how..../////////
21.09.2018
1502
views
7
comments
1
Sabine Meijran-Prins
Level 7
Enschede
Question about the task
Static cats
Java Syntax
,
Level 6
,
Lesson 11
Archived
How do you place every arraylist item on a new line?
I am on this task for hours. I really do not know how print the Arraylist items on a new line.
13.02.2019
2160
views
8
comments
0
Avinash Rana
Level 7
Kolkata
Question about the task
Longest string
Java Syntax
,
Level 7
,
Lesson 6
Archived
As per conditions my program follows but why its giving error?
What to do?
26.08.2019
1007
views
2
comments
0
Online Learner
Level 6
Question about the task
Positive number
Java Syntax
,
Level 4
,
Lesson 7
Under discussion
heya can you solve this ??
my code is
29.06.2019
1577
views
7
comments
0
// Java Poser
Level 18
Cincinnati
Question about the task
Going national
Java Syntax
,
Level 8
,
Lesson 11
Archived
Please someone help
Been stuck here for an hour. I meet all conditions but CodeGym won't let me verify. please, any input will be much appreciated
21.03.2019
2154
views
3
comments
0
Agalaivan
Level 8
Chennai
Question about the task
Longest sequence
Java Syntax
,
Level 8
,
Lesson 6
Under discussion
why wrong
package com.codegym.task.task08.task0812; import java.io.*; import java.util.ArrayList; import java.util.Collections; /* Longest sequence */ public class Solution { public static void main(String[] args) throws IOException { BufferedReader reader = new BufferedReader(new InputStreamR
20.07.2019
1476
views
2
comments
0
RS
Level 13
Question about the task
Longest sequence
Java Syntax
,
Level 8
,
Lesson 6
Under discussion
Can't figure it out.
Can anyone take a look at my solution?
14.07.2019
1259
views
2
comments
0
Muhsin Ak
Level 10
Thiruvananthapuram
Question about the task
Longest sequence
Java Syntax
,
Level 8
,
Lesson 6
Under discussion
whats wrong?i got the output correctly.
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 ArrayList numbers = new ArrayList(); Scanner sc = new Scan
28.07.2019
1026
views
1
comment
0
SefoBe
Level 16
Paris
Question about the task
Longest sequence
Java Syntax
,
Level 8
,
Lesson 6
Under discussion
Output is okay but failed
What's wrong with it ?
13.08.2019
1027
views
4
comments
1
Angeget
Level 22
Potsdam
Question about the task
Finding data inside a file
Java Core
,
Level 8
,
Lesson 11
Resolved
I tried everything - and now i a relly tired on this task - could any one help me to find what is wrong? Please and please
I tried everything - and now i a relly tired on this task - could any one help me to find what is wrong? Please and please
25.02.2019
1633
views
7
comments
2
Carlos Cortázar
Level 17
Madrid
Question about the task
Crossing the road blindly
Java Syntax
,
Level 4
,
Lesson 4
Under discussion
the program does not verify my solution
I check my solution and it runs well in all the cases, but when i press 'verify' the program fails. Why?
24.08.2019
1012
views
4
comments
0
Bartek J.
Level 13
Zielona Góra
Question about the task
Console-based piggy bank
Java Syntax
,
Level 5
,
Lesson 12
Resolved
Problem with adding
My code adds only adds every second input. Does anybody know why?
20.08.2019
1110
views
2
comments
0
Jesús de Llera
Level 23
Badajoz
Question about the task
Introducing tags
Java Core
,
Level 9
,
Lesson 11
Under discussion
Confused with Example output
Produces this result: But I don't get where the second 'Leela Turanga' line is coming from. Shouldn't the output consist of just 3 lines? Without the highlighted line in red??
03.07.2019
1391
views
3
comments
1
Teemu-Petteri Remes
Level 16
Oulu
Question about the task
Task about algorithms
Java Syntax
,
Level 5
,
Lesson 12
Archived
Last condition not meet? What is wrong?
I take N and made sure it cant be negative, don't understand what is wrong?
24.08.2019
1118
views
1
comment
0
Show more
1
...
284
285
286
287
288
...
372
Please enable JavaScript to continue using this application.