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
Hansha
Level 7
Question about the task
Triangle
Java Syntax
,
Level 3
,
Lesson 3
Under discussion
Error when verifying
When I press verifiy it just says UNKNOWN-ERROR. Help package en.codegym.task.pro.task03.task0306; import java.util.Scanner; /* Triangle */ public class Solution { private static final String TRIANGLE_EXISTS = "It's a triangle"; private static final String TRIANGLE_DOES_NOT_EXIST = "I
11.06.2023
495
views
3
comments
0
FelixUjo
Level 35
Gijón
Question about the task
Exception when working with numbers
Java Syntax
,
Level 15
,
Lesson 6
Under discussion
I don't know what they want me to do.
I don't know what they want me to do.
12.08.2023
184
views
1
comment
0
FelixUjo
Level 35
Gijón
Question about the task
Catching checked exceptions
Java Syntax
,
Level 15
,
Lesson 8
Resolved
I think I have tried all the options
I think I have tried all the options.
13.08.2023
303
views
2
comments
0
Harshit Garg
Level 23
Chandigarh
New
bitwise shift
why are there 2 zeros in left rather than just one? pls tell. 0b00000011 << 20 0b001100000000000000000000
13.08.2023
163
views
0
comments
0
Павел Артеменко
Level 41
Krasnodar
Question about the task
2048 (part 6)
Java Multithreading
,
Level 10
,
Lesson 15
Resolved
Bugged?
Consolidate and Merge - it's movement to the left, if on any row they succeeded, then there was a movement and we need to add new tile. Or am I wrong somewhere?
28.05.2019
1619
views
4
comments
0
Amantai
Level 47
Shymkent
Question about the task
Make a word chain
Java Multithreading
,
Level 2
,
Lesson 9
Resolved
What's not to like about CG?
Contents of input file: Okinawa Denver RioDeJaneiro Washington Auckland Kalamazoo Norfolk Console output: Washington Norfolk Kalamazoo Okinawa Auckland Denver RioDeJaneiro
09.08.2023
229
views
4
comments
0
Toms Stašulāns
Level 24
Question about the task
Minimum or maximum
Java Syntax
,
Level 13
,
Lesson 2
Under discussion
Why is this not accepted?
Why is this not accepted?
09.08.2023
224
views
3
comments
0
Niladri pradhan
Level 33
Mumbai
Question about the task
Derive a specific number
Java Multithreading
,
Level 10
,
Lesson 8
Under discussion
I have solved it but wants to improve my solution .
If have any suggestion please recommend. Here is my solution as codegym is not allowing to attach my solution public void createExpression(int number) { String num = convertToTerinanry(number); String perNum = convertToPrefectTerninary(num); String result = String.valueOf(
22.01.2020
979
views
2
comments
0
Reyaz Ahmad Bhat
Level 4
Anantnag Jammu And Kashmir
Question about the task
Let's compare strings
Java Syntax
,
Level 3
,
Lesson 9
Under discussion
Solution
public class Solution { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String a = sc.nextLine(); String b = sc.nextLine(); if(a.equals(b) == true) { System.out.println("The strings are the same"); } else{
28.02.2023
270
views
2
comments
0
Harshit Garg
Level 23
Chandigarh
Question about the task
Remove duplicate strings
Java Syntax
,
Level 6
,
Lesson 4
Resolved
pls help
The program runs correctly with the correct output. Cant find any mistakes.. The solution given is: but mine is similar package en.codegym.task.pro.task05.task0508; import java.util.Scanner; /* Remove duplicate strings */ public class Solution { public static String[] strings; public st
07.08.2023
467
views
4
comments
0
Amantai
Level 47
Shymkent
Question about the task
Build a WHERE query
Java Multithreading
,
Level 2
,
Lesson 9
Resolved
Please, tell me where I misunderstand the condition of this task?
Here are 4 inputs along with their results: Option 1: {country=United States, city=Los Angeles, name=Johnson, age=33} name = 'Johnson' and country = 'United States' and city = 'Los Angeles' and age = '33' Option 2: {country=United States, city=Los Angeles, name=null, age=33} country = 'United State
07.08.2023
259
views
3
comments
0
Amantai
Level 47
Shymkent
Question about the task
Inverted words
Java Multithreading
,
Level 2
,
Lesson 9
Resolved
Help is needed
File contents: rat tar tart a a tot tot tot level code is CodeGym si level Console output: rat tar a a tot tot level level is si What I did wrong?
06.08.2023
219
views
5
comments
0
Harshit Garg
Level 23
Chandigarh
Question about the task
Remove duplicate strings
Java Syntax
,
Level 6
,
Lesson 4
Resolved
There is no mistake!
program runs fine, but on verifying, the last requirement is a red cross. pls reply even if you have simplest idea why this is happening..
06.08.2023
210
views
3
comments
0
priyantha s
Level 8
Question about the task
Combining arrays
Java Syntax
,
Level 6
,
Lesson 2
Under discussion
i write this code and it worked but it say its wrong
resultArray = new int[firstArray.length + secondArray.length]; int y =10; for (int i = 0; i < firstArray.length; i++){ resultArray[i] =firstArray[i]; } for (int i = 0; i < secondArray.length; i++){
20.11.2022
491
views
3
comments
1
Angel Stefan
Level 23
Sibiu
Question about the task
Iterating through a file tree
Java Collections
,
Level 1
,
Lesson 2
Resolved
I am stuck!
I can't pass the condition no 3 because i don't include files from subdirectorys. Any hint? Tk you!
16.03.2022
700
views
5
comments
0
PeterC
Level 28
France
Question about the task
Is anyone there?
Java Syntax
,
Level 6
,
Lesson 8
Resolved
What am I doing wrong?
It's a simple task and my solution works fine in the IDE.
25.09.2021
737
views
8
comments
0
🤥匹诺曹
Level 8
Jinan
Question about the task
Combining arrays
Java Syntax
,
Level 6
,
Lesson 2
Under discussion
what is Implement the main(String[]) method in accordance with the task conditions. mean?
jesus, where goes wrong in my code? please help
18.09.2022
444
views
1
comment
2
FelixUjo
Level 35
Gijón
Question about the task
Remove all people born in the summer
Java Syntax
,
Level 14
,
Lesson 7
Under discussion
Problem with the summer months
I dn't know if in California the summer months are different.
05.08.2023
218
views
2
comments
0
Andrew
Level 29
Seattle
Question about the task
I LOVE CodeGym!
Java Multithreading
,
Level 2
,
Lesson 7
Under discussion
Bugged or wrong?
Tried with %s for the last argument too. And tried %n at the end just to make sure. Output: "I LOVE CodeGym!"
05.04.2019
1772
views
11
comments
1
Harshit Garg
Level 23
Chandigarh
Question about the task
Three numbers
Java Syntax
,
Level 3
,
Lesson 5
Resolved
I think my output is correct...
Then why is it saying
02.08.2023
364
views
5
comments
0
Harshit Garg
Level 23
Chandigarh
Question about the task
Let's take your temperature
Java Syntax
,
Level 3
,
Lesson 5
Resolved
What is to be done?
how to do without if? ternary?
02.08.2023
222
views
2
comments
0
Amantai
Level 47
Shymkent
Question about the task
Calculating salaries
Java Core
,
Level 9
,
Lesson 11
Resolved
Now where is the mistake?
File contents: Brown 1.44 Baxter 2.75 Peterson 2 Brown 3.14 Smith 6.6 Baxter 1.35 Peterson 3.1 Brown 2.02 Console output: Baxter 4.1 Peterson 5.1 Brown 6.6 Smith 6.6
19.07.2023
207
views
2
comments
0
DEEMA
Level 3
Under discussion
Hi guys
I need your help Because I am on stuck in level 3 lesson 3 and 4 I don’t understand anything I need videos or anything please 🙏
30.07.2023
209
views
4
comments
0
Amantai
Level 47
Shymkent
Question about the task
Equals and HashCode
Java Multithreading
,
Level 1
,
Lesson 5
Resolved
Need advice
It seems to me that the expressions if (obj == null || getClass() != obj.getClass()) return false; and if (!(obj instanceof Solution)) return false; are equivalent. Is not it?
01.08.2023
492
views
4
comments
0
DEEMA
Level 3
Under discussion
I need help
Hi guys How ca I stop my subscription? Because I can’t learn these days and I don’t want my subscription finishe without learn Please answer me
29.07.2023
199
views
3
comments
0
Jan Václavík
Level 3
Under discussion
More about variable scopes
Hey guys, So... I'm stuck on the lesson 4 in level 3. I've read the thing like 20 times over and I still feel like I don't fully understand it. I mean... I feel like I don't even fully understand the structure of Java (Class, object, variables, methods) - is is like a ladder? After that - the
03.07.2023
194
views
1
comment
0
Anonymous #11313020
Level 1
Under discussion
how to draw flag
what is method
12.03.2023
285
views
1
comment
0
hidden #11364598
Level 5
Under discussion
Implementation achievements
Hi all! I saw some implementation achievements on the list, but I can't fint the actual tasks themselves. Could anyone point their direction? I'm on the mobile app
30.07.2023
189
views
1
comment
0
Prachi Jadhav
Level 6
CodeGym University in India
Question about the task
Count the number of cats
Java Syntax
,
Level 3
,
Lesson 5
Under discussion
Not able to understand this type of questions
not able to understand the this kind of questions so much confusing it . totally lost it
20.07.2023
303
views
4
comments
0
Guadalupe Gagnon
Level 37
Tampa
Question about the task
Restaurant (part 17)
Java Multithreading
,
Level 9
,
Lesson 15
Resolved
Second condition is not verifying
The task conditions are not really spelled out that well. The first problem is that the task calls for the outputs to be alphabetized, however the example outputs are not. I implemented the second condition exactly as asked, and passed the first one (which is nearly the same). Right now I have all t
24.05.2019
1494
views
2
comments
0
Show more
1
...
19
20
21
22
23
...
372
Please enable JavaScript to continue using this application.