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
Serg
Level 23
Tyumen
Question about the task
Implement the print method
Java Syntax
,
Level 2
,
Lesson 1
Under discussion
Why are strings displayed in this way?
It would be logical and correct if the lines were displayed in the following way: Java is easy to learn! Java opens many opportunities! Java is easy to learn! Java opens many opportunities! Java is easy to learn! Java opens many opportunities! Java is easy to learn! Java opens many opportunities! Be
17.04.2019
1123
views
3
comments
0
Bazsó Benjámin
Level 20
Szombathely
Question about the task
Sorting even numbers from a file
Java Core
,
Level 3
,
Lesson 11
Archived
i dont understand how its not satisfying the 3rd and 4th condition
help appriciated
17.04.2019
1228
views
3
comments
0
Lex Medeiros
Level 18
San Jose
Question about the task
Method in a try-catch
Java Syntax
,
Level 9
,
Lesson 11
Under discussion
Be sure that after text is read in that the program displays all previously entered numbers, each number on a new line and in the same order that they were entered.
Could someone tell me what I am doing wrong? I am outputting the ArrayList items in a new line.
15.04.2019
1434
views
2
comments
0
harshshah
Level 9
Gandhinagar
Question about the task
Seasons on Terra
Java Syntax
,
Level 4
,
Lesson 4
Resolved
having an error for the display condition.
error : calculate the winter months carefully...!
17.04.2019
1216
views
4
comments
0
K
Level 1
Hyderabad
Question about the task
Uh... Happy New Year!
Java Syntax
,
Level 1
,
Lesson 4
Resolved
The displayed text must match the task conditions.
Why did this step fail ?
01.04.2019
1529
views
7
comments
0
Jyothi
Level 20
Question about the task
Arranging calls to join()
Java Core
,
Level 6
,
Lesson 5
Resolved
Verify failing. somehow not quite getting how to call join() on each kitten object. Please advise.
Output when the code runs: Missy gave birth to 2 kittens Coco gave birth to 2 kittens Kitten 1 (mother - Missy) got out of the basket Kitten 1 (mother - Coco) got out of the basket Kitten 2 (mother - Missy) got out of the basket Kitten 2 (mother - Coco) got out of the basket Missy: All the kittens a
24.12.2018
1296
views
2
comments
2
Balen Asangbeh
Level 23
Douala
Question about the task
Promotion during political debates
Java Core
,
Level 6
,
Lesson 5
Resolved
please what`s wrong
please what`s wrong
15.03.2019
1666
views
3
comments
0
Clarence L Mackey
Level 4
Fresno
Question about the task
Family relations
Java Syntax
,
Level 2
,
Lesson 2
Under discussion
how do I make a reference with the variables man.wife and woman.husband and then get my code to compile
Man man = new Man(); Woman woman = new Woman(); man.wife = women; woman.husband = man;
16.04.2019
1045
views
2
comments
0
Subrata Sardar
Level 2
kolkata
Question about the task
A variable on our screen
Java Syntax
,
Level 1
,
Lesson 3
Under discussion
variable value
I cannot understand what is the variable value
04.10.2018
1315
views
4
comments
0
Connor
Level 8
Boston
Question about the task
Minimum of three numbers
Java Syntax
,
Level 2
,
Lesson 8
Under discussion
I'm not sure why this is wrong here. EDIT*
I figured out that I needed the <= but I don't understand why that was needed instead of just the < operand, when it was still returning the correct values. My code was returning 1 -3 3 5 Code: I'm sure I must be missing something but I for the life of me cannot figure out what it is. Than
11.04.2019
1115
views
3
comments
0
Harinath Reddy A
Level 7
Delhi
Question about the task
Streets and houses
Java Syntax
,
Level 7
,
Lesson 4
Archived
Help please
Can someone say where I am going wrong???
16.04.2019
1156
views
1
comment
0
Voris
Level 10
Tashkent
Question about the task
Even and odd digits
Java Syntax
,
Level 6
,
Lesson 5
Under discussion
I don't know why the error is : "unreachable statement". line: 26, column: 9
package com.codegym.task.task06.task0606; import java.io.*; /* Even and odd digits */ public class Solution { public static int even; public static int odd; public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamRe
15.04.2019
1128
views
2
comments
0
Djole
Level 41
Belgrade
Question about the task
MVC (part 7)
Java Multithreading
,
Level 4
,
Lesson 14
Resolved
i have done everything they asked, still won't work
public class Controller { private Model model; private UsersView usersView; private EditUserView editUserView; public void setModel(Model model) { this.model = model; } public void setUsersView(UsersView usersView) { this.usersView = usersView; } pu
16.04.2019
1265
views
3
comments
0
Godwin
Level 10
Sango
Under discussion
Hi i am a bit confused with this.
Can someone please tell me why a class and not an object can be used to access a variable declared in it's method? I know an object which is an instance variable can be used to access the variables and methods of it's class but using a class to do that directly is a bit confusing for me.(Here is a r
16.04.2019
1045
views
2
comments
0
theodosia goodman
Level 1
Wilmington
Question about the task
Bugs and features
Java Syntax
,
Level 0
,
Lesson 8
Resolved
What am I doing wrong?
I did everything and it's marked wrong. I run my code on eclipse and it's fine. So, why it's marking my answer wrong?
15.04.2019
1065
views
8
comments
0
Vasiliy Nikityuk
Level 6
Kiev
Question about the task
Minimum of three numbers
Java Syntax
,
Level 2
,
Lesson 8
Under discussion
what is wrong?
My code is work, but i have error
15.04.2019
908
views
2
comments
0
Arjun Kiruthivasan
Level 14
Chennai
Question about the task
Logging stack traces
Java Syntax
,
Level 9
,
Lesson 2
Resolved
where am i wrong??
the output shows: com.javarush.task.task09.task0906.Solution: main: In main method
22.09.2018
1851
views
5
comments
0
Andrii
Level 19
KRK
Question about the task
OOP: Cars
Java Core
,
Level 5
,
Lesson 2
Resolved
printlnDesire result in CheapCar & LuxuryCar classes
Hi, can't pass below requirements: The printlnDesire method in the CheapCar class should display "I want to drive a cheap car". The printlnDesire method in the LuxuryCar class should display "I want to drive a luxury car". However in console I see result accordingly to main method method's calls:
15.04.2019
1650
views
2
comments
0
Vaishnavi
Level 8
Waukesha
Question about the task
Multiplication table
Java Syntax
,
Level 3
,
Lesson 6
Under discussion
What should I do after this?
public class Solution { public static void main(String[] args) { //write your code here int i = 1; while (i<11){ System.out.print(i); i++; System.out.print(" "); } } } I have this much, but I don't know how to multiply t
12.04.2019
1360
views
5
comments
0
MakinTosH
Level 20
Vilnius
Resolved
Java Syntax, Level 7, Lesson 4 Maximum in an array.
This code doesn't pass and displays following message Be sure that the max method works correctly with negative numbers. public class Solution { public static void main(String[] args) throws Exception { int[] array = initializeArray(); int max = max(array); System.out.p
15.04.2019
1052
views
3
comments
0
Mathyn Keus
Level 7
Enschede
Question about the task
Playing Javarella
Java Syntax
,
Level 7
,
Lesson 9
Resolved
What is wrong here?
What is wrong here?
15.04.2019
1227
views
3
comments
0
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
1796
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
1298
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
1194
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
1259
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
1211
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
1442
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
1309
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
952
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
900
views
1
comment
0
Show more
1
...
326
327
328
329
330
...
366
Please enable JavaScript to continue using this application.