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
towelie8
Level 16
Darmstadt
Question about the task
Playing Javarella
Java Syntax
,
Level 7
,
Lesson 9
Under discussion
I need some help -.-
can somebody give me a hint pls
19.11.2019
839
views
1
comment
0
PaFi
Level 16
Question about the task
10 thousand deletions and insertions
Java Syntax
,
Level 8
,
Lesson 6
Resolved
Why are get and set solutions rejected?
The requirements for get and set are not approved, while insert and remove are accepted. Can't see why, they are based on the same loop... public static void get10000(List list) { //write your code here Random rand = new Random(); for (int i=0; i<10000; i++) {
19.11.2019
1731
views
3
comments
0
rey
Level 6
Makati
Question about the task
More conversions
Java Syntax
,
Level 3
,
Lesson 8
Resolved
HELP GUYS!!
help mee!
25.04.2019
1582
views
6
comments
0
rey
Level 6
Makati
Question about the task
Multiplication table
Java Syntax
,
Level 3
,
Lesson 6
Resolved
WHATS WRONG?!!
WHATS WRONG
23.04.2019
2245
views
6
comments
0
Kent Hervey
Level 19
Question about the task
The basis of a wheel
Java Syntax
,
Level 5
,
Lesson 9
Resolved
This was challenging to me because I need more experience with inner classes
I finally got it to work by troubleshooting method. I commented out the main method code related to the inner class, and built up something that worked in the outer Circle class. That required me to fix some things...then I uncommented then commented out my troubleshooting code and it worked. I m
22.10.2019
1114
views
1
comment
0
Kent Hervey
Level 19
Question about the task
R or L
Java Syntax
,
Level 7
,
Lesson 9
Resolved
Verification works, but code style fails
I have two for loops like the below..the second not shown is the adder: I pass verification, but code style complains: "control variable i is modified" Any suggestions? I looked at other questions in help and it seems others are doing something similar. Maybe try a while loop? int orig
16.11.2019
1246
views
4
comments
0
Dave Andrea
Level 41
Question about the task
Longest string
Java Syntax
,
Level 7
,
Lesson 6
Archived
Getting desired output, but not passing tests...??
I'm getting the exact output I was looking for, but my solution is not being accepted. Any thoughts?
18.11.2019
786
views
2
comments
0
Fang44
Level 13
Under discussion
Plugin is not working
Hello, I just installed the plugin but i have problems... First when i click on the list of tasks i see only tasks from the part 0 to 1 : You can see level 2 there is nothing and its the same for the next level only 0 and 1 are on the list. And my second problem is when i clic on one of those
18.11.2019
956
views
7
comments
0
Rafal
Level 3
Wroclaw
Question about the task
Plan to conquer the world
Java Syntax
,
Level 3
,
Lesson 8
Resolved
difference between two codes
Hi, I have a question about the codes below, they both work, and give the wanted result but only the first one matches all the requirements, my question why? what is the difference between the first and second code? why better use the first form? Or better the second one? Please help! 1) pub
14.11.2019
1400
views
4
comments
0
Jay
Level 17
Washington
Question about the task
Make a family
Java Syntax
,
Level 8
,
Lesson 11
Under discussion
Help me understand
I'm confused about the purpose of the array list being used in the class. Previously, we have initialized objects without using an array list as a field. So I'm wondering what's the benefit of doing it this way. Furthermore, I've seen that some people have created 3 array lists to account for each c
27.07.2019
1046
views
2
comments
0
Denis
Level 22
Kharkiv
Question about the task
Like cats and dogs
Java Core
,
Level 1
,
Lesson 8
Under discussion
How i can do this exercise?
Help pls
22.06.2019
1239
views
3
comments
0
Davedabull
Level 22
New York City
Question about the task
Longest string
Java Syntax
,
Level 7
,
Lesson 6
Archived
But I am already showing the longest string?
Can someone help me find out what I did wrong here?
18.11.2019
1258
views
9
comments
0
Alexander Shtunder
Level 41
San Francisco
Question about the task
Prices 2
Java Core
,
Level 8
,
Lesson 11
Resolved
Hm, do not pass by, but help...
My code works flawlessly. I checked it on my computer 100500+ times. But the test does not want to pass ... strange. Who will say why?
26.08.2019
1037
views
5
comments
0
Anthony Chalk
Level 30
London
Question about the task
Exception when working with Map collections
Java Syntax
,
Level 9
,
Lesson 6
Resolved
Please help
The program works with the output: "NullPointerException null", but the third requirement is still not validating. Is there a specific type of NullPointerException for Maps?
18.11.2019
1305
views
7
comments
0
Deborah Wenrich
Level 7
Pembroke Pines
Question about the task
Financial expectations
Java Syntax
,
Level 3
,
Lesson 12
Under discussion
Can someone check my code?
I'm not sure what the problem is. The compiler doesn't seem to like the BufferedReader code.
12.11.2019
1152
views
2
comments
0
Carlos Cortázar
Level 17
Madrid
Under discussion
please, why this code doesn't compile?
package com.company; import java.io.FileOutputStream; import java.io.IOException; import java.io.OutputStream; import java.util.ArrayList; public class Main { public static void main(String[] args) throws IOException { MyClass myObject = new MyClass(); OutputStream outStream
18.11.2019
826
views
2
comments
0
Lukasz
Level 14
Wrocław
Question about the task
Ten cats
Java Syntax
,
Level 9
,
Lesson 11
Under discussion
Where is problem?
I pass the data from Map to Set
25.01.2019
1549
views
2
comments
1
towelie8
Level 16
Darmstadt
Question about the task
One large array and two small ones
Java Syntax
,
Level 7
,
Lesson 4
Under discussion
Last condition?!
meow.
18.11.2019
818
views
1
comment
0
chinchillo
Level 6
Question about the task
Number of days in the year
Java Syntax
,
Level 4
,
Lesson 4
Under discussion
Guess it's right but still not sure.
Any idea whats the problem here?
17.11.2019
735
views
2
comments
0
nikhil singla
Level 9
Chandigarh
Question about the task
Static cats
Java Syntax
,
Level 6
,
Lesson 11
Archived
I am not able to figure out what to print here in printCatS()..? Please help me..
public static void printCats() { System.out.println(cats); } // What's wrong with this? Please watch my solution..
21.07.2019
1259
views
2
comments
2
Davedabull
Level 22
New York City
Question about the task
StringHelper class
Java Syntax
,
Level 6
,
Lesson 8
Under discussion
So I guess we cannot use the str.repeat(times) method
public class practice3_string_multiplication { public static String multiply(String s) { String result = ""; //write your code here result = s.repeat(5); return result; } public static String multiply(String s, int count) { String result = "";
17.11.2019
1283
views
4
comments
0
Nico
Level 17
Tyrol
Question about the task
Closest to 10
Java Syntax
,
Level 4
,
Lesson 4
Under discussion
I think, the output is correct, but i failed the last task, and i dont know why. Thanks for your help in advance! :)
Failed: "The displayClosestToTen method should display a number on the screen in accordance with the task conditions."
17.11.2019
746
views
2
comments
0
Neha Anjum
Level 6
Hyderabad
Question about the task
Sorting three numbers
Java Syntax
,
Level 4
,
Lesson 6
Under discussion
.....?????
import java.util.Scanner; import java.io.*; public class Solution { public static void main(String[] args) throws Exception { //write your code here Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); int c = sc.ne
17.09.2018
1604
views
4
comments
0
Tian Pro
Level 23
Cape Town
Question about the task
Adding
Java Syntax
,
Level 4
,
Lesson 16
Under discussion
Why doesnt it work if the output shows it works?
Im so confused :'D
07.11.2019
863
views
2
comments
0
Maria
Level 7
Berlin
Question about the task
Minimum of four numbers
Java Syntax
,
Level 2
,
Lesson 8
Resolved
Help please??
What is wrong in my solution?? Thank you :D
17.11.2019
1036
views
2
comments
0
Manish Sinha
Level 1
london
Question about the task
HashMap of 10 pairs
Java Syntax
,
Level 8
,
Lesson 3
Resolved
my code throws error dont know what is the issue. Intellij shows the correct output.
package com.codegym.task.task08.task0802; /* HashMap of 10 pairs */ import java.util.HashMap; import java.util.Map; public class Solution { public static void main(String[] args) throws Exception { HashMap hasmap = new HashMap<>(); hasmap.put("watermelon","melon");
17.11.2019
1056
views
1
comment
0
Ankita Patra
Level 5
Bhubaneshwar
Question about the task
Initializing cats
Java Syntax
,
Level 5
,
Lesson 7
Under discussion
Everything looks fine.Still don't know what's wrong here!!
05.07.2019
1220
views
3
comments
0
Stanislav Mayer
Level 15
Question about the task
Family relations
Java Syntax
,
Level 2
,
Lesson 2
Resolved
Separate file for each class
In one of the previous tasks, there was the following info provided: For each class, a separate file is created. The name of the file matches the name of the class. However, in this particular exercise, I can see three different classes: Solution, Man and Woman within one file. Can you please ex
05.08.2019
1220
views
2
comments
0
jawad
Level 10
Lahore
Question about the task
Family relations
Java Syntax
,
Level 2
,
Lesson 2
Under discussion
what wrong in my code
whats worng in my code
02.08.2019
1041
views
2
comments
0
Pooja Gujjer
Level 2
Mumbai
Question about the task
Family relations
Java Syntax
,
Level 2
,
Lesson 2
Under discussion
What is wrong with my code
I cant understand?? Plzz help
15.06.2019
1360
views
7
comments
0
Show more
1
...
254
255
256
257
258
...
371
Please enable JavaScript to continue using this application.