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
Java 25
All quests
All levels
Any status
Questions about tasks
Hot
jorge ives murillo paredes
Level 40
New York City
Question about the task
Reading and writing to a file: CodeGym
Java Core
,
Level 10
,
Lesson 2
Under discussion
Can somebody help me whit the exeptions
package com.codegym.task.task20.task2002; import java.io.*; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Date; import java.util.List; /* Reading and writing to a file: CodeGym */ public class Solution { public static void main(String[]
11/2/19
1498
views
1
comment
0
Facundo Villarroel
Level 20
Berlin
Question about the task
Five winners
Java Syntax
,
Level 8
,
Lesson 11
Resolved
Two methods validation not passing...
I'm starting to get a little tired of the stupid validations not passing. From where this thing is taking that the Solution class doesn't have two methods?
10/19/19
1108
views
2
comments
0
Facundo Villarroel
Level 20
Berlin
Question about the task
Let's make the code do something useful!
Java Syntax
,
Level 9
,
Lesson 11
Resolved
Like for everyone, failing on third requirement
Testing my code, it works. Unless I'm not undestanding the task as they meant it, then it should pass. 1. Catch the exception if file doesn't exist 2. Read the source file again 3. Read destination file Its dumb to catch the exception the first time you read it and not the second one, but that is wh
10/23/19
1377
views
3
comments
0
Anthony Chalk
Level 30
London
Question about the task
Kind Emma and the summer holidays
Java Syntax
,
Level 8
,
Lesson 8
Resolved
Please help
So unsure what I'm supposed to do
11/3/19
1693
views
1
comment
0
Cristian
Level 16
Bucharest
Question about the task
Longest string
Java Syntax
,
Level 7
,
Lesson 6
Archived
What is wrong with my code? The last two requirements are not satisfied. Thanks a lot.
package com.codegym.task.task07.task0708; //import java.io.BufferedReader; //import java.io.InputStreamReader; import java.util.ArrayList; import java.util.List; import java.util.Scanner; /* Longest string */ public class Solution { private static List strings = new ArrayList();; privat
11/1/19
1330
views
5
comments
0
resperaptor
Level 2
Yekaterinburg
Question about the task
Family relations
Java Syntax
,
Level 2
,
Lesson 2
Resolved
Whats wrong?
Man Man = new Man(); Woman Woman = new Woman();
4/17/19
2406
views
5
comments
3
Cheikh
Level 7
Dakar
Question about the task
Cat and statics
Java Syntax
,
Level 6
,
Lesson 11
Under discussion
Don't get where the problem is !
Despite all my attempts, it looks like there's something I don't see. Can someone guide me please?
11/2/19
1372
views
2
comments
0
Clarendon lee
Level 8
Baltimore
Question about the task
The whole duck isn't enough
Java Syntax
,
Level 5
,
Lesson 12
Resolved
Task requirements are not met
What's wrong? Verify say "Task requirements are not met" Thanks a lot!
10/31/19
1439
views
2
comments
0
hidden #10549694
Level 3
Under discussion
How can I contiunue learning
I'm actually at level 3, lesson 1, with IntelliJ installed and I tried to solve the task in that lesson - but when I'm trying to verify my code (in a browser), the buttons just goes grey and nothing happens. Moreover, lesson 2 of this level, where I installed the CodeGym plug-in - there are only tas
11/1/19
1509
views
4
comments
0
Станислав Владимирович
Level 4
Donduseni
Question about the task
More conversions
Java Syntax
,
Level 3
,
Lesson 8
Under discussion
Help guys
Hello guys, My program works properly, whenever i put any number i want in my program, it gives me correct answer, but last condition it's not correct, can you help me with that?
5/17/19
1587
views
6
comments
0
gery
Level 9
Islamabad
Question about the task
More conversions
Java Syntax
,
Level 3
,
Lesson 8
Under discussion
identify correction
import java.io.InputStreamReader; import java.io.BufferedReader; public class Solution { public static void main(String[] args) throws Exception { BufferedReader bf = new BufferedReader(new InputStreamReader(System.in)); String s = bf.readLine(); int ss = Integ
9/13/18
1560
views
7
comments
0
Mack
Level 20
Osiedle-Nowiny
Question about the task
CRUD
Java Core
,
Level 7
,
Lesson 10
Resolved
Where is mistake?
Help, please
12/7/18
2031
views
6
comments
2
Ankush Rajput
Level 25
Bhopal
Question about the task
Snake (part 17)
Java Multithreading
,
Level 2
,
Lesson 18
Resolved
Another validation glitch ?
Couldn't find what I am doing wrong. All requirements pass except - "If the snake is still alive, then we need to add a head and remove the last element from the snake's tail." which I am clearly doing. public void move(int x, int y){ SnakeSection new_section = new SnakeSection(getX()+x,ge
4/9/19
1502
views
3
comments
3
Jason
Level 26
Rancho Cucamonga
Question about the task
Transactionality
Java Core
,
Level 7
,
Lesson 10
Resolved
I need some outside input. I can't figure out what is going wrong.
I have been messing with this for what feels like ages now please please tell me there is still hope
10/3/19
1419
views
3
comments
2
Boris Penchev
Level 8
Sofia
Question about the task
Longest string
Java Syntax
,
Level 7
,
Lesson 6
Archived
Why my code no was verify? Pls. help me. Thank you.
This is my code and it doesn`t work. public class Solution { private static List strings; public static void main(String[] args) throws Exception { int max = 0; strings = new ArrayList(); BufferedReader z = new BufferedReader(new InputStreamReader(System.in));
11/1/19
1360
views
1
comment
0
Radames Sanchez
Level 5
Las Vegas
Under discussion
Can somebody explain me what is wrong with my code? It does not compile because it takes the && as the part of a boolean (?)
package com.codegym.task.task04.task0411; /* Seasons on Terra */ public class Solution { public static void main(String[] args) { checkSeason(12); checkSeason(4); checkSeason(7); checkSeason(10); } public static void checkSeason(int month) {
10/26/19
1118
views
3
comments
0
Radames Sanchez
Level 5
Las Vegas
Question about the task
Do we have a pair?
Java Syntax
,
Level 4
,
Lesson 4
Under discussion
Any suggestions?
I really can't figure out why the requirements are not met
11/1/19
1258
views
2
comments
0
Abhirami
Level 17
Bangalore
Question about the task
Longest sequence
Java Syntax
,
Level 8
,
Lesson 6
Under discussion
Failed to pass the last requirement!
Is there anything wrong in my logic? please help.
11/1/19
1050
views
1
comment
0
Cristian
Level 16
Bucharest
Question about the task
Expressing ourselves more concisely
Java Syntax
,
Level 7
,
Lesson 6
Archived
I don't know how to code the last requirement. Thanks a lot!
package com.codegym.task.task07.task0709; import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.Scanner; /* Expressing ourselves more concisely */ public class Solution { public static void main(String[] args) throws Exception {
10/31/19
1307
views
4
comments
0
Jimmy Phan
Level 7
Atlanta
Question about the task
Somehow average
Java Syntax
,
Level 4
,
Lesson 16
Under discussion
All conditions are met?
All conditions that are given to me are correct. Am I missing something? Thanks in advance!
10/28/19
1463
views
7
comments
0
Au Ivan
Level 17
Hong Kong
Question about the task
Task about algorithms
Java Syntax
,
Level 9
,
Lesson 11
Resolved
it should be working, but...
java.lang.NullPointerException at com.codegym.task.task09.task0930.Solution.main(Solution.java:18) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(De
9/27/19
1464
views
2
comments
2
Cristian
Level 16
Bucharest
Question about the task
What sort of list is that?
Java Syntax
,
Level 7
,
Lesson 6
Under discussion
A have a problem with the last requirement. Why? Thanks a lot.
package com.codegym.task.task07.task0707; import java.util.ArrayList; /* What sort of list is that? */ public class Solution { public static void main(String[] args) throws Exception { //write your code here ArrayList list = new ArrayList(); list.add("s1"); l
10/31/19
1542
views
4
comments
0
Serg
Level 23
Tyumen
Question about the task
The whole duck isn't enough
Java Syntax
,
Level 5
,
Lesson 12
Resolved
implementation of the toString method for the Dog class
Strange mistake! Why not like the implementation of the toString method for the class Dog package com.codegym.task.task05.task0525; public class Solution { public static void main(String[] args) { Duck duck1 = new Duck(); Duck duck2 = new Duck(); System.out.println(d
5/14/19
1801
views
2
comments
1
kalyan
Level 7
hyderabad
Question about the task
Snake (Part 6/20)
Games
,
Level 0
,
Lesson 1
Under discussion
Please somebody help me out with this..
Two of the requirements are not getting satisfied. Can anyone please tell me where I made the mistake?
10/21/19
1858
views
2
comments
0
Avi
Level 0
Question about the task
Minesweeper (Part 1/16)
Games
,
Level 0
,
Lesson 0
Under discussion
what is the problem with my code?
I don't know why it doesn't work
8/11/19
1540
views
1
comment
0
Denis
Level 22
Kharkiv
Question about the task
AmigoOutputStream
Java Core
,
Level 8
,
Lesson 8
Under discussion
I tired. Help me pls with this
Give me a solution pls
6/28/19
1332
views
1
comment
0
Tadas
Level 4
Terneuzen
Question about the task
Minimum of three numbers
Java Syntax
,
Level 2
,
Lesson 8
Resolved
Hi guys, answer looks like is correct but still something not good
*/
10/31/19
1188
views
2
comments
0
Tadas
Level 4
Terneuzen
Question about the task
Minimum of four numbers
Java Syntax
,
Level 2
,
Lesson 8
Resolved
Can somebody look at my code?
How I supposed to call min a, b function??
10/31/19
1269
views
2
comments
0
Anita Pal
Level 14
Question about the task
Greater than 10? You're not a good fit for us
Java Syntax
,
Level 8
,
Lesson 8
Under discussion
what is wrong in my code
package com.codegym.task.task08.task0814; import java.util.HashSet; import java.util.Set; /* Greater than 10? You're not a good fit for us */ public class Solution { public static HashSet createSet() { HashSet set = new HashSet<>(); for(int i = 1;i<=20;i++){
10/30/19
1089
views
2
comments
0
Olek
Level 41
Amsterdam
Question about the task
Longest string
Java Syntax
,
Level 7
,
Lesson 6
Archived
conditions 3 and 4 fail
Hi all, Can you help to understand why it fails on conditions 3 and 4? On the test input it produces the correct output. Input: grandfather grandmother daughter program car Output: grandfather grandmother
10/30/19
1366
views
1
comment
0
Show more
1
...
265
266
267
268
269
...
374
Please enable JavaScript to continue using this application.