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
edis emin
Level 7
London
Question about the task
Positive and negative numbers
Java Syntax
,
Level 4
,
Lesson 4
Archived
No idea what im doing wrong with this question does anybody have a solution?
package com.codegym.task.task04.task0412; /* Positive and negative numbers */ import java.io.*; public class Solution { public static void main(String[] args) throws Exception { InputStream inputStream= System.in; Reader inputStreamReader = new InputStreamReader(inputStream
4/22/19
1725
views
6
comments
0
Derek
Level 11
Apex, NC
Question about the task
In decreasing order
Java Syntax
,
Level 7
,
Lesson 12
Under discussion
not reversing order
my sort method is isn't flipping the order. Any thoughts?
4/4/19
1401
views
3
comments
0
serhad erol
Level 4
Bursa
Question about the task
Predictions
Java Syntax
,
Level 3
,
Lesson 8
Under discussion
The code works says there is a typo but none whatsoever.
I cant find any typo , already restarted and tried but same thing. Can you point it out ?
4/23/19
1370
views
2
comments
0
Bazsó Benjámin
Level 20
Szombathely
Question about the task
20 words that start with the letter "L"
Java Syntax
,
Level 8
,
Lesson 8
Resolved
solve this with loop
how do i write a loop that makes 20 different words with "L"?
3/28/19
2596
views
3
comments
0
Philip T-D
Level 18
San Diego
Question about the task
Playing Javarella
Java Syntax
,
Level 7
,
Lesson 9
Resolved
I'm getting "Add to the third supplementary list all the remaining numbers from the main list." Don't understand how my code is not doing that...
package com.codegym.task.task07.task0713; import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.List; /* Playing Javarella */ public class Solution { public static void main(String[] args) throws Exception { BufferedReader br
4/22/19
1541
views
3
comments
0
Marin
Level 4
Nice
Question about the task
Positive and negative numbers
Java Syntax
,
Level 4
,
Lesson 7
Resolved
Unknown server error
Hi, This code works fine in Intellij, but fails to run in the web applet. When I try to run it manually, I get the following exception: com.javarush.task.common.model.execution.UnhandledException: java.lang.ClassNotFoundException: com.javarush.task.task04.task0429.Solution at com.javarush.task.c
4/23/19
1750
views
4
comments
0
Joy Majumdar
Level 16
Kolkata
Question about the task
Who called me?
Java Syntax
,
Level 9
,
Lesson 2
Resolved
Whats wrong here ?
Program is returning the line number
4/20/19
2419
views
3
comments
0
harshshah
Level 9
Gandhinagar
Question about the task
Plan to conquer the world
Java Syntax
,
Level 3
,
Lesson 8
Under discussion
having a error
Can't find a error, for display not matching..!
4/2/19
2345
views
9
comments
0
Allen Joseph
Level 3
Mumbai
Question about the task
Implement the print method
Java Syntax
,
Level 2
,
Lesson 1
Under discussion
How to solve it?
How to solve it?
4/23/19
1478
views
2
comments
0
Satya Vath
Level 31
Vijayawada
Question about the task
Beer. Part 2. The recovery.
Java Core
,
Level 3
,
Lesson 2
Resolved
Please Help
package com.codegym.task.task13.task1302; /* Beer. Part 2. The recovery. */ public class Solution { public static void main(String[] args) { Drink beer = new AlcoholicBeer(); System.out.println(beer.toString()); } public interface Drink { boolean isAlcoholic
4/7/19
1418
views
3
comments
0
Lex Medeiros
Level 18
San Jose
Question about the task
Functionality is not enough!
Java Syntax
,
Level 10
,
Lesson 11
Under discussion
How can I get it to output the hashmap pairs as per requirement?
My output is: Input 1 Sam 2 I 1 Am Out Put 2 I 1 Am 1 Sam Process finished with exit code 0 Please note in my code I have enabled System.out.println("Id=" + pair.getValue() + "Name=" + pair.getKey()); for testing purposes.
4/21/19
1967
views
4
comments
0
Solomeow
Level 11
Minsk
Question about the task
Seasons on Terra
Java Syntax
,
Level 4
,
Lesson 4
Resolved
Im doing this task with switch and it says I fail, any ideas, lads&gals?
Appreciate any help!
4/13/19
1393
views
3
comments
0
E.kalyani
Level 2
Hyderabad
Question about the task
Only 20 will do
Java Syntax
,
Level 1
,
Lesson 4
Under discussion
not getting solution
Iam not getting the solution.
12/21/18
1854
views
6
comments
0
Azja
Level 32
Krakow
Question about the task
Ironing
Java Core
,
Level 7
,
Lesson 10
Resolved
Whats wrong?
Whats wrong here?
4/23/19
1740
views
2
comments
0
Praveen
Level 2
Dayton
Question about the task
Implement the print method
Java Syntax
,
Level 2
,
Lesson 1
Under discussion
I'm confuse why my code isn't working. Help?
package com.codegym.task.task02.task0201; /* Implement the print method */ public class Solution { public static void main(String[] args) { Solution sol = new Solution(); sol.print("CodeGym is the best"); sol.print("CodeG
4/20/19
1555
views
3
comments
0
edis emin
Level 7
London
Under discussion
Please help I am stuck on level 4 lesson 4
package com.codegym.task.task04.task0412; /* Positive and negative numbers */ import java.io.*; import java.util.Scanner; public class Solution { public static void main(String[] args) throws Exception { Scanner scanner = new Scanner(System.in); int num = scanner.readInt();
4/21/19
1153
views
2
comments
0
Sabine Meijran-Prins
Level 7
Enschede
Question about the task
Crossing the road blindly
Java Syntax
,
Level 4
,
Lesson 4
Resolved
colors not displayed
At my compiler it is working, but when I click to verify it keeps telling me that the colors are not displayed..
12/26/18
2321
views
10
comments
0
Wesley Dolton Masunika
Level 8
Pretoria
Question about the task
Playing Javarella
Java Syntax
,
Level 7
,
Lesson 9
Under discussion
Please advise on the issue below
The below failure message is shown: The printList method should display each element of the passed list on a new line. The program should display the three supplementary lists using the printList method.
4/22/19
1366
views
1
comment
0
SilverZax
Level 18
Poltava
Question about the task
Identical words in a list
Java Syntax
,
Level 10
,
Lesson 11
Resolved
The programm seems works correct, but don't pass third condition
The programm seems works correct, but don't pass third condition
4/18/19
1989
views
2
comments
0
Kymie
Level 4
Singapore
Question about the task
Favorite poem
Java Syntax
,
Level 1
,
Lesson 8
Resolved
"Cannot find symbol" error
Hi, What am I doing wrong in this piece of code This seems to happen whenever I use the printIn() function. I have tried resetting multiple times too but to no avail. Do let me know if you can spot the error! Thanks in advance!
4/22/19
1548
views
4
comments
0
Joy Majumdar
Level 16
Kolkata
Question about the task
In the blue depths of the stack trace…
Java Syntax
,
Level 9
,
Lesson 2
Resolved
I am calling the stacktrace length
But where is the problem ?
4/21/19
3022
views
2
comments
0
Rizwan Ahmed Shaik
Level 2
Hyderabad
Question about the task
Implement the print method
Java Syntax
,
Level 2
,
Lesson 1
Under discussion
Kindly let me know what is the error in this program?
Hello can anyone say what is the error in this program public class Solution { public static void main(String[] args) { System.out.println("Hello"); System.out.println("Hey"); System.out.println("you"); System.out.println("whatsup"); Solution.print(); So
4/21/19
1178
views
2
comments
0
Vaishnavi
Level 8
Waukesha
Question about the task
Crossing the road blindly
Java Syntax
,
Level 4
,
Lesson 4
Under discussion
Code works, but does not verify.
When I run my code, I get the right code, but when I try to verify it, it says that I got none of the 5 requirements right, even though I get the correct system output. What do I do?
4/21/19
1876
views
1
comment
0
dean
Level 8
Deutschland
Question about the task
Rule of the triangle
Java Syntax
,
Level 4
,
Lesson 4
Under discussion
Not verify my code
package com.codegym.task.task04.task0415; /* Rule of the triangle */ import java.io.*; public class Solution { public static void main(String[] args) throws Exception { //write your code here BufferedReader buffer = new BufferedReader(new InputStreamReader(System.in));
4/21/19
1488
views
2
comments
0
qsasdgkl
Level 17
San Diego
Question about the task
R or L
Java Syntax
,
Level 7
,
Lesson 9
Resolved
Stuck on this for 2 days for some reason the last element "LOL" is not processed corretly.
Following code works great until the last element in the ArrayList "LOL", which should be duplicated as per the rules but instead it get stuck in an infinate loop and the output (including the debug output) is Current list: [love, love, lyre, LOL] Debug three LOL 3 Current list: [love, love, lyre,
4/21/19
1688
views
4
comments
0
thisisalongname
Level 15
Spokane
Question about the task
Roy G. Biv…
Java Syntax
,
Level 3
,
Lesson 6
Under discussion
Code is not printing out colors on IDE but does on site
I've been doing the tasks in IntelliJ IDEA, and for some reason this code wouldn't print out like it does on site. When I run it on the IDE it outputs "Process finished with exit code 0". I spent a long time messing with the code thinking I had done something wrong, but when I copied it to the sites
4/21/19
1664
views
1
comment
0
Eduardo
Level 23
Coyoacan
Question about the task
Cat relations
Java Syntax
,
Level 6
,
Lesson 11
Resolved
Need a hint
Hi, I can't figure out who to solve this, since I already used a constructor with two intakes, I can't duplicate it and just change parent(mother) to father. Any hints on how to work around that? or should I change that approach completely? Thanks
10/26/18
1864
views
5
comments
0
Hafsah Jilanee
Level 10
Karachi
Question about the task
Number of days in the year
Java Syntax
,
Level 4
,
Lesson 4
Under discussion
condition isn't valid
Hi, so the condtion i set isn't working for the year 3300 pls help
4/20/19
1471
views
2
comments
0
Sanzhik
Level 2
Novoishimskiy
Question about the task
Pay raise
Java Syntax
,
Level 2
,
Lesson 2
Under discussion
ыва
package com.codegym.task.task02.task0205; /* Pay raise */ public class Solution { public static void main(String[] args) { hackSalary(7000); } public static void hackSalary(int a) { } }
4/20/19
1425
views
1
comment
0
Patson T Lawrence
Level 8
Kampala
Question about the task
Shuffled just in time
Java Syntax
,
Level 7
,
Lesson 12
Under discussion
english?? or ??
interpretation is the problem.
3/6/19
1278
views
2
comments
0
Show more
1
...
332
333
334
335
336
...
374
Please enable JavaScript to continue using this application.