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
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
421
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
560
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
681
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
517
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
361
views
0
comments
0
Martin Adamec
Level 20
Nachod
Question about the task
Finding data inside a file
Java Core
,
Level 8
,
Lesson 11
Under discussion
Why does it not validate?
What's wrong? Both of my solutions seem to work correctly when I test them manually.
25.05.2020
460
views
0
comments
0
AnnemiekFF
Level 41
Breda
Question about the task
Recursion for mathematical expressions
Java Collections
,
Level 4
,
Lesson 2
Under discussion
Tweaked some more, still not correct?
I am sure this is becoming waaaay more complicated than it should be. I have tweaked it again, as I found a few cases that didn't work. Now I still can't pass it, but I have no clue where to look for next?
27.05.2020
524
views
0
comments
0
Brandon Leirer
Level 7
Keller
Question about the task
Describing numbers
Java Syntax
,
Level 4
,
Lesson 7
Archived
if you are having trouble with the last requirement...
try changing the input to a number outside of the range like (1000, 0, or -1) and see what gets returned in output. That will set you on the right path.
28.05.2020
552
views
0
comments
0
Naweed
Level 2
Kabul
Question about the task
Pay raise
Java Syntax
,
Level 2
,
Lesson 2
Under discussion
Finally Find it
package com.codegym.task.task02.task0205; /*
30.05.2020
439
views
0
comments
0
Lam Jok
Level 10
Under discussion
The CodeGym server is unavailable. Wait a little, restart IntelliJ IDEA and try again
Can someone help me with this error. Thanks in advance!
30.05.2020
445
views
0
comments
0
Prassha
Level 24
Chagford
Question about the task
Request parser
Java Core
,
Level 5
,
Lesson 12
Under discussion
Hi, please help me. I am getting the correct output with url string (line 27 )
but not getting the same output with when I use s = reader.readLine(); line 24. s = reader.readLine(); this is causing entire program to crash. Tried with Scanner also.
31.05.2020
361
views
0
comments
0
Luke Chapman
Level 3
Braddon
Under discussion
Cant see the output on intellij with CodeGym Plugin
This is crucial as you cant debug your code if you dont know what it's outputting.
31.05.2020
358
views
0
comments
0
Niklas Braun
Level 33
Freiburg
Question about the task
Make a word chain
Java Multithreading
,
Level 2
,
Lesson 9
Under discussion
Can't figure out what's wrong?
Program works with own implementations, but the last two requirements are still not checked?
31.05.2020
386
views
0
comments
0
Dinesh
Level 7
Delhi
Under discussion
I am unable to print the null value programmatically of the following statement.
If a variable of a reference (composite) type isn't storing a reference to an object, then it stores what is known as a 'null reference'. IF String s; & String s=null; are same than why i am not getting null as output. Tried 2 Ex as follows but didn`t get null as output. 1. class Person{
06.01.2021
399
views
5
comments
0
Dinesh
Level 7
Delhi
Under discussion
I want output upto 2 decimal place only. 31.40
//The output is 31.400000000000002 public class Codegym { public static void main(String[] args) { printCircleCircumference(5); } public static void printCircleCircumference(int radius) { //write your code here double result = 2*3.14*radius; System.out.p
07.01.2021
568
views
5
comments
0
Solanki Dhruv
Level 18
Surat
Question about the task
Identical words in a list
Java Syntax
,
Level 10
,
Lesson 11
Under discussion
I got right result...but still fail on website.
?
02.12.2018
1526
views
6
comments
0
Ivan Duka
Level 22
Winnipeg
Question about the task
Array of string lists
Java Syntax
,
Level 10
,
Lesson 11
Under discussion
How to Create an Array of Parameterized Types
Hi! Please help, I am not sure why it does not pass the tests. I strongly suspect that it is about line 20: ArrayList[] result = (ArrayList[])new ArrayList[size]; I tried several ways to declare this array but no luck. As per Oracle's documentation, we Cannot Create Arrays of Parameteriz
07.04.2019
2638
views
5
comments
5
Gellert Varga
Level 23
Szekesfehervar
Under discussion
Reference conversions: widening and narrowing
From the Oracle's website: "A widening reference conversion exists from any reference type S to any reference type T, provided S is a subtype of T. " "Narrowing reference conversions: From any reference type S to any reference type T, provided that S is a proper supertype of T. " 1.) On base of th
06.01.2021
631
views
4
comments
0
Odeh Osayande Vincent
Level 1
Limerick
Under discussion
algorithm
Design an Algorithm for the following Java application that asks a customer to: enter the quantity of items requested from a mail-order catalogue, and the price of each item. The program will then return & display the totalCost of the required items. The results are formatted to
01.05.2020
690
views
0
comments
0
Odeh Osayande Vincent
Level 1
Limerick
Question about the task
Improvements in Java 7 (multiple exceptions)
Java Collections
,
Level 8
,
Lesson 6
Under discussion
write a method called positive values which will calculate and return the number of positive numbers in array
write a method called positive values which will calculate and return the number of positive numbers in array
01.05.2020
869
views
0
comments
0
Syed
Level 1
Bolton
Under discussion
what is subscription fees?
Hi what is subscription fees?
03.05.2020
916
views
0
comments
0
fzw
Level 41
West University Place
Question about the task
Caching
Java Collections
,
Level 4
,
Lesson 8
Under discussion
Why is my code not validating last two requirements?
I can get exactly the same result as the expected output. Thanks.
05.05.2020
814
views
0
comments
0
anele
Level 0
Under discussion
Online teaching
Does online teaching enhance the learning of Business studies at this time of covid 19
06.05.2020
400
views
0
comments
0
myqms
Level 12
Landshut
Under discussion
What is wrong with the markTile method ?
Please help, I can't find the mistake.
06.05.2020
421
views
0
comments
0
Vadim
Level 8
Hounslow
Under discussion
it's something new for me, who can explain me that? Thanks a lot
public class Solution { public static int step; public static void main(String[] args) { method1(); } public static void method1() { method2(); } public static void method2() { new Solution().method3(); } public void method3() { me
14.05.2020
377
views
0
comments
0
Dima Faraj
Level 0
Question about the task
Snake (Part 20/20)
Games
,
Level 0
,
Lesson 1
Under discussion
Help with Snake Collision
I've just finished the course, and am doing bug-fixes. I have no idea how to make the snake move correctly, here's the code relating to my issue: //snake.java package com.codegym.games.snake; import com.codegym.engine.cell.*; import java.util.ArrayList; import java.util.List; public class Snake ex
15.05.2020
665
views
0
comments
0
Arthur
Level 8
Céron
Under discussion
Hello
I don't understand why it doesn't work...
18.05.2020
476
views
0
comments
0
Angus McDonald
Level 5
Sydney
Question about the task
Minesweeper (Part 16/16)
Games
,
Level 0
,
Lesson 0
Under discussion
Final step and code has been adjusted (not by me) which now doesn't function correctly.
Hi team, I've just completed step 15 of the Minesweeper project successfully, moved into step 16 being very pleased with myself seeing that the game is complete and it appears that a bunch of code has been removed / updated when moving from step 15 to 16. The game isn't functioning as it should. I'
19.05.2020
380
views
0
comments
0
Lisa THAZAR
Level 1
Francheville
Under discussion
Hi everyone..This is my code, and the error is the createGame don't call in the initialize.. Can you help me please?
package com.codegym.games.minesweeper; import com.codegym.engine.cell.*; public class MinesweeperGame extends Game { private GameObject[][] gameField = new GameObject[SIDE][SIDE]; // check spelling of GameObject[][] variable above private static final int SIDE = 9; public void ini
20.05.2020
480
views
0
comments
0
BlueJavaBanana
Level 37
Question about the task
Debug everything under the sun
Java Core
,
Level 6
,
Lesson 13
Resolved
Hints/Tips on this Task
I don't want the solution to this task, but I'm really struggling to grasp how to approach this problem. Has anyone got any tips/subtle hints?
14.05.2020
619
views
2
comments
0
Show more
1
...
98
99
100
101
102
...
371
Please enable JavaScript to continue using this application.