AI Academy
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
shaan mohd khan
Level 13
Jhansi
Question about the task
Shortest or longest
Java Syntax
,
Level 7
,
Lesson 6
Under discussion
what's wrong in my code...
package com.codegym.task.task07.task0712; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.util.ArrayList; /* Shortest or longest */ public class Solution { public static void main(String[] args) throws Exce
2/5/19
1664
views
2
comments
0
Yusra Ansari
Level 9
Karachi
Question about the task
The end
Java Syntax
,
Level 7
,
Lesson 12
Under discussion
Can someone help?
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/27/18
1931
views
6
comments
0
Alex Balandinos
Level 18
Lusaka
Question about the task
Positive and negative numbers
Java Syntax
,
Level 4
,
Lesson 4
Archived
Hey y'all ? I don't understand the code to make the number double if it's postive.....
2/5/19
2089
views
7
comments
0
Jyothi
Level 20
Question about the task
Shuffled just in time
Java Syntax
,
Level 7
,
Lesson 12
Resolved
Verify fails for moving m strings.
Please advise. Screen output from the program (System.out) In Spain Stays Mainly The Rain Input data (System.in) 6 2 The Rain In Spain Stays Mainly
12/27/18
2024
views
3
comments
0
Naina Sahu
Level 4
Mumbai
Question about the task
Multiplication table
Java Syntax
,
Level 3
,
Lesson 6
Under discussion
Help
what's the mistake in this code. Using while loop.
2/4/19
1762
views
5
comments
0
Tapan Kumar
Level 8
Question about the task
The basis of a wheel
Java Syntax
,
Level 5
,
Lesson 9
Under discussion
why is it failed?
Don't know
2/5/19
1615
views
1
comment
0
Tapan Kumar
Level 8
Question about the task
Walking in circles
Java Syntax
,
Level 5
,
Lesson 9
Under discussion
Don't undrstand why it is failed ?
Help
2/5/19
1655
views
1
comment
0
Fadi AlSaidi
Level 13
Carrollton
Question about the task
Task about algorithms
Java Syntax
,
Level 9
,
Lesson 11
Resolved
words in Ascending order
I am getting the required results per the example provided, but still failing the "The displayed words should be sorted in ascending order (using the provided isGreaterThan method)" !!! any words of advice?
2/2/19
1945
views
2
comments
0
hidden #10424566
Level 7
Question about the task
Minimum of four numbers
Java Syntax
,
Level 2
,
Lesson 8
Under discussion
Kindly please help me understand this challenge i have tried many methods yet nothing works
package com.codegym.task.task02.task0217; /* Minimum of four numbers */ public class Solution { public static int min(int a, int b, int c, int d) { int m3=min(a,b); int minValue; int m1; if(c
2/4/19
1837
views
8
comments
0
Dmitriy Konoplev
Level 11
Khabarovsk
Question about the task
Going national
Java Syntax
,
Level 8
,
Lesson 11
Archived
What about the space at the end?
I solved this task this way: char[] list = s.toCharArray(); for (int i = 0; i < list.length; i++) { list[0] = Character.toUpperCase(list[0]); String n = String.valueOf(list[i]); if (n.equals(" ")) list[i+1] = Character.toU
2/4/19
1427
views
3
comments
0
Aayush vyas
Level 2
Bangalore
Question about the task
Our first converter!
Java Syntax
,
Level 2
,
Lesson 2
Under discussion
solution of convert to celsius to farenheit
public class Solution { public static void main(String[] args) { System.out.println(convertCelsiusToFahrenheit(41)); } public static double convertCelsiusToFahrenheit(int celsius) { //write your code here double cel=celsius; double Fahrenheit = cel * 9/5 + 3
2/3/19
1731
views
1
comment
0
Jane
Level 3
Cape Town
Resolved
IntelliJ 2018.3.4 Homework Plugin Install HELP (Windows 10)
Is there anyone who can help me figure out why I don't see the task options after I installed the plugin and restarted IJ? I don't see the 6 buttons, running version 2018.3.4. Running windows 10 64-bit can see here in the screenshot that the plugin is enabled: But on startup there are no 6 but
1/31/19
2021
views
4
comments
0
bri
Level 7
Sevilla
Question about the task
Arithmetic mean
Java Syntax
,
Level 5
,
Lesson 5
Under discussion
It keeps telling me I have an issue in line 10 - not sure what the issue is.
It keeps telling me I have an issue in line 10 - not sure what the issue is - I am using intelliJ
2/3/19
1606
views
3
comments
0
shaan mohd khan
Level 13
Jhansi
Question about the task
Task about algorithms
Java Syntax
,
Level 5
,
Lesson 12
Archived
code running right.but not verifying.help me asap
public class Solution { public static void main(String[] args) throws Exception { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); int maximum=0; //write your code here ArrayList data=new ArrayList<>(); int i;int n=0;
2/2/19
1854
views
5
comments
0
Usha Mathivanan
Level 15
CHENNAI
Question about the task
Closest to 10
Java Syntax
,
Level 4
,
Lesson 4
Under discussion
error : line 19 : 'else' without 'if' , Please help me to resolve this error... !!!
package com.codegym.task.task04.task0409; /* Closest to 10 */ public class Solution { public static void main(String[] args) { displayClosestToTen(8, 11); displayClosestToTen(7, 14); } public static void displayClosestToTen(int a, int b) { int num1 = abs(10
2/2/19
1713
views
3
comments
0
Balasca Andrei
Level 7
Iasi
Question about the task
Controlling body weight
Java Syntax
,
Level 6
,
Lesson 8
Resolved
do not understand
can someone tell me if there is a problem in the code or it is a BUG?? thx
2/3/19
2213
views
2
comments
0
Rishi Ghatta
Level 2
Miller Place
Question about the task
One cat isn't enough
Java Syntax
,
Level 2
,
Lesson 3
Under discussion
I don't know how to complete this Help!!
how do i do this at all
11/6/18
1895
views
6
comments
0
Kshitij Pimple
Level 2
Mumbai
Question about the task
Implement the print method
Java Syntax
,
Level 2
,
Lesson 1
Under discussion
what will be the output and please explain also?
Implement the print method In the print method, display the passed string 4 times. Each time, on a new line. Requirements: 1. The program should display text on the screen. 2. The main method should not call System.out.println or System.out.print. 3. The print method should display the text on the
2/3/19
1961
views
3
comments
0
Dilip Sahu
Level 2
Mumbai
Question about the task
Implement the print method
Java Syntax
,
Level 2
,
Lesson 1
Under discussion
check please what's wrong?
Last condition is not applying.
1/31/19
1609
views
4
comments
0
lordheraldor
Level 23
Newark
Question about the task
Even and odd digits
Java Syntax
,
Level 6
,
Lesson 5
Resolved
Produces the correct result but still getting an error.
Did I make a typo or something or is my code have an issue that I'm oblivious to?
1/28/19
1590
views
6
comments
0
Jeff Jeffy
Level 15
Irvine
Question about the task
Time conversion
Java Syntax
,
Level 3
,
Lesson 5
Resolved
Why wont the compiler accept it?
This is my code: package com.codegym.task.task03.task0312; /* Time conversion */ public class Solution { //write your code here public static int convertToSeconds(int hour){ return hour*60*60; } } public static void main(String[] args) { //write your code her
1/21/19
2415
views
2
comments
0
Jeff Jeffy
Level 15
Irvine
Resolved
I do think my code should be returning the correct answer, but, it wont verify.
:( Please help. All but the last conditions are met.
1/7/19
1414
views
4
comments
0
ann
Level 4
Dusseldorf
Question about the task
Mercantile intentions
Java Syntax
,
Level 3
,
Lesson 12
Resolved
My code has a typo
It doesn't fulfill some conditions: package com.codegym.task.task03.task0324; /* Mercantile intentions */ public class Solution { public static void main(String[] args) { //write your code here System.out.println(" \"I want a big salary, and that's why I'm studying Java\"");
12/6/18
2328
views
4
comments
0
Solanki Dhruv
Level 18
Surat
Question about the task
Functionality is not enough!
Java Syntax
,
Level 10
,
Lesson 11
Under discussion
Here everything is correct.SO where is the problem???
?
12/3/18
1819
views
2
comments
1
Niket
Level 8
Kolkata
Question about the task
Display numbers in reverse order
Java Syntax
,
Level 7
,
Lesson 12
Under discussion
Output is correct but task not verifying
I am getting an error the 2nd requirement is not being fulfilled (which is to read 10 integers from the keyboard) Whereas I am reading 10 integers from the keyboard and even the output is correct. Then why is this error showing?
2/1/19
2222
views
4
comments
0
Sabine Meijran-Prins
Level 7
Enschede
Question about the task
Distance between two points
Java Syntax
,
Level 6
,
Lesson 8
Resolved
Missing something..
It seems that I am missing something..
2/3/19
3081
views
2
comments
0
Kshitij Pimple
Level 2
Mumbai
Resolved
i am not understanding the output?
System.out.print("Diego "); System.out.println("is the best!"); System.out.print("Amigo "); System.out.println("is the best!"); output: Diego is the best! Amigo is the best! First diego is printed then println command is used "is the best" it should be printed on new line ? output i think should
2/1/19
1332
views
4
comments
0
Eduardo
Level 23
Coyoacan
Question about the task
Going national
Java Syntax
,
Level 8
,
Lesson 11
Archived
Trying to find a way around the space at the end
Hi, I'm trying to get the last condition fullfilled but I'm not sure how to get rid of the last space after the last word. I tried adding this for (int i = 0; i
2/1/19
1685
views
2
comments
0
Dilip Sahu
Level 2
Mumbai
Question about the task
I'm 15 again!
Java Syntax
,
Level 1
,
Lesson 4
Under discussion
what's wrong with my code?
The value assigned to the variable age must be 15.
1/30/19
1531
views
4
comments
0
KryptoBlack
Level 7
Mumbai
Question about the task
R or L
Java Syntax
,
Level 7
,
Lesson 9
Under discussion
Two Different Problems With The Same Code Block
I am unable to understand this runtime error since I am only trying to insert 1 element in the list... java.lang.OutOfMemoryError: Solution.java, method fix, line: 35 But if I just change the order of input, the error vanishes... list.add("rose"); // 0 list.add("love"); // 1 list.add("lyre"); //
11/30/18
2131
views
5
comments
1
Show more
1
...
348
349
350
351
352
...
375
Please enable JavaScript to continue using this application.