Promotion
CodeGym University
Java FullStack
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
Angeget
Level 22
Potsdam
Question about the task
Most frequent bytes
Java Core
,
Level 8
,
Lesson 3
Resolved
What i am doing wrong? HELP HELP PLEASE!!
What i am doing wrong? HELP HELP PLEASE!!
2/18/19
2263
views
10
comments
2
Nico
Level 16
Bellevue
Under discussion
Can't go through the test even though it runs correctly
The following condition is not met even though the program runs correctly. The displayClosestToTen method should display a number on the screen in accordance with the task conditions. public static void displayClosestToTen(int a, int b) { // write your code here int a1 = abs(a
9/22/19
961
views
1
comment
0
Satya Vath
Level 31
Vijayawada
Question about the task
Space Invaders (Part 28/34)
Games
,
Level 0
,
Lesson 6
Under discussion
Help Me
Please Help
10/7/19
1062
views
2
comments
0
JavaJavaJava
Level 3
Question about the task
Where does a Person come from?
Java Syntax
,
Level 2
,
Lesson 2
Resolved
what is the error in this code? please help.
public class Solution { public static void main(String[] args) { Person Person=new Person (); } public static class Person { String name; int age; int weight; int money; } }
5/6/19
1897
views
10
comments
0
jorge ives murillo paredes
Level 1
New York City
Question about the task
Clew
Java Core
,
Level 6
,
Lesson 13
Under discussion
Can somebody from codegym explain why stop works and interrupt doesnt
package com.codegym.task.task16.task1632; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.List; public class Solution { public static List threads = new ArrayList<>(5); static {
10/8/19
1302
views
1
comment
0
Anonymous #10438472
Level 3
Question about the task
Introducing tags
Java Core
,
Level 9
,
Lesson 11
Under discussion
What is wrong? The code gives expected result but do not pass the test
Please, could somebody check what I am missing here? The code gives result as in the example but do not pass the testing :(
10/6/19
1375
views
4
comments
0
Satya Vath
Level 31
Vijayawada
Question about the task
Space Invaders (Part 26/34)
Games
,
Level 0
,
Lesson 6
Under discussion
Please Help Me
I Cant Understand Where I went Wrong
10/7/19
1245
views
10
comments
0
Leo
Level 3
Question about the task
Parenthetical brainteaser
Java Syntax
,
Level 3
,
Lesson 4
Under discussion
Please help...
Someone please help with this question. I have tried countless different patterns to try and output 382 but I have yet to succeed. I understand PEMDAS and the order of operations but I would really like to move one and continue learning. Could someone please help and explain. I appreciate any comme
9/9/19
2094
views
7
comments
0
Gábor
Level 14
Budapest
Question about the task
In decreasing order
Java Syntax
,
Level 7
,
Lesson 12
Under discussion
addig the right code to the sort method killing all the other Requirements:
How does these lines of codes (int the sort method) effect the first req... don't understand pls help :) int temp = Integer.MIN_VALUE; for (int i = 0; i<20; i++){ for (int j = i + 1; i<20; j++){ if (array[i] < array[j]){ temp = arra
9/23/19
1218
views
1
comment
0
phis
Level 12
Question about the task
Longest sequence
Java Syntax
,
Level 8
,
Lesson 6
Under discussion
Try too many times,but still cannot solve this problem
It seems get the right answer, but cannot fulfill the last requirement.
9/24/19
1165
views
1
comment
0
Naveen Muralidoss
Level 9
Newark
Question about the task
Kind Emma and the summer holidays
Java Syntax
,
Level 8
,
Lesson 8
Under discussion
not sure what's wrong
package com.codegym.task.task08.task0816; import java.text.DateFormat; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.*; /* Kind Emma and the summer holidays */ public class Solution { public static HashMap createMap() throws ParseException { Da
10/4/19
1261
views
2
comments
0
coder_here
Level 13
Hyderabad
Question about the task
Functionality is not enough!
Java Syntax
,
Level 10
,
Lesson 11
Resolved
I'm stuck!!
Can anyone help me sort this mess? Couldn't compile the code and satisfy the last condition...
7/29/19
1409
views
2
comments
0
Clarendon lee
Level 8
Baltimore
Question about the task
Positive and negative numbers
Java Syntax
,
Level 4
,
Lesson 4
Archived
Task no met
Verify said : task is no met ! What's my code wrong Thanks a lot?
10/6/19
1244
views
1
comment
0
Alexandru Ovcinicov
Level 15
London
Question about the task
Bridges
Java Core
,
Level 4
,
Lesson 8
Under discussion
People, please explain what is the difference if i put/orNot a "public" accesor before printl(Bridge bridge) method?
public class Solution { public static void main(String[] args) { println(new WaterBridge()); println(new SuspensionBridge()); } // Add println method here public static void println(Bridge bridge){ System.out.println(bridge.getCarsCount()); } }
10/6/19
1615
views
2
comments
0
fifi deng
Level 22
Paris
Question about the task
Display numbers in reverse order
Java Syntax
,
Level 7
,
Lesson 12
Under discussion
pls ,ask for a help
march pas
10/5/19
1124
views
2
comments
0
Yash
Level 15
Sugar Hill
Question about the task
Vowels and consonants
Java Syntax
,
Level 9
,
Lesson 11
Resolved
Why Not Work
The output is correct but verification fails.
10/6/19
1354
views
1
comment
0
Clarendon lee
Level 8
Baltimore
Question about the task
Rule of the triangle
Java Syntax
,
Level 4
,
Lesson 4
Under discussion
Question
Why. Verify the result say " Task requirements are not met "? Thanks a lot! I have changed my code, but say no met yet ?
10/5/19
1315
views
5
comments
0
Dominik
Level 1
Question about the task
ConsoleReader class
Java Syntax
,
Level 6
,
Lesson 8
Resolved
Why it doesn't work
Why this code doesn't work? I checked it, and it return right values, but verification all the time shows every requirements are not fulfil "The readString method must read and return a String." "The readInt method must read and return an int." etc.
10/5/19
2144
views
2
comments
0
Yash
Level 15
Sugar Hill
Question about the task
Catching custom exceptions
Java Syntax
,
Level 9
,
Lesson 8
Resolved
Not Sure
Unable to understand what I did wrong.
10/5/19
1781
views
1
comment
0
Vivek Dhull
Level 25
Mumbai
Question about the task
Justice
Java Core
,
Level 6
,
Lesson 5
Under discussion
How to fix this one?
Help me out plz!
6/22/19
1116
views
1
comment
0
Gábor
Level 14
Budapest
Question about the task
Shuffled just in time
Java Syntax
,
Level 7
,
Lesson 12
Under discussion
what is the difference between the two code?
If I am using the code in the comments it's not filling the requirments. but with buffered reader it is working What am I missing from the code in the comment? Code in the comment! Thank in advance :)
9/21/19
1533
views
3
comments
0
Mithilesh Kumar Chaurasiya
Level 1
Bangalore
Question about the task
Minesweeper (Part 7/16)
Games
,
Level 0
,
Lesson 0
Under discussion
Not passing test
How can i resolve these problem
8/24/19
1057
views
1
comment
0
Oleg Tokarenko
Level 19
L'viv
Question about the task
Request parser
Java Core
,
Level 5
,
Lesson 12
Resolved
Can someone explain what might be wrong with the code? This particular section:
for (String line : arrOfStr) { if (line.contains("=")) { try { double d = Double.parseDouble(line.substring(line.indexOf('=') + 1)); if (d % 1 == 0) break; alert(d); b
5/23/19
1684
views
2
comments
2
Arjun Kiruthivasan
Level 14
Chennai
Question about the task
Minimum and Maximum
Java Core
,
Level 1
,
Lesson 11
Under discussion
where am i wrong??
somebody pls clarify my doubt
10/4/18
1730
views
2
comments
0
Luis Rodriguez Ugarte
Level 22
Chatillon-sur-Chalaronne
Question about the task
Five winners
Java Syntax
,
Level 8
,
Lesson 11
Resolved
Problem with sort methods
When i debug sort method, array algorithm is working good. It's getting the values from the highest to the lowest but when it back to the main method the array value back with the original values.. Any ideas?
9/25/19
1711
views
8
comments
0
Zbigniew
Level 23
Dabrowa Tarnowska
Question about the task
Sequential file output
Java Core
,
Level 6
,
Lesson 13
Resolved
I don't understand the recommendation
Could you explain what the following recommendation from mentor means: "Be sure that the getFileContents method returns an empty string if the run method has not been started."? What should I change in my code? I've tried this, but it doesn't work: public String getFileContents(){ if
4/20/19
1797
views
5
comments
0
Clarendon lee
Level 8
Baltimore
Question about the task
Seasons on Terra
Java Syntax
,
Level 4
,
Lesson 4
Resolved
Question
What's my code wrong ? Thanks a lot!
10/4/19
1554
views
2
comments
0
// Java Poser
Level 18
Cincinnati
Question about the task
SimpleObject interface
Java Core
,
Level 3
,
Lesson 11
Under discussion
Not sure what I am supposed to do here. confused by the T symbol
public class Solution { public static void main(String[] args) throws Exception { SimpleObject stringObject = new StringObject(); } interface SimpleObject { SimpleObject getInstance(); } //thrown off by the what does this mean?? //and how am i supposed to c
4/10/19
1659
views
2
comments
2
Adnan Razzaq
Level 15
Bamberg
Under discussion
break statement confusion. why the line after that is being read. can some one explain?
package com.codegym.task.task07.task0722; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; /* The end */ public class Solution { public static void main(String[] args) throws IOException { BufferedReader reader
9/24/19
1017
views
1
comment
1
lexter
Level 16
New York
Question about the task
Longest string
Java Syntax
,
Level 7
,
Lesson 6
Archived
this is working on my ide but still requirements 3 and 4 are not met.
feedback pls
9/25/19
1024
views
1
comment
0
Show more
1
...
275
276
277
278
279
...
374
Please enable JavaScript to continue using this application.