Promotion
CodeGym University
Learning
Course
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
Steven Mcilhone
Level 17
Belfast
Question about the task
Task about algorithms
Java Syntax
,
Level 5
,
Lesson 12
Archived
question
3. Displays the maximum of the N entered numbers. does this mean find the largest number from the numbers entered?
25.04.2019
982
views
1
comment
0
Djole
Level 41
Belgrade
Question about the task
Cat relations
Java Syntax
,
Level 6
,
Lesson 11
Resolved
why is it not working???
public class Solution { public static void main(String[] args) throws IOException { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); String grandfatherName = reader.readLine(); Cat catGrandfather = new Cat(grandfatherName);
03.01.2019
1572
views
3
comments
0
Djole
Level 41
Belgrade
Question about the task
TableAdapter
Java Core
,
Level 9
,
Lesson 3
Resolved
last condition not satisfied??
public class Solution { public static void main(String[] args) { ATable aTable = new ATable() { @Override public String getCurrentUserName() { return "Amigo"; } @Override public String getTableName() {
02.02.2019
1154
views
1
comment
0
Jane
Level 3
Cape Town
Question about the task
Minimum of three numbers
Java Syntax
,
Level 2
,
Lesson 8
Resolved
Can something like this work?
My first thought was to do something like this and it (of course) did not work. The question is... is there a way to make something like this work in a slightly different way? public class Solution { public static int min(int a, int b, int c) { int m1; int m2; if (a &l
23.01.2019
1623
views
11
comments
0
Darko Jakimovski
Level 18
Kriva Palanka
Question about the task
Functionality is not enough!
Java Syntax
,
Level 10
,
Lesson 11
Resolved
Validation gets frustrating
How in the ungodly crap am I not clearing the last condition? Elaborate please
23.04.2019
1474
views
3
comments
0
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
1535
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
1223
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
1050
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
1424
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
1176
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
1084
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
1081
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
2252
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
1188
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
1341
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
2092
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
1943
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
1204
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
1166
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
1469
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
1103
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
1495
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
1403
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
1122
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
884
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
1880
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
1016
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
1670
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
1240
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
2693
views
2
comments
0
Show more
1
...
324
325
326
327
328
...
366
Please enable JavaScript to continue using this application.