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
Basem Zaki
Level 3
Under discussion
how to limit the line by 10 characters only?
package com.codegym.task.task03.task0314;
20.04.2020
693
views
1
comment
0
Anthony
Level 3
Question about the task
Minimum of three numbers
Java Syntax
,
Level 2
,
Lesson 8
Resolved
I feel like im close on this one. Any help?
I was previously getting the error "variable min might not have been initialized" so I changed int min; to int min = 0 and the program runs, however it is now giving me the last error and I cant figure it out.
06.12.2019
1554
views
4
comments
0
hidden #10602322
Level 3
Question about the task
Minimum of three numbers
Java Syntax
,
Level 2
,
Lesson 8
Under discussion
I cannot understand
plz help me
23.04.2020
749
views
2
comments
0
Johannes
Level 27
Centurion, Pretoria
Question about the task
Threads and bytes
Java Core
,
Level 8
,
Lesson 11
Resolved
Please see why it's not passing ?
Assistance appreciated. I create thread, I count occurrences and insert char with most occurrences into the map. Not passing...
12.04.2020
1178
views
5
comments
2
Jakhongir Ruziev
Level 23
Tashkent
Question about the task
Transactionality
Java Core
,
Level 7
,
Lesson 10
Resolved
Need help. It is reading lines when I test. What am I missing here can someone help please
22.04.2020
842
views
2
comments
0
Jakhongir Ruziev
Level 23
Tashkent
Question about the task
Most frequent bytes
Java Core
,
Level 8
,
Lesson 3
Resolved
Help please
23.04.2020
981
views
2
comments
0
null
Level 29
Poznan
Question about the task
Chat (part 21)
Java Multithreading
,
Level 6
,
Lesson 15
Under discussion
Why don't we need to start new thread?
b) void run() - It should get a SocketThread object via the getSocketThread() method and call its run() method. Figure out we don't need to call the run() method on a separate thread, like we did for the console-based client. Why do we call run instead of start? Thank you
14.02.2020
1101
views
1
comment
0
sirisha karanki
Level 10
Question about the task
Task about algorithms
Java Syntax
,
Level 5
,
Lesson 12
Under discussion
can anyone please help
public static void main(String[] args) throws Exception { Scanner sc=new Scanner(System.in); int maximum=0; while(true){ int x=sc.nextInt(); if(x>maximum) maximum=x; } System.out.println(maximum); } }
21.04.2020
899
views
2
comments
0
Amit Sharma
Level 11
Hyderabad
Question about the task
R or L
Java Syntax
,
Level 7
,
Lesson 9
Under discussion
Trying to solve this problem using Iterator and ListIterator - getting "ConcurrentModificationException".
Trying to solve this problem using Iterator and ListIterator - getting "ConcurrentModificationException".
22.04.2020
904
views
5
comments
0
Dorian
Level 7
Mumbai
Question about the task
Minimum of four numbers
Java Syntax
,
Level 2
,
Lesson 8
Resolved
How do I call the value of the function min(int a, int b) in the method min(int a, int b, int c, int d) ? I want the value 's' in the min(int a, int b, int c, int d) method for comparison.
public static int min(int a, int b) { //write your code here int s; if (a < b) s = a; else s = b; }
19.04.2019
1378
views
3
comments
0
Andreas Dengler
Level 16
Bielefeld
Question about the task
Make a family
Java Syntax
,
Level 8
,
Lesson 11
Resolved
Why do I not pass the second Requierment?
I need to have four fields in the Human class and i have only four fields still I dont pass. Where is the Problem?
20.04.2020
1248
views
3
comments
0
Cam
Level 22
Austin
Resolved
IntelliJ Timeout issues
On some of the task through the IntelliJ plugin, especially when they call for user input, I'm getting a lot of timeout errors even though the code compiles fine in the IDE. There are a few tasks that I can't even verify because of this issue. Anyone else experiencing this? Any ideas or solutions?
22.04.2020
971
views
4
comments
0
Liew
Level 10
Question about the task
Longest string
Java Syntax
,
Level 7
,
Lesson 6
Archived
confusion
I don't understand why my solution doesn't meet the requirements. When i tried running it myself there was no problem?
23.04.2020
954
views
3
comments
0
Nicolas Huet
Level 41
Provins
Question about the task
Chat (part 14)
Java Multithreading
,
Level 6
,
Lesson 15
Resolved
2 conditions doesn't validate
It seems easy in the condition so I don't really understand where is the problem :(
10.09.2019
1407
views
8
comments
0
Dervish Grady
Level 8
MORELIA
Under discussion
¿How can I use Intellij IDEA IDE with the exercises?
Hi! In the exercises on page https://codegym.cc/quests/lectures/questsyntax.level05.lecture12, says, "They were specially designed for IntelliJ IDEA", How can I use the Intellij IDEA IDE with these exercises?
23.04.2020
854
views
1
comment
0
Glenn Akens
Level 3
Rochester
Under discussion
I've taken an extended break and want to know the best way to restart
I've taken a long break and am wondering if I should make a new account or if I can redo lessons AND assignments. I've tried doing already completed tasks in the past and they don't allow me to attempt them again. Best ways to get back into the swing of things?
19.04.2020
1077
views
2
comments
1
tony
Level 20
Nis
Question about the task
Cat register
Java Syntax
,
Level 4
,
Lesson 2
Resolved
Can somebody explain to me what is wrong with this code:
public class Cat { private static int catCount = 0; public void addNewCat() { catCount++; } public static void main(String[] args) { Cat cat = new Cat(); cat.addNewCat(); System.out.println(catCount); } } The number of cats is increased by one
06.11.2018
2328
views
8
comments
0
Dedcom
Level 19
Lahore
Question about the task
Big Ben
Java Core
,
Level 6
,
Lesson 7
Resolved
i cant understand the requirements
what to do here? in requirements it says second count cant be greater than 59, if i do that the program's still not verifying and it says minutes cant be greater than 59 but the passed value is already 59 and in the requirements it is mentioned that if seconds counter is 59 than increment minutes, i
23.02.2019
1690
views
5
comments
0
Ashleigh
Level 7
Easton
Question about the task
Somehow average
Java Syntax
,
Level 4
,
Lesson 16
Resolved
Can't solve last two requirements
Can't solve last two requirements, technically I feel like it should not matter which number gets displayed for the 4th requirement. Not sure what I am missing
09.03.2020
1098
views
3
comments
0
JeRiF94
Level 22
Baku
Question about the task
R or L
Java Syntax
,
Level 7
,
Lesson 9
Resolved
I did it , but it doesn't want to check truly answer .
I think , I do it best , every step I do well , but compili do not want to me answer right;
12.03.2019
1796
views
4
comments
0
Niladri pradhan
Level 33
Mumbai
Question about the task
Writing our own ThreadFactory
Java Multithreading
,
Level 8
,
Lesson 4
Resolved
Last condition
How to correct the pool count
12.12.2019
1014
views
2
comments
0
Sanjay Chauhan
Level 28
Delhi
Question about the task
Refactoring (part 12)
Java Multithreading
,
Level 5
,
Lesson 16
Resolved
What am I missing
Dears, Will it be possible to check what am I doing wrong for the second validation? Thanks, Sanjay Chauhan
21.04.2020
1062
views
11
comments
0
Hendra
Level 8
Medan
Question about the task
Checking the order
Java Syntax
,
Level 7
,
Lesson 9
Resolved
help me..stuck with the last requirement
package com.codegym.task.task07.task0718;
05.03.2020
1081
views
2
comments
0
dpp
Level 8
Colombo
Question about the task
Minimum of three numbers
Java Syntax
,
Level 2
,
Lesson 8
Resolved
I've input the code many times in many ways. What is wrong with this?
What's wrong with this?
20.04.2019
1724
views
6
comments
0
zuber
Level 3
Pune
Question about the task
Minimum of two numbers
Java Syntax
,
Level 2
,
Lesson 8
Under discussion
help me to find out error
public static int min(int a, int b) { //write your code here int m; if (a>b) m = a; else // (a>b) m = b; return m;
01.09.2018
2378
views
9
comments
3
Kamil
Level 31
Near Warsaw
Question about the task
Shortener (5)
Java Collections
,
Level 6
,
Lesson 15
Resolved
Is this a joke or something?
Codegym validation is taking the piss sometimes, literally. How'd get it to work?
23.04.2020
765
views
3
comments
0
Dawid
Level 7
Nottingham
Question about the task
Changing functionality
Java Syntax
,
Level 7
,
Lesson 12
Under discussion
Not meeting ANY requirements.
Can someone help me please? Somehow it doesn't meet ANY requirements... even reading data from keyboard....
22.04.2020
847
views
1
comment
0
SauceCode
Level 2
Johannesburg
Question about the task
2048 (Part 10/18)
Games
,
Level 0
,
Lesson 2
Resolved
It seems I can't solve the first requirement.
The rest of my code did satisfy all other requirements but not first. Any idea why?
21.04.2020
1192
views
3
comments
0
Wojtek
Level 23
Solec-Zdroj
Question about the task
Overriding serialization in a thread
Java Core
,
Level 10
,
Lesson 10
Under discussion
What is wrong in my code?
need help
16.04.2019
1635
views
4
comments
0
Cam
Level 15
Bogota
Question about the task
Console-based piggy bank
Java Syntax
,
Level 5
,
Lesson 12
Under discussion
i'm not sure
so I've been trying out several ways to resolve this task but I seem to always run into NumberFormatException.java:65 so I guess everything I'm trying is trying to convert the string "sum" to numbers and I'm not sure how to get rid of that issue...
23.04.2020
857
views
2
comments
0
Show more
1
...
204
205
206
207
208
...
371
Please enable JavaScript to continue using this application.