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
MOHAMMAD AAZAM
Level 2
Mumbai
Question about the task
Square of a number
Java Syntax
,
Level 1
,
Lesson 8
Archived
Unable to understand
I am unable to understand what's going on and where to declare 5 and what method should be used.
4/25/19
1172
views
1
comment
0
Evghenii
Level 13
Chisinau
Question about the task
18+
Java Syntax
,
Level 4
,
Lesson 6
Resolved
I dont understand what wrong?
How can help me. In program everything work. But in CodyGym no. Where is my mistake ?
4/24/19
2152
views
3
comments
0
Wojtek
Level 23
Solec-Zdroj
Question about the task
Tracking changes
Java Core
,
Level 9
,
Lesson 11
Under discussion
Can you give me some hint how to solve this task?
need help
4/8/19
1637
views
1
comment
0
Naman
Level 2
Thana Bhawan
Question about the task
CodeGym. Learn once - use anywhere
Java Syntax
,
Level 1
,
Lesson 4
Under discussion
Not able to satisfy text should consist of 10 lines
String s = "_____________"; System.out.print(s + s + s + s + s + s + s + s + s + s )
4/25/19
1608
views
3
comments
0
MOHAMMAD AAZAM
Level 2
Mumbai
Question about the task
Pay raise
Java Syntax
,
Level 2
,
Lesson 2
Under discussion
I don't understand what's wrong with my code.
I don't understand what's wrong with my code.
4/27/19
1091
views
1
comment
0
dpp
Level 8
Colombo
Question about the task
Crossing the road blindly
Java Syntax
,
Level 4
,
Lesson 4
Resolved
Bad operand types??
package com.codegym.task.task04.task0416; /* Crossing the road blindly */ import java.io.*; public class Solution { public static void main(String[] args) throws Exception { float t; float result; InputStream inputStream=System.in; Reader inputStreamReader=ne
4/26/19
1299
views
2
comments
0
Riya
Level 8
Karnal
Question about the task
Implement the fight method
Java Syntax
,
Level 5
,
Lesson 5
Under discussion
Need help
how to realize 6th requirement.
10/3/18
1540
views
3
comments
0
David Lavigne
Level 24
Lynnwood
Question about the task
Prices
Java Core
,
Level 8
,
Lesson 11
Under discussion
Unable to pass Validation.
My testing seems to pass all validation criteria, however validation fails for: - When the program is run with the arguments "-c productName price quantity", a new line with the corresponding product should be added to the end of the file. - The product must have the next id after the maximum id fo
4/14/19
1512
views
2
comments
0
WonderWoman
Level 8
Bangalore
Question about the task
Implement the fight method
Java Syntax
,
Level 5
,
Lesson 5
Resolved
Not sure what is wrong with this modified code - this checks for equal conditions as well!
Not sure what is wrong with this modified code - this checks for equal conditions as well!
9/14/18
2454
views
15
comments
0
Godwin
Level 14
Sango
Under discussion
How is a set method different from an initialize method?
what are their similarities and differences?
4/26/19
1232
views
2
comments
0
Radek
Level 22
Warsaw
Question about the task
Encryption
Java Core
,
Level 8
,
Lesson 11
Resolved
what's wrong
After many tests I am sure, the solution run perfectly and match conditions.
11/18/18
1782
views
4
comments
0
ARIJIT MONDAL
Level 1
Kolkata
Question about the task
Plan to conquer the world
Java Syntax
,
Level 3
,
Lesson 8
Under discussion
Unable to understand the mismatch of the text. Everything is looking fine from my side. But validation fail
validation fails as "The displayed text must fully match the task conditions."
4/26/19
1681
views
1
comment
0
rey
Level 6
Makati
Question about the task
Only 20 will do
Java Syntax
,
Level 1
,
Lesson 4
Under discussion
ITS IMPOSSIBLE QUESTION
ITS IMPOSSIBLE
4/19/19
1664
views
4
comments
0
Karan
Level 0
Peshawar
Question about the task
Amigo is very smart
Java Syntax
,
Level 0
,
Lesson 2
Resolved
"Amigo is very smart".
"Amigo is very smart".
4/24/19
2182
views
1
comment
0
Serg
Level 23
Tyumen
Question about the task
Multiplication table
Java Syntax
,
Level 3
,
Lesson 6
Under discussion
Why does not pass validation (check)?
package com.codegym.task.task03.task0314; public class Solution { public static void main(String[] args) { for (int i = 1; i <= 10; i++){ System.out.println(' '); for (int y = 1; y <= 10; y++){ if((i*y)<10){ System.ou
4/23/19
1642
views
3
comments
0
dean
Level 8
Deutschland
Question about the task
Task about algorithms
Java Syntax
,
Level 5
,
Lesson 12
Archived
Why it doesn't work?
Why it doesn't work?
4/25/19
1243
views
4
comments
0
Marco Tidu
Level 2
Iitti
Under discussion
Where can I put the codes on Mac?!?!?
Hello to everyone, I'm getting crazy about finding the Java Virtual Machine on my Mac. I've installed JDK the last version and something else but I cannot find a way to open a JVM. Please HELP :D
4/25/19
1109
views
2
comments
0
rishabh parmar
Level 3
Jhinjhana
Question about the task
Pay raise
Java Syntax
,
Level 2
,
Lesson 2
Under discussion
What is the problem in this code?
I am not able to understand the template mentioned in conditions.
4/21/19
1292
views
2
comments
0
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?
4/25/19
1233
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);
1/3/19
2011
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() {
2/2/19
1415
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
1/23/19
2023
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
4/23/19
1747
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
4/22/19
1918
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
4/19/19
1654
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
4/24/19
1368
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
1/5/19
1726
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
4/22/19
1703
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
1392
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
1360
views
2
comments
0
Show more
1
...
331
332
333
334
335
...
374
Please enable JavaScript to continue using this application.