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
Albert
Level 6
Hong Kong
Question about the task
Seasons on Terra
Java Syntax
,
Level 4
,
Lesson 4
Under discussion
Any smart solution?
// The system passes the code, but I am wondering if there is a smarter solution // I tried to use ||, but seems it only works or the binary "a or b" case, but not for "a or b or c" case package com.codegym.task.task04.task0411; /* Seasons on Terra */ public class Solution { public static v
16.11.2020
440
views
6
comments
0
Albert
Level 6
Hong Kong
Question about the task
Name register
Java Syntax
,
Level 4
,
Lesson 2
Under discussion
Cat.fullName = fullName v.s. this.fullName = fullName
sometimes the tasks could be met by typing Cat.fullName = fullName, sometimes this.fullName = fullName what is the difference? plus to non-programmers, level 4 concerning the visibility is suddenly very tough, even if we try to gather additional information online
13.11.2020
666
views
4
comments
0
Andrei
Level 41
Question about the task
Ten cats
Java Syntax
,
Level 9
,
Lesson 11
Under discussion
I have solved the task, but I don't understand the difference between 2 lines of code
Hello, so the point was to finish the method that converts a map to a set. Initially I tried to initiate a Set and then put the values of the map in the set, like this: Set catSet = new HashSet<>(); catSet = map.values(); However, this would prompt an error that I am trying
16.11.2020
662
views
6
comments
0
Seferi
Level 22
Question about the task
Introducing tags
Java Core
,
Level 9
,
Lesson 11
Resolved
It works on my IDE but failing the last condition
I know what you are going to say.. I took the easy way out and used the Jsoup library for this task.. As a punishment, it's failing the last condition. I appreciate the help.. Thanks..
13.11.2020
452
views
8
comments
0
Roman Grygorczuk
Level 19
Cracow
Question about the task
Shuffled just in time
Java Syntax
,
Level 7
,
Lesson 12
Resolved
Cannot pass validation
Guys, Cannot pass validation. Program works corrctly
14.11.2020
690
views
5
comments
0
hidden #10263621
Level 4
Question about the task
Somehow average
Java Syntax
,
Level 4
,
Lesson 16
Resolved
Can someone help me with what is wrong in this code?
Can someone help me with what is wrong in this code?
24.09.2018
1774
views
5
comments
0
Laurap5
Level 9
Vilnius
Question about the task
Shortest or longest
Java Syntax
,
Level 7
,
Lesson 6
Resolved
Please help :)
If in the first place I enter the shortest string before the longest, It's working :) If in the first place I enter the longest string before the shortest. It's working.
04.12.2018
2006
views
8
comments
2
David Close
Level 17
London
Question about the task
Expressing ourselves more concisely
Java Syntax
,
Level 7
,
Lesson 6
Archived
whats wrong with final
final condition will not clear
05.11.2020
497
views
5
comments
0
Bartek
Level 10
Dukla
Under discussion
Nie czyta mi Stringa w zadaniach
Nie wiem dlaczego nie czyta mi wgl klasy String.
11.11.2020
375
views
2
comments
0
Nicholas Corten
Level 4
Antwerp
Question about the task
Predictions
Java Syntax
,
Level 3
,
Lesson 8
Resolved
Hi I'm stuck on this one. Any help is welcome :)
package com.codegym.task.task03.task0319; /* Predictions */ import java.io.*; import java.util.Scanner; public class Solution { public static void main(String[] args) throws Exception { Scanner scan = new Scanner(System.in); String name = scan.nextLine(); int number1
04.11.2020
605
views
3
comments
0
Nicholas Corten
Level 4
Antwerp
Question about the task
Plan to conquer the world
Java Syntax
,
Level 3
,
Lesson 8
Resolved
I don't see what I'm typing wrong
04.11.2020
618
views
3
comments
0
Michał
Level 11
Warsaw
Question about the task
Kind Emma and the summer holidays
Java Syntax
,
Level 8
,
Lesson 8
Resolved
Trying to solve this using Streams API
Hello guys! I was able to solve this task by using just an old fashioned 'if' and 'while' loop but I was thinking about approaching this issue differently but couldn't make it work. Could you please help me figure out what I should change in my code here to make it work and solve this task 0816 us
14.11.2020
373
views
3
comments
0
Vijay Rangan
Level 5
Jakarta
Question about the task
Parenthetical brainteaser
Java Syntax
,
Level 3
,
Lesson 4
Resolved
not getting 382
im not getting 382 ...can any one explain what to do...and i have tried (1 + 2 * (3 + 4 * (5 + 6 * 7)) + (8 * (9 + 10))); too and its getting error in "The sequence of digits and arithmetic operations can not be changed."
30.09.2018
4480
views
18
comments
0
Rory King
Level 4
Budapest
Under discussion
Please Help
i run the programme on intelij and have no issues but on the task i get an error please help package com.codegym.task.task03.task0303; /* Currency exchange */ public class Solution { public static void main(String[] args) { //write your code here convertEurToUsd(50 , 2.5);
15.11.2020
394
views
1
comment
0
Chris
Level 19
Newark
Question about the task
Greater than 10? You're not a good fit for us
Java Syntax
,
Level 8
,
Lesson 8
Under discussion
I have no idea how to finish.
I cant pass the last requirement. Someone please help .
15.11.2020
354
views
1
comment
0
Lawson
Level 29
Lagos
Question about the task
Hippodrome (part 12)
Java Multithreading
,
Level 1
,
Lesson 16
Resolved
Pls help
I know this question is supposed to be easy but please help me
11.09.2020
538
views
11
comments
0
Anitamalina
Level 18
København
Question about the task
Task about algorithms
Java Syntax
,
Level 5
,
Lesson 12
Resolved
This works in my compiler, but not in codeJudge?
Do anyone know why?
09.11.2020
372
views
2
comments
0
hidden #10618197
Level 16
Under discussion
Can not run my Application
I can't run my Minesweeper game. java: cannot access javafx.application.Application class file for javafx.application.Application not found What exactly does it mean?
08.11.2020
944
views
6
comments
0
marcus Simoes
Level 13
Dortmund
Question about the task
Let's make the code do something useful!
Java Syntax
,
Level 9
,
Lesson 11
Under discussion
I have no idea what to do.
Requirement 3? Help is much appreciated! Thanks
13.11.2020
265
views
3
comments
1
Emre Erkaslan
Level 0
Istanbul
Question about the task
Space Invaders (Part 4/34)
Games
,
Level 0
,
Lesson 6
Under discussion
Help please.
I don't really know what's wrong here.
13.11.2020
389
views
1
comment
0
Шарох
Level 10
Under discussion
Hi Coders!
Somethings are strange in this code. What are these ? :/ 1. (public Color color;) : Why it hasn't object? 2. Why in default constructor we use that! :(
11.11.2020
286
views
4
comments
0
bamughamye patrick
Level 8
Paris
Question about the task
Streets and houses
Java Syntax
,
Level 7
,
Lesson 4
Archived
Got task right but code i used i lengthy. Can someone show me how a for loop would have been used here? Thanks
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader;
26.08.2020
523
views
3
comments
0
Kasia
Level 22
Zabrze
Question about the task
Writing to a file from the console
Java Core
,
Level 3
,
Lesson 11
Resolved
Works here but doesn't pass the validator
I can create a file and save it (i.e as file.txt) and it shows the text on separated lines(including exit) but the program doesn't pass the validation. Additionally, I also got the message from: The program must write absolutely all of the entered lines (including "exit") to the file, each on a ne
12.11.2020
480
views
2
comments
0
The Chief
Level 18
Question about the task
Cat and Dog objects: 50,000 each
Java Syntax
,
Level 6
,
Lesson 5
Under discussion
Why is this code wrong?
I don't know why it keeps rejecting my code. Can anyone please tell me how to fix this?
11.11.2020
441
views
6
comments
0
Mariam
Level 9
Columbus
Question about the task
Even and odd digits
Java Syntax
,
Level 6
,
Lesson 5
Resolved
IT WORKS but compiler does not excepts. Please help
IT WORKS but compiler does not excepts. Please help
09.09.2020
427
views
3
comments
0
Arjun Kiruthivasan
Level 14
Chennai
Question about the task
String array in reverse order
Java Syntax
,
Level 7
,
Lesson 4
Under discussion
where i done mistake??
pls tell me
13.09.2018
1655
views
5
comments
0
Maria
Level 22
Moscow
Question about the task
Notepad for new ideas
Java Syntax
,
Level 6
,
Lesson 11
Resolved
The output is NULL...
The task requirements sounds strange.. could please get some hints? Thanks in advance!
28.10.2020
584
views
2
comments
0
Onome Brownly-Otiede
Level 9
Galway
Question about the task
The whole duck isn't enough
Java Syntax
,
Level 5
,
Lesson 12
Under discussion
do not understand
i do not understand why this is happening pls help
14.10.2020
498
views
2
comments
0
Denis
Level 22
Kharkiv
Question about the task
Human class constructors
Java Syntax
,
Level 10
,
Lesson 11
Under discussion
HELP PLS!
Guys, i am very tired with this. I am worked with this code in IDEA and dont understand anything/ Give me full code pls!
21.06.2019
1211
views
3
comments
0
Dmitri
Level 22
Seversk
Question about the task
List of number arrays
Java Syntax
,
Level 9
,
Lesson 11
Under discussion
I've got a strange message
I've got a strange message: The task does not compile on the server! Though it is working as intended in IJ.
11.11.2020
367
views
4
comments
0
Show more
1
...
107
108
109
110
111
...
366
Please enable JavaScript to continue using this application.