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
Muhammad Umar
Level 1
-
Question about the task
I think being a programmer is cool
Java Syntax
,
Level 1
,
Lesson 2
Under discussion
i didn't understand how to code
11.09.2024
68
views
5
comments
0
Kingpvz
Level 14
Question about the task
Generics and students
Java Syntax
,
Level 13
,
Lesson 7
Under discussion
I have no idea
I even check the correct code and it appears mine is literally the same thing. What's wrong?
29.11.2024
26
views
2
comments
0
Chris Hilborne
Level 26
Sanlucar de Barrameda
Question about the task
This age doesn't work for me…
Java Syntax
,
Level 4
,
Lesson 1
Under discussion
hint for everyone who is struggling
Hi guys, in the adjustAge method you need to think about what type of variable you are working with: if it's a static variable, I.e. it belongs to the CLASS of person - then it should be declared as static if it's an instance variable, i.e. it only belongs to this instance of the person class (t
16.02.2020
1558
views
5
comments
9
nickyy
Level 18
Diou
Question about the task
Creating threads recursively
Java Core
,
Level 6
,
Lesson 13
Under discussion
I got smth wrong?
I d'ont understand it it seems to me that the output is correct, the checks are in place and I use the run method as a recursive threag generator. I am not very clear on what I am missing here. Could you give a hand? :)
11.09.2020
687
views
4
comments
0
tanaka
Level 6
Tokyo
Question about the task
Chess board
Java Syntax
,
Level 6
,
Lesson 5
Under discussion
I can NOT complete the fourth "Requirements".
I can't complete the fourth "Requirements". I don't know what I'm doing wrong. If you enter an even number, it will be displayed as follows: 6 # # # # # # # # # # # # # # # # # # Odd number: 5 # # # # # # # # # # # # # Could you help me identify what's causing this?
23.11.2024
37
views
3
comments
0
Java coffee
Level 5
Question about the task
Working with elements of an array
Java Syntax
,
Level 5
,
Lesson 0
Under discussion
Are the values in the array changed?
Are the values in this array changed when the sign is changed? I believe once you declare an array, you can't change the values in it.
20.11.2024
42
views
3
comments
0
Java coffee
Level 5
Under discussion
Mantissa- why is the first digit not included?
I'll put the link to the page and the issue I'm querying right here as the system won't let me put the link in the first field. Link : https://codegym.cc/quests/lectures/en.questsyntaxpro.level04.lecture07 (Number 3). My question is not re: a task but the theory part of this lesson (specifically nu
19.11.2024
21
views
2
comments
0
Travis McKinstry
Level 9
United States of America
Question about the task
Interval
Java Syntax
,
Level 3
,
Lesson 7
Resolved
This code is correct, yet it fails. Why?
Why does the following solution not work? if(a < 100 && a > 50) { System.out.println("The number " + a + " is in the interval."); } else { System.out.println("The number " + a + " is not in the interval."); }
04.11.2021
597
views
7
comments
0
Augusto Ghio
Level 4
Question about the task
Drawing a triangle
Java Syntax
,
Level 4
,
Lesson 7
Under discussion
code is ok, but compilier goes nuts
int n=8 ; int m=1 ; int s=1 ; for(int i=1; i<11; i++){ System.out.println(n*s) ; m=m*10 ; s=s+m ; } output goes well until the last loop, where it goes something like 23564365 for no reason
18.11.2024
14
views
1
comment
0
A Man
Level 2
-
Question about the task
My young friend
Java Syntax
,
Level 1
,
Lesson 4
Under discussion
Should we stick to procedure?
I think it doesn't matter if you know how to do it the complex way... for instance public class Solution { public static void main(String[] args) { int x = 3126 int y = 8 int z = (x-y) System.out.println("My Friend's Birth Year: " + z); } } I think the app
05.11.2024
41
views
1
comment
0
Evgeniia Shabaeva
Level 31
Budapest
Question about the task
Number algorithms
Java Core
,
Level 10
,
Lesson 10
Under discussion
Don't I return the expected array of numbers?
I have quite a story with this task. First, none of the requirements was met, even though the output was as expected. Then I changed the Math.pow(...) method for my own digitToThePower(long a, long b) to save time and space in memory (as I understood from the help section that might be the problem).
14.11.2024
41
views
4
comments
0
Jo88
Level 4
Boston
Question about the task
Currency exchange
Java Syntax
,
Level 3
,
Lesson 3
Under discussion
Over thinking ever single exercise
Will the exercises become second nature after more practice? will this website give me an opportunity for more practice? it seems I need help on every problem...only to find out these should be taking 2 minutes with simple short solutions.. I often find myself seeing the solutions to my problems an
03.06.2020
759
views
6
comments
3
ewhwj
Level 1
Under discussion
even if you want mokop!
edge {} app sera (8) email/[1/8) { {. } {. samera _. _. ™ {
31.10.2024
24
views
1
comment
0
A Man
Level 2
-
Question about the task
No comments needed
Java Syntax
,
Level 1
,
Lesson 7
Under discussion
Logic?
Wow! Lots of questions on how to solve this. It requires logic. Your x and y changes as you apply the math and adhere to the task conditions. Now, sometimes you need to take things one at a time. int x = 2; //This clearly tells you the variable x is 2 int y = 12; //This also tells you the va
05.11.2024
24
views
0
comments
0
ewhwj
Level 1
Under discussion
dnsna an sode!
samera(__6__) SERA app SGrla8 { { { { {.exe/sons-in-law((the best//
31.10.2024
24
views
0
comments
0
Kingpvz
Level 14
Question about the task
Buy 10 loaves of bread
Java Syntax
,
Level 11
,
Lesson 6
Under discussion
My code works but it's still wrong
i mean what
14.11.2024
14
views
1
comment
0
Dinesh
Level 7
Delhi
Question about the task
Minimum of two numbers
Java Syntax
,
Level 2
,
Lesson 8
Under discussion
whats wrong with my if else condition?
package com.codegym.task.task02.task0214; /* Minimum of two numbers */ public class Solution { public static int min(int a, int b) { //write your code here int minimum; if (a < b) { minimum=a; else minimum=b; }return
29.02.2020
1308
views
12
comments
0
Evgeniia Shabaeva
Level 31
Budapest
Question about the task
Reading and writing to a file: CodeGym
Java Core
,
Level 10
,
Lesson 2
Resolved
Why is my "users" list still empty after all I've done?
It's probably time to ask for help. Below is the code I've written. I keep getting the 2nd requirement wrong, and the tip from the validator is, "Check why the users list is empty after the file has been read". I understand that the problem must be with the load method that doesn't do what I'm makin
06.11.2024
81
views
16
comments
0
Sam
Level 2
Delhi
Question about the task
Where does a Person come from?
Java Syntax
,
Level 2
,
Lesson 2
Resolved
I don't get it ..isn't it right? still says: In the main method, create a Person object and immediately assign a reference to it to the variable person. ??
package com.codegym.task.task02.task0202; /* Where does a Person come from? */ public class Solution { public static void main(String[] args) { //write your code here Person Person = new Person(); } public static class Person { //write your code here
19.08.2018
3092
views
17
comments
0
Java coffee
Level 5
Question about the task
Summation
Java Syntax
,
Level 4
,
Lesson 0
Under discussion
Pls explain the use of the Boolean and the condition in the while loop
Can someone please explain why the boolean in the while loop condition is set to 'true', i.e- !isExit. Why can't we just write while (isExit)? Also I'm finding it hard to understand the use of the boolean (how it's being implemented in the code).. I thought a boolean variable is normally only used
03.11.2024
36
views
3
comments
0
Java coffee
Level 5
Under discussion
Please critique the code below and explain how and why I can write it better...
I understand that the variable names can be a bit more concise and relevant and also that the 'b' variable is redundant. However if I delete the b variable and I run the code, I get a multiplication table that prints up to num * 9 (it should print up to num * 10). At the end of the code, if I remove
02.11.2024
30
views
5
comments
0
SOUFIANE DAHIMI
Level 32
Marrakech
Question about the task
A switch for threads
Java Multithreading
,
Level 5
,
Lesson 5
Under discussion
Please what's wrong with this code
I don't know why the requirements are not met
10.04.2020
844
views
7
comments
0
mortarz
Level 1
Ceske Budejovice
Question about the task
Amigo is very smart
Java Syntax
,
Level 1
,
Lesson 1
Under discussion
What am I doing wrong? I don't understand the error message
Why is the following code wrong? I copied it from the article that was supposed to teach me. public class Solution //swapped "house" for "solution { public static void main (String[] args) //there is never explained what exactly this line do ... { System.out.println("Amigo is very smart");
02.11.2024
53
views
1
comment
0
Michal
Level 26
Lodz
Question about the task
New functionality!
Java Multithreading
,
Level 5
,
Lesson 2
Under discussion
This entire course is a joke
11.06.2020
456
views
3
comments
0
LeonThePro
Level 4
Question about the task
Price of apples
Java Syntax
,
Level 3
,
Lesson 4
Under discussion
totally cluless
I was following some assistance that was provided by a codegym graduate person to a beginner and just stupidly copied and paste onto my assignment. I literally dont have a clue about whats going on i feel like the whole subject wasnt explained properly and I have 0 understanding of what is this code
30.10.2024
54
views
5
comments
0
LeonThePro
Level 4
Question about the task
Count the number of cats
Java Syntax
,
Level 3
,
Lesson 5
Under discussion
The Cat class must have only one count variable.
for me it seems like the code looks pretty good and i literally have only one count variable... so what am I missing here?
31.10.2024
25
views
1
comment
0
LeonThePro
Level 4
Question about the task
What's the cat's name?
Java Syntax
,
Level 3
,
Lesson 5
Under discussion
private variable
When we have a private variable ( or whatever it is ) the only method to call it is by using the "this" operation?
31.10.2024
26
views
1
comment
0
LeonThePro
Level 4
Question about the task
Price of apples
Java Syntax
,
Level 3
,
Lesson 4
Under discussion
I don't understand the code itself.
I have a serious question... I come without any prior knowledge in programming or computer science, I started to learn here on codegym and everything went surprisingly smooth and it felt even too easy to be true ( lol ). Like we learned how to declare different types of variables like int, string, e
31.10.2024
24
views
1
comment
0
LeonThePro
Level 4
Question about the task
This age doesn't work for me…
Java Syntax
,
Level 3
,
Lesson 4
Under discussion
Clueless
Literally have no clue what's wrong here... Would love a good explanation. thanks upfront :)
30.10.2024
45
views
5
comments
0
LeonThePro
Level 4
Under discussion
Feeling overwhelmed and lost
Hey everyone, so this is my first serious try to learn Java programming. I started a couple of days ago and everything went almost smooth! Now im at the "Visibility of Variables" part ( Level 3, Lesson 3 ) and I feel like i miss a lot of info and understanding of basic concepts. I don't understand c
30.10.2024
66
views
8
comments
0
Show more
1
2
3
...
370
Please enable JavaScript to continue using this application.