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
Joy Majumdar
Level 16
Kolkata
Question about the task
Task about algorithms
Java Syntax
,
Level 9
,
Lesson 11
Under discussion
Should I have to parse the Strings to Int ?
It's very old procedural way though I tried this way. But the arrangement output is not wright
03.05.2019
1313
views
3
comments
0
hidden #10448869
Level 2
Question about the task
No comments needed
Java Syntax
,
Level 0
,
Lesson 8
Resolved
What is the problem?
Hi, Anyone is having the same problem? The logic flow is right, but at the validation it fails.
03.05.2019
922
views
4
comments
0
Николай
Level 7
Mariupol'
Question about the task
Drawing a rectangle
Java Syntax
,
Level 4
,
Lesson 13
Under discussion
what is the problem in this code?
package com.codegym.task.task04.task0436; /* Drawing a rectangle */ import java.io.*; public class Solution { public static void main(String[] args) throws Exception { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); String s1 = reader.readLine(
03.05.2019
1240
views
2
comments
0
Jamp
Level 7
Coruscant
Question about the task
Predictions
Java Syntax
,
Level 3
,
Lesson 8
Resolved
Running error!
Task passes testing both here and in IDEA but it says "Error converting a string to a number (invalid format)." when i try to run it. Whats the problem??
04.05.2019
1164
views
2
comments
0
arafat
Level 4
Dhaka
Question about the task
Task with percentages
Java Syntax
,
Level 3
,
Lesson 3
Resolved
What's wrong in here????????
how to increase the number by 10%???????
08.02.2019
1614
views
6
comments
0
madhushree
Level 3
Bangalore
Question about the task
The required number
Java Syntax
,
Level 2
,
Lesson 5
Under discussion
please help me I am not able run this program
class Resource { int n; boolean val=false; synchronized int get() { while(!val) { try { wait(); } catch(Exception e) {} } System.out.println(“Consumer”+n); try { Thread.sleep(500); } catch(Exception e1) {} val=false; notify(); return n; } synchronized void put(int n) { while(val) { try { wait(); } c
04.05.2019
951
views
1
comment
0
Mareike
Level 4
Question about the task
Playing Javarella
Java Syntax
,
Level 7
,
Lesson 9
Under discussion
Hi, don't know what I've done wrong here.
Hello everyone, I don't know how to get the last two conditions correct. Can somebody help me, please?
28.04.2019
949
views
2
comments
0
Phil Patterson
Level 11
Chisinau
Question about the task
Duplicating words
Java Syntax
,
Level 7
,
Lesson 9
Under discussion
Problem with thrid condition
Output is correct. Can't understand where is the problem. Output of the program (if were inserted numbers as strings). 1 1 2 2 3 3 4 4 5 5 6 6 7 7 8 8 9 9 10 10
02.05.2019
1025
views
4
comments
0
Vikas
Level 3
Delhi
Question about the task
Display the square of a number
Java Syntax
,
Level 1
,
Lesson 3
Resolved
Java Syntax, Level 1, Lesson 3
is there any 1 who can help me to solve this quistion. plz
31.07.2018
1756
views
7
comments
0
Mareike
Level 4
Question about the task
Time for 10,000 insertions
Java Syntax
,
Level 8
,
Lesson 6
Resolved
Any tips for how to return the time??
Hello everyone, any tips for how to return the time? public class Solution { public static void main(String[] args) { System.out.println(getInsertTimeInMs(new ArrayList())); System.out.println(getInsertTimeInMs(new LinkedList())); } public static long getInsertTimeInMs(L
03.05.2019
2299
views
3
comments
0
Balen Asangbeh
Level 23
Douala
Question about the task
Most frequent bytes
Java Core
,
Level 8
,
Lesson 3
Under discussion
pls what`s wrong
pls what`s wrong
03.04.2019
1431
views
1
comment
1
Azja
Level 32
Krakow
Resolved
Intellij IDEA all time indexing [fixed]
Hi! I have a problem with Intellij IDEA. It all time indexing, and updating indices. I tried to use FILE -> Invalidate Caches / Restart but didn't help. I tried to exclude some folders but it still didn't help, but when I RUN some project indexing pausing and there is few minutes to work calmly b
20.04.2019
1823
views
2
comments
1
Thebe
Level 7
Benares
Question about the task
Lonely arrays interact
Java Syntax
,
Level 7
,
Lesson 4
Archived
Lonely Arrays Interact
It is printing 10 numbers respective to the string array index but is not being verified.
12.02.2019
2052
views
3
comments
2
Daniel Buyinza
Level 13
Kampala
Question about the task
Minimum of three numbers
Java Syntax
,
Level 2
,
Lesson 8
Under discussion
Why is my code not being accepted?
When I run the code I see that I'm outputting the minimum of the three numbers. I even worked it out using an IDE.
03.05.2019
1018
views
3
comments
0
asyraf
Level 3
Kuala Lumpur
Question about the task
Our first converter!
Java Syntax
,
Level 2
,
Lesson 2
Under discussion
Can someone explain me what my code does?
package com.codegym.task.task01.task0130; /* Our first converter! */ public class Solution { public static void main(String[] args) { System.out.println(convertCelsiusToFahrenheit(41)); } public static double convertCelsiusToFahrenheit(int celsius) { //write your cod
27.04.2019
1190
views
2
comments
0
Darko Jakimovski
Level 18
Kriva Palanka
Question about the task
Reading a file
Java Core
,
Level 3
,
Lesson 11
Archived
What seems to be the officer, problem?
What's "too few lines" suppose to mean?
03.05.2019
1446
views
4
comments
0
Satya Vath
Level 31
Vijayawada
Question about the task
Hippodrome (part 9)
Java Multithreading
,
Level 1
,
Lesson 16
Resolved
Help Please
Where is The Mistake
03.05.2019
1235
views
2
comments
0
John
Level 7
Houston
Question about the task
The required number
Java Syntax
,
Level 2
,
Lesson 5
Resolved
Solution
public class Solution { public static void main(String[] args) { int x = 1; int y = 0; y = y + 3 * x; // x = x * 2; x = x * 16; // y = y + 2 * x; y = y + x; System.out.println(y); } }
03.05.2019
1537
views
1
comment
0
Deepak Joshi
Level 17
Nainital
Question about the task
Task about algorithms
Java Syntax
,
Level 8
,
Lesson 11
Under discussion
Whats Wrong with this code?
Why the last condition is not satisfying.
03.05.2019
1268
views
1
comment
0
Henk
Level 19
Pretoria
Question about the task
Month number
Java Syntax
,
Level 8
,
Lesson 11
Resolved
Please have a quick look ?
Not sure why it doesn't accept it. Says I have a "typo" ?
02.05.2019
1541
views
3
comments
0
David Sunil
Level 4
kakinada
Question about the task
Price of apples
Java Syntax
,
Level 4
,
Lesson 1
Resolved
pls help
how to solve this
16.08.2018
2237
views
3
comments
0
Derek
Level 11
Apex, NC
Question about the task
Number of letters
Java Syntax
,
Level 10
,
Lesson 11
Under discussion
Working, but doesn't verify
Seems to be working when I run it, but it's failing the last test. Any ideas?
02.05.2019
1027
views
2
comments
0
Ash Ka
Level 13
Calgary
Question about the task
Shortest or longest
Java Syntax
,
Level 7
,
Lesson 6
Under discussion
Help! The program displays the shortest and longest string correctly whichever occurs first in the list but the requirements are failing
Running the program with the inputs is giving the correct answer but does not satisfy the conditions
02.05.2019
1645
views
5
comments
0
Ash Ka
Level 13
Calgary
Question about the task
To the top of the list
Java Syntax
,
Level 7
,
Lesson 6
Resolved
Cannot understand the requirement
Can someone please explain the requirement. Especially points 2 and 3 - Requirements: 1. Declare a string list variable and immediately initialize it. 2. The program should read 10 strings from the keyboard and add them to the list. 3. The program should add lines to the beginning of the list. 4. T
01.05.2019
1197
views
2
comments
0
Ash Ka
Level 13
Calgary
Question about the task
Streets and houses
Java Syntax
,
Level 7
,
Lesson 4
Archived
What's wrong here ?
Program ran fine and checked with different inputs but task is failing verification
25.04.2019
1021
views
4
comments
0
dean
Level 8
Deutschland
Question about the task
Console-based piggy bank
Java Syntax
,
Level 5
,
Lesson 12
Resolved
Infinite loop
I get an infinite loop..i also tried with if and break but still got an infinite loop.. what am i missing thanks
02.05.2019
2157
views
2
comments
0
Martin Evtimov
Level 22
Chicago
Question about the task
Five winners
Java Syntax
,
Level 8
,
Lesson 11
Under discussion
help
The code works perfectly fine. I don't know what the assignment wants.
02.10.2018
1266
views
4
comments
0
Oleh
Level 32
Kyiv
Question about the task
Those who love work need no entertainment
Java Multithreading
,
Level 6
,
Lesson 5
Resolved
Help
Console output
12.04.2019
1166
views
5
comments
0
Bogdan Codreanu
Level 23
Question about the task
Multiplication table
Java Syntax
,
Level 3
,
Lesson 6
Under discussion
can someone tell me please what is wrong with my code ?
package com.codegym.task.task03.task0314; /* Multiplication table */ public class Solution { public static void main(String[] args) { int i , j ; for ( i=1 ; i<=10 ; i++ ) for (j=1 ; j<=10 ; j++) System.out.println(i * j + " ") ;
27.04.2019
1429
views
6
comments
0
Yudhi Pratama
Level 7
Jakarta
Question about the task
Playing Javarella
Java Syntax
,
Level 7
,
Lesson 9
Under discussion
for (Integer x: list)
Hi, nothing wrong with my code. I'm just asking to clarify about something. public static void printList(List list) { for (Integer x: list) System.out.println(x); //write your code here } Is my understanding of the 2nd line as: "for every Integer x in the list, print x in every
02.05.2019
2346
views
3
comments
0
Show more
1
...
321
322
323
324
325
...
366
Please enable JavaScript to continue using this application.