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
Java 25
All quests
All levels
Any status
Questions about tasks
Hot
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.
2/12/19
2379
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.
5/3/19
1286
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
4/27/19
1470
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?
5/3/19
1767
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
5/3/19
1480
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); } }
5/3/19
1809
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.
5/3/19
1535
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" ?
5/2/19
1795
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
8/16/18
2575
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?
5/2/19
1288
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
5/2/19
1933
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
5/1/19
1532
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
4/25/19
1285
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
5/2/19
2415
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.
10/2/18
1534
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
4/12/19
1465
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 + " ") ;
4/27/19
1875
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
5/2/19
2746
views
3
comments
0
Connor
Level 8
Boston
Question about the task
Static cats
Java Syntax
,
Level 6
,
Lesson 11
Archived
Having trouble getting it to print the arraylist cats.
I'm not sure what I'm missing, could someone give me a tip?
5/1/19
1588
views
2
comments
0
amous
Level 10
Question about the task
Hello, StarCraft!
Java Syntax
,
Level 3
,
Lesson 4
Resolved
Still not getting right . Anyone ??
It's showing error !!!
8/27/18
1860
views
2
comments
0
Sandra Villani
Level 18
Question about the task
Request parser
Java Core
,
Level 5
,
Lesson 12
Resolved
Code seems correct but won't verify
I seem to be getting the correct output (unless I'm missing a corner case), but the task won't verify. What am I missing? Thanks!
5/1/19
1637
views
2
comments
0
NaveenGS
Level 2
Mumbai
Question about the task
CodeGym. Learn once - use anywhere
Java Syntax
,
Level 1
,
Lesson 4
Under discussion
why its diplaying mistach text??
i have typed the sentence. but still its showing me an error.!
5/1/19
1428
views
2
comments
0
Cinthya Cabanzo
Level 22
Bogota
Question about the task
Duplicating words
Java Syntax
,
Level 7
,
Lesson 9
Under discussion
Why if my code works the verification fails?
HI Pals, I run successfully, duplicate the special words, but when I try to verify, this verification fails, but I cant see what is wrong. Input : alpha beta gamma 1 2 a ds alpha beta gamma result: alpha alpha beta beta gamma gamma 1 2 a ds alpha alpha beta beta gamma gamma
5/1/19
1358
views
2
comments
0
Николай
Level 7
Mariupol'
Question about the task
Seasons on Terra
Java Syntax
,
Level 4
,
Lesson 4
Under discussion
??? what's wrong? It does'n work
package com.codegym.task.task04.task0412; /* Positive and negative numbers */ import java.io.*; public class Solution { public static void main(String[] args) throws Exception { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); String s = reader
4/30/19
1154
views
2
comments
0
Deepak Joshi
Level 17
Nainital
Question about the task
Closest to 10
Java Syntax
,
Level 4
,
Lesson 4
Under discussion
What's wrong with this code?
4/26/19
1521
views
6
comments
0
Bogdan Codreanu
Level 23
Question about the task
Crossing the road blindly
Java Syntax
,
Level 4
,
Lesson 4
Under discussion
help
what am i missing ?
4/29/19
1703
views
2
comments
0
Karan
Level 0
Peshawar
Question about the task
Amigo is very smart
Java Syntax
,
Level 0
,
Lesson 2
Resolved
How to write statment?
How to write statment ?
5/1/19
1475
views
1
comment
0
Djole
Level 41
Belgrade
Question about the task
Chat (part 20)
Java Multithreading
,
Level 6
,
Lesson 15
Resolved
is it bugged?
public class ClientGuiModel extends Client{ private final Set allUserNames = new LinkedHashSet<>(); private String newMessage; public Set getAllUserNames() { return Collections.unmodifiableSet(new LinkedHashSet<>(allUserNames)); } public String getNewMessage
4/30/19
1285
views
2
comments
0
Bogdan Codreanu
Level 23
Question about the task
Rule of the triangle
Java Syntax
,
Level 4
,
Lesson 4
Under discussion
help
????
4/29/19
1586
views
2
comments
0
krishnaprasanna doddapaneni
Level 2
Hyderabad
Question about the task
Square of a number
Java Syntax
,
Level 1
,
Lesson 8
Archived
what is wrong in this code ,getting verification error like this(the main should call the sqr method with 5 as an argument).
public class Solution { public static void main(String[] args) { sqr(5); System.out.println(sqr(5)); } public static int sqr(int a) { return a * a; } }
1/31/19
1982
views
3
comments
0
Show more
1
...
329
330
331
332
333
...
374
Please enable JavaScript to continue using this application.