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
Swati
Level 8
Pune
Question about the task
Escaping characters
Java Syntax
,
Level 3
,
Lesson 6
Resolved
not understand this program
How to print required output for the program? not getting Hint provided....what does it mean?
10/22/18
1615
views
2
comments
0
Shahanshah Alam
Level 9
Mohali
Question about the task
Notepad for new ideas
Java Syntax
,
Level 6
,
Lesson 11
Under discussion
help please...what causing error?
public class Solution { public static void main(String[] args) { printIdea(new Idea()); idea.getDescription("name"); } public static void printIdea(Idea idea){ System.out.println(getDescription()); } public static class Idea{ String s;
9/25/18
1633
views
3
comments
0
Kabeer Rajoria
Level 5
Gwalior
Question about the task
Minimum of three numbers
Java Syntax
,
Level 2
,
Lesson 8
Under discussion
What is wrong with this code?
package com.codegym.task.task02.task0216; /* Minimum of three numbers */ public class Solution { public static int min(int a, int b, int c) { int m = 0; if (a<=b && b<=c) m = a; if (a<=b && b>= c) m = a; if (b<=a &
10/21/18
1611
views
1
comment
0
Jacqueline Lim
Level 9
Makati
Question about the task
More Sam-I-Am
Java Syntax
,
Level 7
,
Lesson 9
Resolved
WHAT'S THE PROBLEM?
How to suffice the fourth requirement? What's the error in my code?
10/21/18
2276
views
2
comments
0
rsingh04
Level 6
Mumbai
Question about the task
Plan to conquer the world
Java Syntax
,
Level 3
,
Lesson 8
Under discussion
java.lang.NumberFormatException: Solution.java, method main, line: 17
what is wrong in my code 17 line
10/19/18
1677
views
4
comments
0
Sheetal Neeraj
Level 2
Bangalore
Under discussion
What is the error??
package com.codegym.task.task02.task0204; /* Family relations */ public class Solution { public static void main(String[] args) { //write your code here Man man=new Man(); Woman woman=new Woman(); man.wife()=Man; woman.husband()=Woman; } public
10/21/18
1389
views
1
comment
0
Sindhura
Level 15
Delhi
Question about the task
User, loser, coder and programmer
Java Core
,
Level 4
,
Lesson 8
Resolved
not verifying ..Pleasee help
package com.codegym.task.task14.task1411; import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.Arrays; /* User, loser, coder and programmer */ public class Solution { public static void main(String[] args) throws Exception { BufferedReader reader = new Bu
10/14/18
1622
views
2
comments
0
Kim Lai
Level 4
Arlington
Question about the task
Minimum of three numbers
Java Syntax
,
Level 2
,
Lesson 8
Resolved
Help!!!
Does anyone know why this isn't working? package com.codegym.task.task02.task0216; /* Minimum of three numbers */ public class Solution { public static int min(int a, int b, int c) { int min1; if (a <= b && a <= c) { min1 = a;
10/17/18
1997
views
8
comments
0
Juan Gallardo
Level 10
Edmonton
Question about the task
Crossing the road blindly
Java Syntax
,
Level 4
,
Lesson 4
Resolved
My program works! So what if I'm not using modulo!
Arrgh!
10/21/18
2263
views
2
comments
0
Sargam
Level 3
Aligarh
Question about the task
Minimum of three numbers
Java Syntax
,
Level 2
,
Lesson 8
Under discussion
can' t find the error
It says min() must return the minimum value and my code is returning it. help me resolve it.
10/20/18
1342
views
2
comments
0
Christopher Wager
Level 12
Westland
Question about the task
A name is a name
Java Syntax
,
Level 4
,
Lesson 16
Resolved
Cannot pass the task, but ouput looks correct
Here is another one that seems easy enough, but I can not complete the task. I don't have a clue whats wrong.... any advice,
10/20/18
1381
views
1
comment
0
Christopher Wager
Level 12
Westland
Question about the task
Plan to conquer the world
Java Syntax
,
Level 3
,
Lesson 8
Resolved
No matter what I try, the last task fails everytime. Please help
Here is my code for Plan to conquer the world 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 { //write your code BufferedReader reader = new Buff
10/6/18
1800
views
3
comments
0
Christopher Wager
Level 12
Westland
Question about the task
Adding
Java Syntax
,
Level 4
,
Lesson 16
Resolved
Now the website is just messing with me
This program seem easy enough. But once again, I cannot pass the task. I don't see what the problem could be.
10/20/18
1741
views
1
comment
0
mayuri
Level 3
Question about the task
Escaping characters
Java Syntax
,
Level 3
,
Lesson 6
Resolved
Help
HELP
8/31/18
2041
views
5
comments
0
Skylar
Level 2
Flint
Question about the task
Square of a number
Java Syntax
,
Level 1
,
Lesson 8
Archived
I've tried a few things can't figure out what it means to do?
Basically above says everything I tried defining sqr even though it looks like its defined just in a weird way and then I tried without and just calling it and I also tried defining "a"
10/10/18
1544
views
3
comments
0
ShirAz SiddiQui
Level 8
Karachi
Question about the task
I'm 15 again!
Java Syntax
,
Level 1
,
Lesson 4
Under discussion
This error appears when i run my code. The value assigned to the variable age must be 15.
This error appears when i run my code. The value assigned to the variable age must be 15.
9/19/18
1402
views
5
comments
0
kirti
Level 8
Question about the task
Shuffled just in time
Java Syntax
,
Level 7
,
Lesson 12
Under discussion
helpp...
there is problem with remove statement but i can't able to find out. please help
10/19/18
1629
views
2
comments
0
sriharsha
Level 1
Hyderabad
Question about the task
I think being a programmer is cool
Java Syntax
,
Level 0
,
Lesson 3
Resolved
pls help
It's show's some error ...
10/19/18
1428
views
3
comments
0
DuesVultKek
Level 7
Jacksonville
Question about the task
Currency exchange
Java Syntax
,
Level 3
,
Lesson 3
Under discussion
Help me please!
My program works fine, in fact, it correctly converts euros to US dollars. However, I didn't pass the requirements which is when I analyze my code, it does what the it does. If there's a minor error, please let me know.
8/26/18
2333
views
4
comments
0
Rad
Level 8
Maidstone
Question about the task
Positive and negative numbers
Java Syntax
,
Level 4
,
Lesson 7
Under discussion
check my code
I gave input numbers it working properly, but showing error as not satisfied all conditions
10/18/18
1786
views
2
comments
0
Rocky Redjie Quimado
Level 1
Question about the task
Display the square of a number
Java Syntax
,
Level 1
,
Lesson 3
Resolved
Guys help me how to display square of a number
Guys can you help me with this i cant understand!! package com.codegym.task.task01.task0140; /* Display the square of a number */ public class Solution { public static int number = 5; public static void main(String[] args) { //write your code her ... } }
8/7/18
1950
views
3
comments
4
Memoona Arif
Level 1
Karachi
Under discussion
what is worng with this code ?
String name="I'm diego"; system.out.println(name); what is wrong with this code ?
10/18/18
1402
views
1
comment
0
Vijay Rangan
Level 5
Jakarta
Question about the task
Implement the print method
Java Syntax
,
Level 2
,
Lesson 1
Resolved
what's the link between s and Solution
can anyone explain why something in main function "Solution" display when I print s....while there is no assign operation like s = Solution in the program
9/16/18
1951
views
5
comments
0
imran khan
Level 6
islamabad
Question about the task
18+
Java Syntax
,
Level 4
,
Lesson 6
Under discussion
help
public class Solution { public static void main(String[] args) throws Exception { //write your code here BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String s = br.readLine(); int n = Integer.parseInt(s); int age = br.
10/18/18
1431
views
2
comments
0
anotherLearner
Level 18
Barcelona
Question about the task
Console-based piggy bank
Java Syntax
,
Level 5
,
Lesson 12
Resolved
Whats wrong here? i think problem resides in line 24 but i cant solve it. Some help would be apreciated.
package com.codegym.task.task05.task0529; import java.io.BufferedReader; import java.io.InputStreamReader; /* Console-based piggy bank */ public class Solution { public static void main(String[] args) throws Exception { BufferedReader br = new BufferedReader(new InputStreamReader(S
10/18/18
1822
views
1
comment
0
Parmeshwar Kumar Sahu
Level 1
Wani
Under discussion
Error
What's meaning of error: "package system does not exist"
10/17/18
1401
views
1
comment
0
Tofuu
Level 4
Wilmington
Question about the task
Seasons on Terra
Java Syntax
,
Level 4
,
Lesson 4
Resolved
Else Without If
So i tried after line 25: else if (month > 8 && month < 12) System.out.println("autumn"); But it wouldn't work... I also tried: else System.out.println("autumn"); Error: 'else' without 'if': Solution.java, line: 26, column: 9 // com/codegym/task/task04/task
10/17/18
3016
views
4
comments
2
Eduardo
Level 23
Coyoacan
Question about the task
Three numbers
Java Syntax
,
Level 4
,
Lesson 6
Resolved
Not sure why it won't run
Hi, not sure why i get an error in line 16 if I run it without verification. If i try to verify it the first two conditions are met, but not the other two. Any pointers? Thanks
10/17/18
1942
views
1
comment
0
kapil
Level 12
delhi
Question about the task
Plan to conquer the world
Java Syntax
,
Level 3
,
Lesson 8
Resolved
i have checked the code is running in intellij ide but not in codegym.....i have tried a lot please help what is the problem
import java.io.*; public class Solution { public static void main(String[] args) throws IOException { //write your code here BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); System.out.println("enter your name"); String name = br.readLine
10/16/18
1859
views
4
comments
0
Shahanshah Alam
Level 9
Mohali
Question about the task
Changing functionality
Java Syntax
,
Level 7
,
Lesson 12
Resolved
what should i have to do in __ position to print string three and two time as per given condition
public class Solution { public static void main(String[] args) throws IOException { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); ArrayList<String> list = new ArrayList<String>(); while (true) { String s = reader.r
10/1/18
1961
views
8
comments
0
Show more
1
...
363
364
365
366
367
...
374
Please enable JavaScript to continue using this application.