Promotion
CodeGym University
Learning
Course
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
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
1080
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
927
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
1376
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
1458
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
1791
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
814
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
852
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
2052
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
1205
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
3411
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
969
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
911
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
1316
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
1836
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
841
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
1271
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
1925
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
1286
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
1051
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
837
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
878
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
1475
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
851
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
963
views
2
comments
0
Sindhura
Level 15
Delhi
Question about the task
Static modifiers: part 2
Java Core
,
Level 5
,
Lesson 9
Under discussion
what is the issue with my code?seems correct to me but not verifying
package com.codegym.task.task15.task1515; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; /* Static modifiers: part 2 */ public class Solution { public static int A; public static int B; static{ try{ BufferedReader b=new Buff
20.10.2018
1404
views
7
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
1173
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
989
views
1
comment
0
hidden #10468516
Level 5
Question about the task
Positive and negative numbers
Java Syntax
,
Level 4
,
Lesson 7
Under discussion
help!!
i am not able to find whats wrong in my code
21.07.2019
1337
views
5
comments
0
SefoBe
Level 16
Paris
Question about the task
Sorting three numbers
Java Syntax
,
Level 4
,
Lesson 6
Under discussion
Why is that wrong ?
How can you explain it ?
21.08.2019
688
views
1
comment
0
hidden #10462592
Level 8
Question about the task
Let's put together a rectangle
Java Syntax
,
Level 5
,
Lesson 7
Under discussion
satisfied all conditions but...
what is this one line that reads " copy another rectangle" ?? what does it actually mean? I haven't written any method for copying of parameters but yet it passed. How to create a copy function?
17.08.2019
1359
views
2
comments
0
Show more
1
...
279
280
281
282
283
...
367
Please enable JavaScript to continue using this application.