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
sourav bamotra
Level 20
jammu
Question about the task
Most frequent bytes
Java Core
,
Level 8
,
Lesson 3
Resolved
3rd and 4th requirement,
sorry about the format. I'm typing it from the phone keyboard only, so ignore the format ^_^ --> Code working fine on ide. But it's 3rd condition indicating me not to repeat displaying same bytes.
07.10.2020
451
views
8
comments
0
Onur Bal
Level 27
Istanbul
Question about the task
Iterating through a file tree
Java Collections
,
Level 1
,
Lesson 2
Archived
Condition 3 Passes While Others Fail
Can anyone tell me what's wrong with my code? Since the third condition ("The contents of every file that is 50 bytes or smaller must be sorted by file name and written to the allFilesContent.txt file.") passes, you would think the first and second condition must pass as well. As for the fourth cond
07.10.2020
547
views
6
comments
0
Antonio
Level 6
Milano
Question about the task
Jen or Jen?
Java Syntax
,
Level 4
,
Lesson 6
Resolved
Can anyone help pleaseee
package com.codegym.task.task04.task0421; /* Jen or Jen? */ import java.io.*; public class Solution { public static void main(String[] args) throws Exception { //write your code here BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); Strin
07.10.2020
738
views
1
comment
0
Lgd
Level 20
London
Question about the task
Encryption
Java Core
,
Level 8
,
Lesson 11
Resolved
the program appears to work as per requirements but wont pass the validation (again !!) . any insight please. many thanks
the program appears to work as per requirements but wont pass the validation (again !!) . any insight please. many thanks
06.10.2020
453
views
5
comments
0
hidden #10670184
Level 5
Question about the task
Implement the fight method
Java Syntax
,
Level 5
,
Lesson 5
Under discussion
What am I doing wrong here?
I use a counter to give points based on the stats. Why is it not working?
07.10.2020
582
views
1
comment
0
Ian De Bie
Level 28
Austin
Question about the task
Chicken factory
Java Core
,
Level 4
,
Lesson 6
Resolved
Can someone please help me?
I have gone through each and every item and condition to make sure I have implemented correctly, but it fails every test. I feel like there is some type of bug or something or maybe I am just blind. All I know is it passes all the tests I made in my IDE both getEggCount and getDescription works fl
07.10.2020
847
views
1
comment
0
Shadow
Level 7
Hogsmead
Question about the task
Max constructors
Java Syntax
,
Level 5
,
Lesson 9
Under discussion
helpp
The output is showing that the class is already defined.( explain me why):)
05.10.2020
665
views
1
comment
0
keely
Level 3
Toronto
Question about the task
Print three times
Java Syntax
,
Level 2
,
Lesson 8
Under discussion
help please
my last condition is not met and it is driving me mad
05.10.2020
469
views
4
comments
0
Yusuf
Level 3
Bradford
Question about the task
Repetition is the mother of all learning
Java Syntax
,
Level 2
,
Lesson 8
Under discussion
What have I done wrong
I tried it with a String it gave the same error.
04.10.2020
844
views
7
comments
0
Lgd
Level 20
London
Question about the task
Building a file
Java Core
,
Level 8
,
Lesson 11
Under discussion
Struggling to validate part3. It seems to work, only wont pass validation. Any insight welcome. tks
Struggling to validate part3. It seems to work, only wont pass validation. Any insight welcome. tks
06.10.2020
503
views
2
comments
0
pratyush prakash
Level 2
patna
Question about the task
Pay raise
Java Syntax
,
Level 2
,
Lesson 2
Under discussion
help
I'm not able to figure out the output comes sometimes task is yet not passed
29.07.2020
445
views
4
comments
0
Tamas Horcsak
Level 18
Leeds
Question about the task
One large array and two small ones
Java Syntax
,
Level 7
,
Lesson 4
Resolved
please give me a hint to the solution. the last requirement doesn't match
import java.util.*; /* One large array and two small ones */ public class Solution { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int[] numbers = new int[20]; for(int i = 0; i < numbers.length; i++) { numbers[i] =
06.10.2020
505
views
2
comments
2
Rich
Level 23
San Diego
Question about the task
Moon Lander (Part 23/23)
Games
,
Level 0
,
Lesson 4
Under discussion
done but not without bugs
task complete, but there is a bug that makes me crash after a few seconds. can someone help me debug?
04.10.2020
473
views
1
comment
0
Angel Stefan Arjoca
Level 26
Bucharest
Question about the task
Factorization using recursion
Java Collections
,
Level 4
,
Lesson 2
Resolved
Stuck on this one!
Any hint will be apreciated, tk you! 🙂
06.10.2020
386
views
2
comments
0
hidden #10502603
Level 2
Question about the task
Part of a calculator
Java Syntax
,
Level 2
,
Lesson 2
Under discussion
Could someone tell me where is my mistake thanks ?
public class Solution { public static void main(String[] args) {
28.11.2019
1178
views
3
comments
0
Lawson
Level 29
Lagos
Question about the task
Refactoring (part 9)
Java Multithreading
,
Level 5
,
Lesson 16
Resolved
Pls help
I'm pretty sure I created the size class
04.10.2020
513
views
1
comment
0
sourav bamotra
Level 20
jammu
Question about the task
Transactionality
Java Core
,
Level 7
,
Lesson 10
Under discussion
am i not reading it line by line ?
5 and 6th requirement not passing.
05.10.2020
470
views
6
comments
0
Lex Medeiros
Level 18
San Jose
Question about the task
Combining files
Java Core
,
Level 8
,
Lesson 11
Resolved
How can I indicate to the outputstream to start writing before the first character of file1
How can I indicate to the outputstream to start writing before the first character of file1?
22.08.2019
1344
views
3
comments
0
Anatoly
Level 17
Question about the task
Expressing ourselves more concisely
Java Syntax
,
Level 7
,
Lesson 6
Archived
Can't pass Validation
Working fine so far - but not validating :(
06.10.2020
447
views
1
comment
0
Chigozie
Level 11
Lagos
Question about the task
Minimum of four numbers
Java Syntax
,
Level 2
,
Lesson 8
Resolved
need help with my code
my code doesn't fulfill the second to the last requirement
21.06.2020
708
views
3
comments
0
Anonymous #10410173
Level 22
Delhi
Question about the task
Request parser
Java Core
,
Level 5
,
Lesson 12
Under discussion
Help Me Out.
i Am Stuck in 3rd condition , i can't debug any more , plz help me out.
05.10.2020
668
views
5
comments
0
Vitalina
Level 20
Question about the task
Positive and negative numbers
Java Syntax
,
Level 4
,
Lesson 7
Under discussion
What's wrong with my code?
What's wrong with my code?
04.10.2020
501
views
2
comments
0
Vitalina
Level 20
Question about the task
Describing numbers
Java Syntax
,
Level 4
,
Lesson 7
Archived
Please check my code
Hi! I think that everything has to work out in my code. But CodeGym doesn't think so...what's wrong? Thanks in advance:)
04.10.2020
401
views
4
comments
0
Maxine Hammett
Level 19
San Diego
Question about the task
Take your turn!
Java Core
,
Level 6
,
Lesson 13
Resolved
Cannot pass last task
I'm lost. My output display a, b, c new line a, b, c, d, e, f I played around with the join methods but still don't understand what i'm doing. Your help is appreciated.
28.09.2020
384
views
1
comment
0
Henrique
Level 41
São Paulo
Question about the task
A wise man thinks once before speaking twice
Java Multithreading
,
Level 6
,
Lesson 8
Under discussion
Why does it say that "'synchronized(this)' isn't suitable here", if we must use it to pass the task?
This code was verified, so what I didn't get? public int getSumOfVar1AndVar2() { synchronized (this) { return var1 + var2; } } public int getSumOfVar3AndVar4() { synchronized (Solution.class) { return var3 + var4; } }
06.08.2020
552
views
1
comment
0
catalinene
Level 29
Greven
Question about the task
Find a substring
Java Multithreading
,
Level 2
,
Lesson 5
Under discussion
Why doesn't this solution work?
I passed the task using the split() method, but the first solution I had also delivered the same output, but failed the test (code below): public static void main(String[] args) { System.out.println(getPartOfString("Amigo and Diego are best friends!")); } public static String getPa
19.03.2020
1104
views
1
comment
2
Valuev Nutt
Level 4
Chiba
Question about the task
Seasons on Terra
Java Syntax
,
Level 4
,
Lesson 4
Resolved
How do I get it to print more than just the first input
It just prints winter and then stops:(((
19.09.2020
535
views
4
comments
0
Berkay Gültekin
Level 22
Question about the task
Reading and writing to a file: CodeGym
Java Core
,
Level 10
,
Lesson 2
Resolved
Help!
Can someone explain me what is wrong ?
03.10.2020
377
views
4
comments
0
andy 6473
Level 9
Bangalore
Question about the task
R or L
Java Syntax
,
Level 7
,
Lesson 9
Resolved
can some one help me with what is wrong with the code .
jasfaSJbv;sdkjvb;szjbv;sdh pmlsifnvupm uzygpsihg;zs
07.07.2020
812
views
4
comments
0
Jan Elšík
Level 41
Prague
Question about the task
Different methods for different types
Java Core
,
Level 5
,
Lesson 12
Resolved
Where am I wrong?
Hi, first I thought that the problem was in not doing the try/catch on converting, but the validator will not accept even the double (I know that some try/catch blocks are missing) and it will not accept "exit". I know that I have some stupid mistake there regarding the understanding of the assign
02.10.2020
487
views
2
comments
0
Show more
1
...
127
128
129
130
131
...
371
Please enable JavaScript to continue using this application.