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
Kent Hervey
Level 19
Question about the task
Sorting even numbers from a file
Java Core
,
Level 3
,
Lesson 11
Under discussion
Is Java 8 Streams allowed?
Just starting. Although a challenge for me, I want to consider using Java 8 feature such as streams. I wonder if that is allowed??
07.01.2021
277
views
1
comment
0
Jake Jacobs
Level 2
Almaty
Under discussion
Where I get wrong?
package readability; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String word = sc.nextLine(); String[] nums = word.split(" "); //System.out.println(nums.length); // tot
04.06.2020
356
views
1
comment
0
Mahmud Foysal
Level 1
Dhaka
Under discussion
Language Settings
Can I change my language settings again? If yes, then how? please explain
05.06.2020
505
views
0
comments
0
Isaque Silva
Level 3
São Paulo
Under discussion
What is bug ?
Hi I click in the "Verify" after resolution a at task don't working.
07.06.2020
421
views
0
comments
0
Edddieg
Level 15
Providence
Under discussion
please help
Write code that calculates how many seconds have passed since 3:00 PM when the clock says it's 3:30 PM. Display the result. Requirements: • The program should output text. • The displayed text should be a positive integer. • The displayed number must be a multiple of 60. • The displayed number must
07.06.2020
482
views
0
comments
0
Surya
Level 33
Newark
Question about the task
Introducing tags
Java Core
,
Level 9
,
Lesson 11
Under discussion
Could some one help me with this.
Works perfectly in my local machine. But fails validation here. Not sure why.
07.06.2020
448
views
0
comments
0
Jonas
Level 41
Vilnius
Question about the task
Again, POST, not GET
Java Collections
,
Level 10
,
Lesson 4
Under discussion
Please help
How to get connection's outputStream and why it says that I don't use setEntity method? (line 36)
08.06.2020
455
views
0
comments
0
jajaceek
Level 23
Warszawa
Question about the task
Inverted words
Java Multithreading
,
Level 2
,
Lesson 9
Under discussion
All is ok but the last condition is failed
When I check at Intelij that the output is the same as required but the validation is failed. I don't know why. Maybe someone has the idea why?
08.06.2020
321
views
0
comments
0
季军
Level 38
Shanghai
Question about the task
Space Invaders (Part 33/34)
Games
,
Level 0
,
Lesson 6
Under discussion
Why I kept getting time out
What's wrong with my code
08.06.2020
311
views
0
comments
0
bob
Level 8
Milan
Question about the task
More Sam-I-Am
Java Syntax
,
Level 7
,
Lesson 9
Under discussion
why can't i use Arrays.asList?
hi. my code works perfectly fine and meets all requirements yet it wouldn't accept my code. it accepts the declaration and initialization but won't accept this way of adding the names, even thought it works fine. in the end i had to delete the below line //write your code here Array
09.06.2020
461
views
0
comments
0
Kirshna Malhi
Level 0
Arlington
Under discussion
Write a java program for given scenario
Alpha shopping Centre decides to computerized it’s store, you are given the task to model the structure of the shopping Centre using appropriate data structures. 1. Design a data structure which stores the information of all the customers who visits the store, keep 50 as the default size of your
11.06.2020
592
views
0
comments
0
Prassha
Level 24
Chagford
Question about the task
Words with numbers
Java Core
,
Level 9
,
Lesson 11
Under discussion
Hi
try { if ((Object) Integer.parseInt(letter) instanceof Integer){ word=word+" "; output.write(word); break; } }catch(Exception e){}
12.06.2020
377
views
1
comment
0
JianQiu Hwang
Level 35
Washington
Question about the task
Sokoban (part 4)
Java Collections
,
Level 10
,
Lesson 15
Under discussion
What's wrong with CollisionObject.isCollision?
What's wrong with CollisionObject.isCollision? I have changed the return condition to: tiX == gameObject.getX() && tiY == gameObject.getY() , and tried the permutation of the +/- with the direction...
31.05.2020
366
views
1
comment
0
Maks Nowcki
Level 6
Under discussion
help
Anyone give a screen with the task done and explain?
13.06.2020
390
views
2
comments
0
Liliane Top
Level 24
Amsterdam
Question about the task
Finding data inside a file
Java Core
,
Level 8
,
Lesson 11
Resolved
Just for a better understanding
Why is this code failing the test?
08.01.2021
259
views
1
comment
0
Liliane Top
Level 24
Amsterdam
Question about the task
Finding data inside a file
Java Core
,
Level 8
,
Lesson 11
Resolved
I copied the solution and I still fail the test
Or am I missing something?
08.01.2021
265
views
1
comment
0
Andrei
Level 41
Question about the task
CRUD
Java Core
,
Level 7
,
Lesson 10
Under discussion
I don't understand why it isn't creating a new person to the list when passing the provided arguments in the example
Hello, I go to Run -> Edit configurations -> I add the program arguments -c Washington m "04 15 1990". This, normally should create a new person and add it to the list, no? At least this is what I understand from the switch case "-c". Then, I go back to Run -> Edit configurations -> I
08.01.2021
380
views
7
comments
0
Daniel Whyte
Level 17
Question about the task
Crossing the road blindly
Java Syntax
,
Level 4
,
Lesson 4
Under discussion
t % 5
I don't understand what t % 5 actually does and why this seems to then mean the higher numbers are then covered.
07.01.2021
290
views
1
comment
0
Liliane Top
Level 24
Amsterdam
Question about the task
Building a file
Java Core
,
Level 8
,
Lesson 11
Resolved
How does the buffer work?
I don't understand why the the buffers don't overwrite the existing text. If I write several buffers to the same outputfile. How does it know where to start? FileOutputStream fos = new FileOutputStream(fileComposite);//if I do not set the "append" to true //iterate over the map with filen
08.01.2021
522
views
4
comments
0
Dinesh
Level 7
Delhi
Question about the task
Maximum of four numbers
Java Syntax
,
Level 4
,
Lesson 6
Under discussion
Last condition not satisfied
import java.io.*; public class Solution { public static void main(String[] args) throws Exception { //write your code here BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); String n1 = reader.readLine(); int num1= Integer.parseInt(n1)
06.01.2021
460
views
11
comments
0
Liliane Top
Level 24
Amsterdam
Question about the task
Building a file
Java Core
,
Level 8
,
Lesson 11
Resolved
Very confused as what is wrong
The validation is a bit off. As it claims I do not close the stream. But maybe I am not allowed to use a TreeMap for this task?
07.01.2021
311
views
1
comment
0
orangepeeler
Level 14
Not in list
Question about the task
Sorting even numbers from a file
Java Core
,
Level 3
,
Lesson 11
Resolved
What's wrong with my code?
I am having trouble fulfilling the fourth condition, even though everything looks fine when I debug (lines 25 -31). Please help! thanks in advance
02.01.2021
406
views
2
comments
0
Dmitri
Level 22
Seversk
Question about the task
CRUD
Java Core
,
Level 7
,
Lesson 10
Under discussion
Any ideas what is wrong?
Looks like my code is doing what is intended...
06.01.2021
282
views
5
comments
0
gopalkingsuper@gmail.com
Level 3
मुंगेली
Under discussion
Dark Matter?
please give me dark matter. I completed all task. please.........
07.01.2021
301
views
0
comments
0
Andrei
Level 41
Question about the task
Synchronized president
Java Core
,
Level 7
,
Lesson 4
Under discussion
If the exercise alraeady gives out TRUE when run, what is the point of the static block and the synchronized block?
Can someone please give more details as to what they are trying to teach with this exercise? public class OurPresident { private static OurPresident president; private OurPresident() { } static { synchronized (OurPresident.class){ president = new OurPresid
07.01.2021
422
views
4
comments
0
Riya
Level 15
Indore
Question about the task
Bridges
Java Core
,
Level 4
,
Lesson 8
Resolved
separate files...!
how do I create separate files on smartphone pls help...
12.12.2020
361
views
2
comments
0
Maxim Raitin
Level 20
Tomsk
Question about the task
R or L
Java Syntax
,
Level 7
,
Lesson 9
Resolved
It works on Intellij IDEA
It works on Intellij IDEA public class Main { public static void main(String[] args) throws Exception { ArrayList list = new ArrayList(); list.add("rose"); list.add("love"); list.add("lyre"); list.add("adamos"); list.add("phill"); list.a
07.01.2021
472
views
5
comments
0
Anonymous #10436715
Level 38
Question about the task
Restaurant (part 10)
Java Multithreading
,
Level 9
,
Lesson 15
Under discussion
I have no idea where I'm wrong.
Does anybody have the validator's input data and required response? I checked with various input data and all seemed good for me...
21.05.2020
585
views
1
comment
0
Yildi06
Level 1
Stuttgart
Under discussion
Bei der Aufgabe muss ich das Geburtsjahr herausfinden und wie kann das hier richtig sein, ich dachte man kann nur mit ints rechnen, aber hier wird keins angegeben
package de.codegym.task.task01.task0103; /* Mein junger Freund */ public class Solution { public static void main(String[] args) { System.out.println(3126 - 8); } }
22.05.2020
450
views
0
comments
0
Mohan Amilineni
Level 22
Brisbane
Question about the task
Tracking changes
Java Core
,
Level 9
,
Lesson 11
Under discussion
Not able to understand requirement completely, need help!
Hi, Tried multiple solutions, couldn't resolve it. Also I couldn't find a complete working solution in colleagues comments for this task. Please post a complete working solution, so that I can do reverse engineering and then try to understand the requirement. Honestly, the requirement is bit conf
25.05.2020
314
views
0
comments
0
Show more
1
...
92
93
94
95
96
...
366
Please enable JavaScript to continue using this application.