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
waseem khan
Level 13
Rawalpindi
Question about the task
Greater than 10? You're not a good fit for us
Java Syntax
,
Level 8
,
Lesson 8
Under discussion
help please ?
whats wrong in this code ?
21.08.2019
755
views
1
comment
0
VISHNURAJ YADAV
Level 0
Under discussion
help me with running hibernate java program
please help me to solve this problem . i dont understand what to do now. will some please help me?
10.11.2019
717
views
1
comment
0
Saheb Das
Level 8
Gurgaon
Question about the task
Playing Javarella
Java Syntax
,
Level 7
,
Lesson 9
Under discussion
Can't find any problem. anybody please review my code.
11.11.2019
749
views
1
comment
0
msc
Level 13
Bangalore
Question about the task
HashSet of plants
Java Syntax
,
Level 8
,
Lesson 3
Under discussion
to pass verify for HashSet of plants task
to pass verify 1) import java.util.* 2) use HashSet not Set
11.11.2019
1043
views
1
comment
0
Christian Djanea
Level 7
Mount Laurel
Question about the task
Expressing ourselves more concisely
Java Syntax
,
Level 7
,
Lesson 6
Archived
Could someone help me with this? It passes all tests except test 2.
package com.codegym.task.task07.task0709; import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.List; /* Expressing ourselves more concisely */ public class Solution { public static void main(String[] args) throws Exception {
11.11.2019
1059
views
4
comments
0
Miguel Cid
Level 7
Almeria
Question about the task
One large array and two small ones
Java Syntax
,
Level 7
,
Lesson 4
Under discussion
Where is the problem?
hey cos ! i'm completely locked in netbeans this works with randoms numbers why not here?
11.11.2019
945
views
3
comments
0
Steve
Level 9
Denver
Question about the task
Static methods for cats
Java Syntax
,
Level 6
,
Lesson 8
Under discussion
Cat.catCount = catCount;
I not sure what this method is called or how or why this works?? Any thoughts? public class Cat { private static int catCount = 0; public Cat() { catCount++; } public static int getCatCount() { //write your code here return catCount; } public static
14.07.2019
1340
views
2
comments
0
Manish Sinha
Level 26
london
Resolved
what is wrong in this program(one of the practice program)
below programs give the correct output in intellij but it shows some error in codegym check.. could you please help what is the error? package com.codegym.task.task07.task0716; import java.util.ArrayList; /* R or L */ public class Solution { public static void main(String[] args) throws Ex
11.11.2019
1103
views
1
comment
0
allthemore
Level 41
Question about the task
Tracking changes
Java Core
,
Level 9
,
Lesson 11
Under discussion
Got exactly the same result as expected but verification didn't pass. What is wrong with my code?
Program output: SAME line1 REMOVED line2 SAME line3 REMOVED line4 SAME line5 ADDED line0 SAME line1 REMOVED line2 SAME line3 ADDED line4 SAME line5 REMOVED line0
20.05.2019
1118
views
0
comments
0
Patrick freeman
Level 14
Buffalo
Question about the task
All that moves
Java Core
,
Level 3
,
Lesson 2
Under discussion
No Idea
I'm drawing a blank as to how to fulfill the final requirement. Sorry, Just, no idea what is required.
10.11.2019
1164
views
3
comments
0
Petr Svitil
Level 2
Prague
Question about the task
Repetition is the mother of all learning
Java Syntax
,
Level 2
,
Lesson 8
Under discussion
How is (s) linked to ("I love you!")?
Hi, can someone clarify to me, why when we write System.out.println(s); it automatically knows that (s) is ("I love you!") ?
10.11.2019
1212
views
1
comment
0
harshshah
Level 9
Gandhinagar
Question about the task
Drawing lines
Java Syntax
,
Level 4
,
Lesson 13
Under discussion
Help needed
For vertical Lines code is not getting verified, but in output it is perfectly 10*10 of 8..!
29.07.2019
989
views
2
comments
0
krystian
Level 9
Kozle
Question about the task
Plan to conquer the world
Java Syntax
,
Level 3
,
Lesson 8
Under discussion
Can someone help?
import java.io.*;
10.11.2019
956
views
1
comment
0
m
Level 13
Lublin
Resolved
why i can't pass requirements?
package pl.codegym.task.task04.task0424; /* Three numbers */ import java.io.*; public class Solution { public static void main(String[] args) throws Exception { //tutaj wpisz swój kod BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); int a =
10.11.2019
916
views
2
comments
0
Joel
Level 7
Alsenberg
Question about the task
Sorting three numbers
Java Syntax
,
Level 4
,
Lesson 6
Resolved
Last requirements is not met, but it is
I tested my code with various combinations and it always does it correct, but it says that the numbers are not descending.Why?
10.11.2019
834
views
3
comments
0
Jay
Level 17
Washington
Question about the task
We don't need repeats
Java Syntax
,
Level 8
,
Lesson 8
Under discussion
Where am I going wrong here?
Any help would be appreciated.
25.07.2019
1051
views
1
comment
1
Tadas
Level 4
Terneuzen
Question about the task
Plan to conquer the world
Java Syntax
,
Level 3
,
Lesson 8
Under discussion
Line looks everything OK, but it fails with conditions
Ok Guys Im getting correct line, but failing with condition The displayed text must contain the entered name. The displayed text must fully match the task conditions.
09.11.2019
1000
views
2
comments
0
m
Level 13
Lublin
Resolved
I can't pass last requirement, why?
package pl.codegym.task.task04.task0409; /* Closest to 10 */ public class Solution { public static void main(String[] args) { displayClosestToTen(8, 11); displayClosestToTen(7, 14); } public static void displayClosestToTen(int a, int b) { int c = 10 - a;
09.11.2019
636
views
2
comments
0
Tadas
Level 4
Terneuzen
Question about the task
Fill a pool with water
Java Syntax
,
Level 3
,
Lesson 5
Under discussion
what does it means?
Comments on code style were not found! ??
09.11.2019
1217
views
1
comment
0
Wali
Level 3
Dhaka
Question about the task
Minimum of three numbers
Java Syntax
,
Level 2
,
Lesson 8
Under discussion
my codes out put is fully correct. bt it don’t fulfil last condition. whats the problem
package com.codegym.task.task02.task0216;
09.11.2019
811
views
1
comment
0
Зоран Јањић
Level 8
Teslic
Question about the task
Shortest or longest
Java Syntax
,
Level 7
,
Lesson 6
Under discussion
Any help on this one ?
package com.codegym.task.task07.task0712; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; /* Shortest or longest */ public class Solution { public static void main(String[] args) throws Exception { //write you
06.11.2019
1336
views
3
comments
0
Piotr Wikarski
Level 19
Birmingham
Question about the task
Prices 2
Java Core
,
Level 8
,
Lesson 11
Resolved
Can't pass verification of the second condition
I can't see why it won't verify the second condition. When I run it on my pc without arguments at all or just "-u" or "-d" the program doesn't change the content of the file..
09.11.2019
804
views
0
comments
0
Roman
Level 41
Wieseck
Question about the task
Adding a file to an archive
Java Collections
,
Level 1
,
Lesson 6
Resolved
Fails by Requirements 3 and 4 on CodeGym Server ...
Hi, in this code I've tried to consider all the hints from the previous posts regarding this task. The code works fine on the local machine, but on the CodeGym Server it fails by Requirements 3 and 4. Does anyone have an idea, what is wrong there?
03.11.2019
1108
views
2
comments
0
Voris
Level 10
Tashkent
Question about the task
A name is a name
Java Syntax
,
Level 4
,
Lesson 16
Resolved
I can't find my typo, i tried to change order mm/dd/yy to yy/mm/dd, anyway it doesn't work, i think there's error in conditions.
package com.codegym.task.task04.task0443; /* A name is a name */ import java.io.*; public class Solution { public static void main(String[] args) throws Exception { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String name = br.readLine();
11.04.2019
1239
views
4
comments
0
Denis
Level 22
Kharkiv
Question about the task
Prices 2
Java Core
,
Level 8
,
Lesson 11
Under discussion
One condition pls
Need help
29.06.2019
1109
views
1
comment
0
Nicolas Huet
Level 41
Provins
Question about the task
Distributing items into baskets with their own lock
Java Multithreading
,
Level 6
,
Lesson 8
Under discussion
lost again
Well, same as the previous task. I really can't find it. (which is worrying me quite a bit for my future in the programing field I must say...). I saw the post of Andrew, I saw he says to look for the concurrentHashMap code to see clues and I saw another guy resolved it with just that. (which worryi
07.09.2019
1046
views
7
comments
0
Kimo Kalilikane
Level 15
Jacksonville
Question about the task
Who's that smarty?
Java Core
,
Level 3
,
Lesson 2
Archived
This little information will help you with this task
So an important aspect I forgot to remember is that interfaces are not considered classes, therefore it is possible to inherit multiple interfaces with the extends keyword! For example, interface CanFly{ void fly(); } interface CanSwim{ void swim(); } interface All extends CanFly, CanSwim{ }
21.10.2019
889
views
2
comments
1
Jimmy Phan
Level 7
Atlanta
Question about the task
Cat relations
Java Syntax
,
Level 6
,
Lesson 11
Under discussion
Just two questions
Thankfully able to pass this task, but I would still like some clarifications. 1. @Override - which class is the toString method overriding belonging to? and 2. - how can the toString method called upon itself when there are no other lines within the program to call to this method? 3. Also, when p
07.11.2019
1106
views
7
comments
0
krystian
Level 9
Kozle
Question about the task
Multiplication table
Java Syntax
,
Level 3
,
Lesson 6
Under discussion
Need help
Could someone please tell me why below code doesn't work? public class Solution {
08.11.2019
1092
views
2
comments
0
ddi
Level 18
Dortmund
Question about the task
Chicken factory
Java Core
,
Level 4
,
Lesson 6
Under discussion
Help needed! :)
I am receiving a failure that he won´t recognize the hen = new AfricanHen(); hen = new NorthAmericanHen(); hen = new EuropeanHen(); hen = new AsianHen(); any new objects, classes are created. the object should be created... What am i missing?
27.08.2019
1202
views
1
comment
0
Show more
1
...
255
256
257
258
259
...
367
Please enable JavaScript to continue using this application.