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
Fang44
Level 13
Under discussion
reset progress ?
Hello, i am back to learn java after a really long break i obviously forgot it all. I want to know if it's possible to reset all and re-start from zero on the courses and tasks ? thank you :)
4/24/20
1593
views
2
comments
0
Łukasz
Level 61
Lodz
Question about the task
Sokoban (part 15)
Java Collections
,
Level 10
,
Lesson 15
Resolved
Help "checkBoxCollisionAndMoveIfAvailable"
Hi, Does anyone know what could be a problem with second validation: Implement the boolean checkBoxCollisionAndMoveIfAvailable(Direction direction) method in the Model class.
3/17/20
1406
views
6
comments
0
asif nawaz
Level 8
Mumbai
Question about the task
Task about algorithms
Java Syntax
,
Level 5
,
Lesson 12
Under discussion
i have done so many cha ge still not able to paas the test
the last task not able to pass
4/24/20
1096
views
2
comments
0
jobson
Level 4
Herndon
Question about the task
Pay raise
Java Syntax
,
Level 2
,
Lesson 2
Under discussion
the last template showing error what is problem on that
package com.codegym.task.task02.task0205; /* Pay raise */ public class Solution { public static void main(String[] args) { hackSalary(7000); } public static void hackSalary(int a) { a = a + 1000; System.out.print("Your salary is: "+ (a+1000) +" dollars per m
4/22/20
1159
views
3
comments
0
iqbalhussain
Level 2
Peshawar
Question about the task
Deep cloning of a map
Java Multithreading
,
Level 1
,
Lesson 8
Under discussion
why it says "When cloning an object, you must create a new object and not return the current object."
When cloning an object, you must create a new object and not return the current object.
9/19/19
1538
views
2
comments
0
Bryce Lindley
Level 9
Olympia
Question about the task
In decreasing order
Java Syntax
,
Level 7
,
Lesson 12
Resolved
I am not sure which line of code(s) are my problem
public static void sort(int[] array) { //write your code here int temp = 0; Arrays.sort(array); for (int i = 0; i <= array.length - 1 - i; i++) while (array[i] < array[array.length - 1]) { temp = array[i]; array[i]
4/24/20
1686
views
3
comments
0
Basem Zaki
Level 3
Question about the task
Escaping characters
Java Syntax
,
Level 3
,
Lesson 6
Under discussion
need to know how to make the output (path) is doubled back slash as the task require
package com.codegym.task.task03.task0316;
4/20/20
1255
views
4
comments
0
sean
Level 8
Question about the task
Console-based piggy bank
Java Syntax
,
Level 5
,
Lesson 12
Resolved
Can anybody shed light on where I am going wrong with this approach?
I think it's to do with my sum but haven't been able to fathom it out. Much appreciated :)
4/10/19
2527
views
9
comments
0
Samantha
Level 4
Crofton
Question about the task
Family relations
Java Syntax
,
Level 2
,
Lesson 2
Resolved
What am i doing wrong?
Ive tried it all! What am I doing wrong?
2/17/20
1490
views
3
comments
0
Cam
Level 15
Bogota
Question about the task
Task about algorithms
Java Syntax
,
Level 5
,
Lesson 12
Under discussion
Not meeting condition 5
So I am trying to solve this task and it says on condition 5 to make sure it works correctly for negative numbers, but under my logic it should not give any issues. What's wrong then??
4/24/20
1083
views
3
comments
0
Basem Zaki
Level 3
Under discussion
how to limit the line by 10 characters only?
package com.codegym.task.task03.task0314;
4/20/20
823
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.
12/6/19
1748
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
4/23/20
909
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...
4/12/20
1342
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
4/22/20
1043
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
4/23/20
1115
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
2/14/20
1272
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); } }
4/21/20
1073
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".
4/22/20
1040
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; }
4/19/19
1550
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?
4/20/20
1544
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?
4/22/20
1138
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?
4/23/20
1106
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 :(
9/10/19
1580
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?
4/23/20
1021
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?
4/19/20
1228
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
11/6/18
2562
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
2/23/19
1906
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
3/9/20
1244
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;
3/12/19
1993
views
4
comments
0
Show more
1
...
207
208
209
210
211
...
374
Please enable JavaScript to continue using this application.