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
Jason Ahn
Level 5
Calgary
Question about the task
Let's put together a rectangle
Java Syntax
,
Level 5
,
Lesson 7
Under discussion
Please helpp
Can someone please help me.. I'm stuck creating a copy of another rectangle passed as an argument :(
28.12.2018
1943
views
8
comments
0
Brian Parks
Level 9
Victoria
Question about the task
HashMap of 10 pairs
Java Syntax
,
Level 8
,
Lesson 3
Resolved
not displaying right?
Just missing the last set of verification.
14.04.2019
1412
views
2
comments
0
Seventh Heaven
Level 4
Kuala Lumpur
Question about the task
Print three times
Java Syntax
,
Level 2
,
Lesson 8
Under discussion
My answer is correct, but instead i need to remove the space on the last sentence
Sometimes i can be a bit perfectionist, take a look at my code: public static void print3(String s) { System.out.print(s + " " + s); System.out.print(" " + s + " "); } The output => [window window window file file file ] Yes there is a single space at the end, although
10.02.2019
1297
views
5
comments
0
Anoop Negi
Level 15
Meerut
Question about the task
Cats should not be abstract!
Java Core
,
Level 2
,
Lesson 6
Resolved
Please help
How i use getChild method in dog class
11.11.2018
1353
views
1
comment
0
Sung Ju No
Level 7
Sao Paulo
Question about the task
One cat isn't enough
Java Syntax
,
Level 2
,
Lesson 3
Under discussion
Hi community :), why if i declare different names dont work? i dont see any requirements about that!
package com.codegym.task.task02.task0208; /* One cat isn't enough */ public class Solution { public static void main(String[] args) { Car kitty = new Cat(); Cer limo = new Cat();//write your code here } public static class Cat { } }
10.04.2019
1435
views
7
comments
0
Hashirama
Level 26
Port-Harcourt
Question about the task
Problem solving
Java Core
,
Level 9
,
Lesson 8
Under discussion
Hi guys...
The last condition fails verification. Recommendation from the mentor is: Addition problems are not solved correctly. See screenshot below How do I fix this?
05.03.2019
1555
views
2
comments
0
Abdur Rehman
Level 7
Faisalabad
Question about the task
Describing numbers
Java Syntax
,
Level 4
,
Lesson 7
Archived
what is wrong with my last condition
what is wrong with last condition
13.04.2019
1448
views
6
comments
0
ousi4ous
Level 2
Douala
Question about the task
Minimum of three numbers
Java Syntax
,
Level 2
,
Lesson 8
Resolved
i have difficulties finding my error
can someone please help me find the error
11.04.2019
1092
views
4
comments
0
Yuva
Level 3
Karnal
Under discussion
what does this mean.. i did all as said by the instructions..
Carefully check the displayed text. It looks like you made a typo. public class Solution { public static void main(String[] args) { System.out.println("CodeGym.Learn once-use anywhere"); System.out.println("CodeGym.Learn once-use anywhere"); System.out.println("
12.04.2019
1023
views
1
comment
0
Guadalupe Gagnon
Level 37
Tampa
Question about the task
No goofing off
Java Multithreading
,
Level 5
,
Lesson 7
Resolved
Cant pass
recommendation from mentor: "make sure that the start method saves the created thread to a field"
12.04.2019
1426
views
5
comments
0
ASHUTOSH SHUKLA
Level 3
Katni
Resolved
Verification error
Coding was right and I tried with it two method it run without error ,output was same as condition tab but then also it was showing in verification it show with red exclamation mark that 'program should consist of 9 with empty line'. Any body can tell me what can I do?
12.04.2019
925
views
2
comments
0
C. Chiang
Level 18
Bryan
Question about the task
Chicken factory
Java Core
,
Level 4
,
Lesson 6
Under discussion
What's wrong with my code?
Stuck with run time errors: non-static variable this cannot be referenced from a static context. Nee some help!
19.02.2019
1293
views
4
comments
0
Za Surpex
Level 2
Ocala
Question about the task
Our first converter!
Java Syntax
,
Level 2
,
Lesson 2
Resolved
What is the "Converter" question asking for?
I have no idea what this is asking for. It gives an example, but it doesn't state a question clearly. What am I supposed to be accomplishing here? The convertCelsiusToFahrenheit(int celsius) method accepts a value in degrees Celsius. The method should convert the temperature and return the value in
03.04.2019
1769
views
3
comments
0
Hephzibah Jeyashankar
Level 4
Tuticorin
Question about the task
Our first converter!
Java Syntax
,
Level 2
,
Lesson 2
Resolved
Farenheit Coverter? How to sove this? Anybody there?
Our first converter! The convertCelsiusToFahrenheit(int celsius) method accepts a value in degrees Celsius. The method should convert the temperature and return the value in degrees Fahrenheit. The Celsius temperature (TC) and the Fahrenheit temperature (TF) are related by the following relationship
05.10.2018
2573
views
9
comments
0
Nabin Thapa
Level 6
Richardson
Under discussion
why BufferedReader and Scanner is not working on the code editor its throwing the eroor But its working on my eclipse ide
package com.codegym.task.task04.task0412; /* Positive and negative numbers */ import java.io.BufferedReader; import java.io.InputStreamReader; public class Solution { public static void main(String[] args) throws Exception { //write your code here BufferedReader buffer = new
11.04.2019
1124
views
1
comment
0
Ritesh Kumar Mandal
Level 9
Delhi
Question about the task
Working with dates
Java Syntax
,
Level 8
,
Lesson 11
Resolved
Don't able to understand what is asked in the third requirement...?
I had tried every date it's working alright and returning value. Sill not able to pass the third requirement which says try other dates.
06.01.2019
1769
views
3
comments
0
alpha_centauri
Level 3
Question about the task
Time conversion
Java Syntax
,
Level 3
,
Lesson 5
Under discussion
why isn't correct?
public class Solution { //write your code here public static void main(String[] args) { //write your code here int hour = 1; System.out.println( convertToSeconds( hour ) + " hour " + Integer.toString( convertToSeconds( hour ) ) + " seconds"
11.04.2019
1386
views
2
comments
0
inessa smets
Level 3
Question about the task
Pets need people
Java Syntax
,
Level 2
,
Lesson 5
Resolved
plz help: why is this not correct.
package com.codegym.task.task02.task0213; /* Pets need people */ public class Solution { public static void main(String[] args) { //write your code here Woman woman = new woman(); Cat cat = new cat(); Dog dog = new dog(); Fish fish = new fish();
11.04.2019
1702
views
3
comments
0
Nabin Thapa
Level 6
Richardson
Under discussion
how to read the input from the keyboard in codegym editor i'm getting pissed off Scanner and BufferedReader is not working here
import java.util.Scanner Scanner scan = new Scanner(System.in);//This is throwing the error
11.04.2019
1256
views
1
comment
0
ARIJIT MONDAL
Level 4
Kolkata
Question about the task
Minimum of three numbers
Java Syntax
,
Level 2
,
Lesson 8
Resolved
Getting correct result , but verification fail as "The min method must return the minimum of the numbers a, b, and c."
11.04.2019
1337
views
7
comments
0
kunal yerunkar
Level 0
Mumbai
Question about the task
My young friend
Java Syntax
,
Level 0
,
Lesson 4
Resolved
only one requirement are pending ?
08.04.2019
1348
views
3
comments
0
Connor
Level 8
Boston
Question about the task
Implement the print method
Java Syntax
,
Level 2
,
Lesson 1
Under discussion
Question about print in the main method.
What is print in the main method? I just don't quite understand how we go from public static void main(String[] args) { print("Java is easy to learn!"); print("Java opens many opportunities!"); } to public static void print(String s) { //My code goes here. } I
10.04.2019
1884
views
3
comments
0
Willie Mangram
Level 19
Pensacola
Question about the task
Method in a try-catch
Java Syntax
,
Level 9
,
Lesson 11
Resolved
If the user enters text rather than a number, the program should display all previously entered numbers.
Functions perfectly when I run it and when I enter a text it catches and displays the previous numbers entered and added into the ArrayList. I appreciate the assistance guys!
18.01.2019
1801
views
4
comments
0
Pratik Jain
Level 2
mumbai
Question about the task
Implement the print method
Java Syntax
,
Level 2
,
Lesson 1
Under discussion
print method
can any help me with this
12.08.2018
1499
views
10
comments
0
Nastya Varennikova
Level 11
Sumy
Question about the task
Calling a constructor from a constructor
Java Syntax
,
Level 5
,
Lesson 9
Under discussion
Please, help me!
I don't understand what is problem.
05.04.2019
1487
views
8
comments
1
Niranjan Soni
Level 15
Bangalore
Question about the task
Calling a constructor from a constructor
Java Syntax
,
Level 5
,
Lesson 9
Under discussion
Please help
Help please i'm not able to identify the problem in my code.
26.09.2018
1662
views
5
comments
0
Laurap5
Level 9
Vilnius
Question about the task
Calling a constructor from a constructor
Java Syntax
,
Level 5
,
Lesson 9
Under discussion
Please help
I'm not able to identify the problem, for me looks everything fine :)
20.11.2018
1449
views
5
comments
0
Billy Graves
Level 10
Austin
Question about the task
Going national
Java Syntax
,
Level 8
,
Lesson 11
Archived
Change first letter of each word to uppercase condition
I've worked on this problem for a few hours now and I can't seem to find what the issue is. Whenever I test it, it will always come back correct but it will not validate and warns me of multiple spaces between words which I've tested for. Any recommendations on how to resolve this issue? Additional
10.04.2019
1690
views
1
comment
0
past cham
Level 6
Delhi
Question about the task
Somehow average
Java Syntax
,
Level 4
,
Lesson 16
Resolved
pls help
The program should display the middle number of the three numbers. RECOMMENDATION FROM YOUR MENTOR Test the program with the numbers 1, 3, and 2. Expected output: 2
10.04.2019
1713
views
2
comments
0
Kira
Level 1
Schaumburg
Question about the task
Let's change the code
Java Syntax
,
Level 1
,
Lesson 4
Under discussion
Second variable?
My code is working. I dont need to declare the second variable.
08.10.2018
1516
views
6
comments
1
Show more
1
...
331
332
333
334
335
...
371
Please enable JavaScript to continue using this application.