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
Hafsah Jilanee
Level 10
Karachi
Resolved
How do i attach my code in the help section??
Hi, I've been trying to attach my code but it keeps showing an error, "No available solution. Try submitting the task for verification." I sent it for verification, but since there is an error in my program it won't compile. Can someone help me out?
12/1/18
1393
views
1
comment
0
hidden #10410099
Level 7
Question about the task
Positive and negative numbers
Java Syntax
,
Level 4
,
Lesson 4
Archived
why can't compile
java.lang.NumberFormatException: Solution.java, method main, line: 14 Error converting a string to a number (invalid format). java.lang.NumberFormatException: null at java.lang.Integer.parseInt(Integer.java:542) at java.lang.Integer.parseInt(Integer.java:615) at com.javarush.task.task04.task04
11/30/18
1781
views
1
comment
0
natthan
Level 5
Vancouver
Question about the task
Minimum of three numbers
Java Syntax
,
Level 2
,
Lesson 8
Under discussion
Get right answer, but not complete.
int m2; if(a < b && a < c ){ m2 = a; } else if (b < a && b < c){ m2 = b; } else{ m2 = c;
11/20/18
1682
views
4
comments
0
tsering
Level 2
Palo Alto
Question about the task
2 + 3 = 5
Java Syntax
,
Level 0
,
Lesson 8
Under discussion
I don’t know where I went wrong in this code, although the output is correct.
package com.codegym.task.task01.task0108; /* 2 + 3 = 5 */ public class Solution { public static void main(String[] args) { int a = 3, b = 2; //System.out.print("two"); System.out.print(b); System.out.print(" plus "); //System.out.print(" minus ");
11/20/18
1468
views
3
comments
0
Rupal Singh
Level 0
Question about the task
2 + 3 = 5
Java Syntax
,
Level 0
,
Lesson 8
Under discussion
i think below stated code is quite true.....then why 4th condition of the task not getting satisfied
package com.codegym.task.task01.task0108; /* 2 + 3 = 5 */ public class Solution { public static void main(String[] args) { int a = 3, b = 2; //System.out.print("two"); System.out.print(b); System.out.print(" plus "); //System.out.print(" minus ");
11/25/18
1689
views
1
comment
0
sathya
Level 10
Cedar Park
Question about the task
2 + 3 = 5
Java Syntax
,
Level 0
,
Lesson 8
Under discussion
What is wrong here ? Is it a server issue ? CodeGym guys please help
package com.codegym.task.task01.task0108; /* 2 + 3 = 5 */ public class Solution { public static void main(String[] args) { int a = 3, b = 2; //System.out.print("two"); System.out.print(b); System.out.print(" plus "); //System.out.print(" minus ");
11/14/18
1321
views
2
comments
0
Shabbir Ahmed
Level 2
Dhaka
Question about the task
2 + 3 = 5
Java Syntax
,
Level 0
,
Lesson 8
Under discussion
What's the problem on it?
Please identify my problem and help me out
11/13/18
1492
views
6
comments
0
Mack
Level 20
Osiedle-Nowiny
Question about the task
Shall we play?
Java Core
,
Level 6
,
Lesson 13
Resolved
Where is error?
help, please
11/30/18
1681
views
2
comments
0
Wojtek
Level 23
Solec-Zdroj
Question about the task
No comments needed
Java Syntax
,
Level 0
,
Lesson 8
Under discussion
something wrong with code
what is wrong here?
11/30/18
1401
views
1
comment
0
Sasha
Level 20
Novi Sad
Question about the task
Somehow average
Java Syntax
,
Level 4
,
Lesson 16
Under discussion
I can't verify it
Code works when I try to run it in all possible variations, just can't verify it. Please help!
11/24/18
1653
views
5
comments
0
Aditya Srivastava
Level 4
Knoxville
Question about the task
Plan to conquer the world
Java Syntax
,
Level 3
,
Lesson 8
Under discussion
Error in verifying
I am getting an error on verifying but when Irun the program,It's running correctly RECOMMENDATION FROM YOUR MENTOR Be sure that you haven't mixed up the order of reading in the name and number from the keyboard. Check the conditions.
11/6/18
2092
views
4
comments
0
Sabine Meijran-Prins
Level 7
Enschede
Question about the task
Minimum of two numbers
Java Syntax
,
Level 2
,
Lesson 8
Resolved
Is this task with an if-statement a mistake of done on purpose?
I am wondering... Is a task like this, with an if-statement that was not mentioned before done on purpose (for extra learning experience) or is it a mistake?
11/29/18
2346
views
2
comments
0
Solanki Dhruv
Level 18
Surat
Question about the task
Make a family
Java Syntax
,
Level 8
,
Lesson 11
Resolved
Where is the problem?
?
11/29/18
2281
views
4
comments
0
Sheheryar
Level 7
Islamabad
Question about the task
Somehow average
Java Syntax
,
Level 4
,
Lesson 16
Under discussion
my code 100% correct But...Help!
My code id giving all the combinations' answers correct, i tried it in eclipse too but it just doesn't get verified, why?
11/23/18
1652
views
1
comment
0
Jaisingh
Level 14
Hyderabad
Question about the task
In the blue depths of the stack trace…
Java Syntax
,
Level 9
,
Lesson 2
Under discussion
as i expected that the getStackTrace() gives us the array of stackElements so i used an count variable to count and then display it... but it goes wrong . please do tell me whats wrong with it
10/1/18
2053
views
7
comments
0
Dirk
Level 4
Utrecht
Question about the task
Crossing the road blindly
Java Syntax
,
Level 4
,
Lesson 4
Under discussion
display text error.
If the light is green, display: "green" If the light is green, display: "yellow" If the light is green, display: "red". These are the errors I get. Somebody can help me please?
11/8/18
1892
views
6
comments
0
Anatoliy Usachev
Level 4
Buzuluk
Question about the task
Minimum of three numbers
Java Syntax
,
Level 2
,
Lesson 8
Resolved
What's the problem in the code?
Tell me please, where is my mistake?
11/28/18
1377
views
1
comment
0
LikoGopi
Level 3
Chennai
Question about the task
Minimum of four numbers
Java Syntax
,
Level 2
,
Lesson 8
Under discussion
could any one help me whats error in it? please..........
The min(a, b, c, d) method must return the minimum of the numbers a, b, c, and d.(only this error obtaining) no compilation error but error in return funcution package com.codegym.task.task02.task0217; /* Minimum of four numbers */ public class Solution { public static int min(int a, int b
11/28/18
1589
views
4
comments
0
Brice
Level 8
Douala
Question about the task
Somehow average
Java Syntax
,
Level 4
,
Lesson 16
Under discussion
Somehow average
No matter how I twist this task am still stuck. Have tried more than a dozens of inputs(even negative numbers) which gave me the correct output, but codegym says "NO". Please for help
11/27/18
1669
views
4
comments
0
Jacqueline Lim
Level 9
Makati
Question about the task
Our first converter!
Java Syntax
,
Level 2
,
Lesson 2
Resolved
Another hint for this task
Try using 1.8 instead of 9/5 in the formula. Therefore, the formula for the conversion is: fahrenheit = (celsius*1.8) + 32
9/10/18
1879
views
4
comments
2
Okabe Rintarou
Level 4
Question about the task
Seasons on Terra
Java Syntax
,
Level 4
,
Lesson 4
Resolved
what is wrong with my calculations for the winter months??????
I don't understand where I am getting the code wrong... please help.
11/26/18
2041
views
2
comments
0
Sindhura
Level 15
Delhi
Question about the task
HashMap of 10 pairs
Java Syntax
,
Level 8
,
Lesson 3
Under discussion
not sure why its not verifying
package com.codegym.task.task08.task0802; /* HashMap of 10 pairs */ import java.util.HashMap; import java.util.Map; public class Solution { public static void main(String[] args) throws Exception { //write your code here HashMap<String, String> h = new HashMap<Stri
10/4/18
1767
views
1
comment
0
Sabine Meijran-Prins
Level 7
Enschede
Question about the task
Max, Bella, and Jack
Java Syntax
,
Level 2
,
Lesson 3
Under discussion
What is the difference between a reference, and object and an instance..
Goodmorning, I have an idea, but I do not get it 100% yet.. Do I understand it right that: A reference is just a reference to an object (like the box-example, it is just a note with a phone number that refers to the object neighbour?) If this is true, why does the reference has a name, and not the
11/27/18
1520
views
4
comments
0
Swati
Level 8
Pune
Question about the task
The whole duck isn't enough
Java Syntax
,
Level 5
,
Lesson 12
Resolved
Please help me to understand this program.
I am not able to understand the objects are created in the program,but they are not used to call toString method.Still it is executed.and in System.out.println we are using reference to the same class (or object of that class). Can anyone help me to understand the program.
11/27/18
1660
views
2
comments
0
Thoenes
Level 4
Nairobi
Question about the task
Plan to conquer the world
Java Syntax
,
Level 3
,
Lesson 8
Resolved
can'tt find the error
can'tt establish the error. please help
11/26/18
1456
views
2
comments
0
Sabine Meijran-Prins
Level 7
Enschede
Question about the task
Pay raise
Java Syntax
,
Level 2
,
Lesson 2
Under discussion
I received an typo error, but I don't see anything wrong..
Do you know why I am getting a typo error?
11/25/18
1593
views
3
comments
0
alex
Level 8
Dublin
Under discussion
java.util.Scanner
I'm trying to use java.util.Scanner. Is it not allowed here?
11/14/18
1578
views
2
comments
0
sathya
Level 10
Cedar Park
Question about the task
Plan to conquer the world
Java Syntax
,
Level 3
,
Lesson 8
Under discussion
Please let me know What is wrong with this code. I am not sure why it fails for " The displayed text must fully match the task conditions."
package com.codegym.task.task03.task0318; /* Plan to conquer the world */ import java.io.*; public class Solution { public static void main(String[] args) throws Exception { System.out.print("Number: "); BufferedReader read = new BufferedReader(new InputStreamReader(
11/26/18
1791
views
3
comments
0
Vikrat Rana
Level 8
Ludhiana
Question about the task
The end
Java Syntax
,
Level 7
,
Lesson 12
Resolved
why am i getting error???
hey i'm unable to remove error from this code , So if theres anyone online please help me....
10/4/18
1704
views
3
comments
0
Sowmya
Level 3
San Jose
Question about the task
Minimum of four numbers
Java Syntax
,
Level 2
,
Lesson 8
Resolved
i couldn't resolve the condition in main method?
-20 -30 -30 0 this was the output.
11/23/18
1701
views
2
comments
0
Show more
1
...
357
358
359
360
361
...
374
Please enable JavaScript to continue using this application.