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
ShirAz SiddiQui
Level 8
Karachi
Question about the task
Minimum of four numbers
Java Syntax
,
Level 2
,
Lesson 8
Under discussion
I'm not able to understand this requirement. The min(a, b, c, d) method must use the min(a, b) method.
I'm not able to understand this requirement. The min(a, b, c, d) method must use the min(a, b) method. Can anyone help me understand this question?
1/12/19
1694
views
2
comments
0
Hafsah Jilanee
Level 10
Karachi
Question about the task
Plan to conquer the world
Java Syntax
,
Level 3
,
Lesson 8
Under discussion
Program not working
Can someone please help me where I messed up? I followed the syntax mentioned but it's somehow not running.
1/12/19
1629
views
5
comments
0
Laurap5
Level 9
Vilnius
Question about the task
Even and odd digits
Java Syntax
,
Level 6
,
Lesson 5
Resolved
Please help:(
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); String n1 = reader.readLine(); char ch = n1.charAt(0); int n = Character.getNumericValue(ch); if (n % 2 == 0){ even++; } else if (n % 2 ==1){ odd++
11/21/18
2174
views
11
comments
1
Pawan Harde
Level 4
Mumbai
Question about the task
Do we have a pair?
Java Syntax
,
Level 4
,
Lesson 4
Under discussion
idk how this error is generated
error: incompatible types: int cannot be converted to boolean if(a=b=c){ ^
10/12/18
1731
views
2
comments
0
Angeget
Level 22
Potsdam
Question about the task
Do we have a pair?
Java Syntax
,
Level 4
,
Lesson 4
Resolved
The code is working, can somebody help me how to improve it please?
//first compare all three numbers if(number1 == number2 && number1 == number3 && number2 == number3) System.out.println(number1 + " " + number2 + " " + number3); else if (number2 == number3 ) System.out.println(number2 + " " + number3);
12/24/18
1748
views
1
comment
0
Andrew
Level 29
Seattle
Question about the task
Plan to conquer the world
Java Syntax
,
Level 3
,
Lesson 8
Resolved
IDE not processing current task
IDE issue: Ever since the tasks started using keyboard input (Level 3 Lesson 8) I'm having trouble getting the test to run on the current task. When I select the Verify task button it just reruns test on the previous task. I've been restarting IntelliJ between each task to get it to move on to the
1/10/19
1642
views
2
comments
0
Angeget
Level 22
Potsdam
Question about the task
Make a family
Java Syntax
,
Level 8
,
Lesson 11
Resolved
Don't know what is wrong hier - please i need Help
Don't know what is wrong hier - please i need Help
1/10/19
2263
views
3
comments
0
Dino
Level 13
Zagreb
Under discussion
Can anyone tell me what doesn't work here? Thanks!
package com.codegym.task.task08.task0814; import java.util.HashSet; import java.util.Set; import java.util.Iterator; /* Greater than 10? You're not a good fit for us */ public class Solution { public static HashSet createSet() { // write your code here int[] a = {1, 2, 3, 4,
1/10/19
1284
views
1
comment
0
Ansh Rupani
Level 2
Lucknow
Question about the task
CodeGym. Learn once - use anywhere
Java Syntax
,
Level 1
,
Lesson 4
Under discussion
HOW TO DO THIS PROGRAM PLZ EXPLAIN
I ANT UNDERSTAND HOW TO DO THIS PROGRAM . DO WE HAVE TO USE A LOOP HERE? HOW TO DO THIS PROGRAM PLZ EXPLAIN
12/28/18
1596
views
2
comments
0
Talha Javed
Level 4
sialkot
Under discussion
unlock plz
how to unlock my level 2 lesson 1
9/13/18
1287
views
2
comments
0
Rahul Sakhare
Level 5
Pune
Question about the task
Plan to conquer the world
Java Syntax
,
Level 3
,
Lesson 8
Resolved
Written code using Scanner class but, still getting error..!!
import java.io.*; import java.util.Scanner; public class Solution { public static void main(String[] args) throws Exception { Scanner sc1 = new Scanner(System.in); String name = sc1.next(); int years = sc1.nextInt(); System.out.println(name + " will take over t
1/9/19
1974
views
3
comments
0
Eduardo
Level 23
Coyoacan
Question about the task
Software update
Java Syntax
,
Level 8
,
Lesson 11
Under discussion
Why is the value null?
Hi, I run the program but it always shows a null value (like there where no families or values in the map). What am I missing? Thanks
1/9/19
1423
views
2
comments
0
JGO
Level 4
San Jose
Question about the task
Minimum of three numbers
Java Syntax
,
Level 2
,
Lesson 8
Resolved
Minimum
What mistake am I making in my code?
1/5/19
1457
views
1
comment
0
Syed Tayyab ul Mazhar
Level 12
Karachi
Under discussion
Saved lessons.
How can I view all the lessons I have saved?
1/6/19
1284
views
1
comment
0
Guadalupe Gagnon
Level 37
Tampa
Question about the task
Word search
Java Core
,
Level 10
,
Lesson 10
Resolved
Verification fails, code works
Any reason this fails? code finds words "horizontally, vertically, and diagonally, both forward and backward", even with much larger word searches. Still fails with no explanation as to why.
12/28/18
1855
views
3
comments
0
ANUJA ARJUNAN
Level 5
Munnar
Question about the task
Red scare
Java Syntax
,
Level 3
,
Lesson 4
Under discussion
WHAT IS THE PROBLEM IN THIS I COULDN'T UNDERSTAND ?
PLEASE HELP
1/9/19
1742
views
2
comments
0
Yusra Ansari
Level 9
Karachi
Question about the task
Drawing lines
Java Syntax
,
Level 4
,
Lesson 13
Under discussion
please help
please help
9/16/18
1886
views
6
comments
0
rsingh04
Level 6
Mumbai
Question about the task
Drawing lines
Java Syntax
,
Level 4
,
Lesson 13
Under discussion
What ?
out put is working , 10x10 of 8 but not varified. What is the issue here??
12/27/18
1913
views
3
comments
0
WonderWoman
Level 8
Bangalore
Question about the task
Financial expectations
Java Syntax
,
Level 3
,
Lesson 12
Resolved
nDollars error
Not sure what the issue with is: it threw a huge error: int nDollars = Integer.parseInt(sDollars); I have hence commented it out and used the string sDollars to display n.
8/28/18
2108
views
11
comments
0
Jacqueline Lim
Level 9
Makati
Question about the task
Our first converter!
Java Syntax
,
Level 2
,
Lesson 2
Resolved
Question
What is the main function of "return"?
9/10/18
2192
views
11
comments
0
JGO
Level 4
San Jose
Question about the task
Multiplication table
Java Syntax
,
Level 3
,
Lesson 6
Resolved
Spacing of the numbers
need some help when it comes to properly spacing the numbers
1/8/19
1980
views
3
comments
0
JGO
Level 4
San Jose
Question about the task
Escaping characters
Java Syntax
,
Level 3
,
Lesson 6
Resolved
A bit of help
What am I not doing correct on line 14
1/8/19
1797
views
1
comment
0
hidden #10418787
Level 6
Question about the task
Contract
Java Syntax
,
Level 1
,
Lesson 6
Resolved
The displayed text must match the task conditions
Can somebody tell me where the typo is? I copied everything from the conditions file.
1/4/19
1354
views
4
comments
0
Jeff Jeffy
Level 15
Irvine
Question about the task
Family relations
Java Syntax
,
Level 2
,
Lesson 2
Resolved
Cant put periods, compiler issues. Help?
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(); Woman man.wife=new Woman(); Man woman.husband=new Man();
12/16/18
2149
views
11
comments
0
Sabine Meijran-Prins
Level 7
Enschede
Question about the task
Arithmetic mean
Java Syntax
,
Level 5
,
Lesson 5
Under discussion
Cannot find what I am doing wrong
Keep getting the following error: Exception in thread "main" java.lang.NullPointerException at java.base/jdk.internal.math.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:1838) at java.base/jdk.internal.math.FloatingDecimal.parseDouble(FloatingDecimal.java:110) at java.base/java.lang.D
1/6/19
3757
views
4
comments
0
Aissaoui Zoubeyr
Level 4
Reggane
Under discussion
what's the problem ?
everything is correct but still show this massage: Carefully check the displayed text. It looks like you made a typo.
1/7/19
1491
views
2
comments
0
ANUJA ARJUNAN
Level 5
Munnar
Question about the task
Square of a number
Java Syntax
,
Level 1
,
Lesson 8
Archived
what is the wrong here?
public class Solution { public static void main(String[] args) { int a = 5; int b = a * a; System.out.println(b); } public static int sqr(int a) { return a * a; } }
1/4/19
1740
views
5
comments
0
Peerawas
Level 18
Question about the task
Shall we play?
Java Core
,
Level 6
,
Lesson 13
Under discussion
4th condition please help
Thanks :)
1/5/19
1853
views
4
comments
0
Peerawas
Level 18
Question about the task
Let's make the code do something useful!
Java Syntax
,
Level 9
,
Lesson 11
Resolved
Third requirement help
please help
12/25/18
2306
views
6
comments
0
Christopher Wager
Level 12
Westland
Question about the task
Drawing a rectangle
Java Syntax
,
Level 4
,
Lesson 13
Resolved
I dont see whats wrong, output looks correct
I have tried several different ways to make this programs work. Error: The program should display a n x m rectangle made of eights. Be sure that you have displayed the correct number of rows. The rows are correct though when I run the program. Any advice?
10/18/18
2618
views
6
comments
0
Show more
1
...
352
353
354
355
356
...
374
Please enable JavaScript to continue using this application.