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
All quests
All levels
Any status
Questions about tasks
Hot
Sambit
Level 8
Delhi
Question about the task
Cat relations
Java Syntax
,
Level 6
,
Lesson 11
Resolved
Facing problem
The two conditions aren't satisfied. 1. The line about the father (third line) must match the conditions. 2. The line about the mother (fourth line) must match the conditions. Output: The cat's name is Grandfather Tiger, no mother, no father The cat's name is Grandmother Puss, no mother, no father
22.04.2019
1748
views
2
comments
0
Djole
Level 41
Belgrade
Question about the task
No goofing off
Java Multithreading
,
Level 5
,
Lesson 7
Resolved
I give up. can't get 2nd requirement to work.
public class TaskManipulator implements Runnable, CustomThreadManipulator { private Thread current; @Override public void run() { do{ System.out.println(current.getName()); try { current.sleep(100); } catch (InterruptedException
19.04.2019
1469
views
3
comments
0
Fido Lost
Level 8
Timmins
Under discussion
How do I import my own class to make answers quicker?
I want to import my class from a parent package directory com.codegym.task.MyScanner and use my own methods askInt() and askDbl() inside the IntelliJ IDE. The Verify button will not find MyScanner when I try to import it with import codegym.task.MyScanner; inside the Solution.java class. What can
24.04.2019
1216
views
2
comments
0
Dreni Mujaj
Level 7
Peja
Question about the task
Choose healthy food! Choose fruit!
Java Syntax
,
Level 1
,
Lesson 8
Archived
What's wrong with this code?
public class Solution { public static void main(String[] args) { String apple = "Apple"; String porridge = "Porridge"; String sausage = "Sausage"; String peach = "Peach"; //write your code here System.out.println("apple"); System.out.print
05.01.2019
1572
views
5
comments
0
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
22.04.2019
1452
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?
04.04.2019
1257
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 ?
23.04.2019
1217
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"?
28.03.2019
2423
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
22.04.2019
1359
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
23.04.2019
1559
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
20.04.2019
2246
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..!
02.04.2019
2148
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?
23.04.2019
1327
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
07.04.2019
1281
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.
21.04.2019
1774
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!
13.04.2019
1226
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.
21.12.2018
1661
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?
23.04.2019
1579
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
20.04.2019
1347
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();
21.04.2019
1015
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..
26.12.2018
2086
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.
22.04.2019
1192
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
18.04.2019
1841
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!
22.04.2019
1390
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 ?
21.04.2019
2865
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
21.04.2019
1031
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?
21.04.2019
1705
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));
21.04.2019
1344
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,
21.04.2019
1517
views
4
comments
0
thisisalongname
Level 1
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
21.04.2019
1528
views
1
comment
0
Show more
1
...
329
330
331
332
333
...
371
Please enable JavaScript to continue using this application.