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
hidden #10441159
Level 16
Question about the task
Changing functionality
Java Syntax
,
Level 7
,
Lesson 12
Under discussion
Works in the console but verification returns compile error
public class Solution { public static void main(String[] args) throws IOException { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); ArrayList list = new ArrayList<>(); while (true) { String s = reader.readLine();
18.06.2019
1290
views
3
comments
0
Nitin raj
Level 12
Mumbai
Question about the task
Initializing cats
Java Syntax
,
Level 5
,
Lesson 7
Under discussion
Plss help
Why it's is giving task not met
20.06.2019
1196
views
2
comments
0
Serg
Level 23
Tyumen
Question about the task
Method quartet
Java Syntax
,
Level 8
,
Lesson 6
Under discussion
How to return
How to return public static List getListForRemove(List list) Neither list is appropriate LinkedList<Object> arrayList = new LinkedList<>(); ArrayList<Object> arrayList = new ArrayList<>(); how to solve? Must come up LinkedList arrayList = new LinkedList<>(); bu
13.06.2019
1337
views
1
comment
0
Earil
Level 25
Paris
Question about the task
Family census
Java Syntax
,
Level 7
,
Lesson 12
Resolved
Task not being validated
I have no idea why the "Create 9 different Human objects (4 objects without a father and mother and 5 objects with them)." is not validated. It seems to me that I did just that, and that I filled all the objects with proper input. Can anyone help me here ?
07.06.2019
1353
views
2
comments
0
Ankit
Level 2
Delhi
Question about the task
Pay raise
Java Syntax
,
Level 2
,
Lesson 2
Resolved
What's wrong in my code??
What's wrong?????????
12.06.2019
1431
views
4
comments
0
Razvii
Level 16
Timișoara
Question about the task
Maximum in an array
Java Syntax
,
Level 7
,
Lesson 4
Resolved
The method runs perfectly .. but its not validate.
The max method run ok..but its not validate.. why ??
14.06.2019
2114
views
2
comments
0
ira.iurciuc
Level 10
Chisinau
Question about the task
Creating cats
Java Syntax
,
Level 5
,
Lesson 9
Resolved
I can't figure it out!
Help, where is my mistake?
05.02.2019
1635
views
7
comments
0
Jason Ahn
Level 5
Calgary
Question about the task
Bouncer policy
Java Syntax
,
Level 4
,
Lesson 6
Under discussion
Please help me..
I'm stuck with this question for literally an hour and still don't know what the problem is...Please please help me :(
21.12.2018
1670
views
6
comments
0
dean
Level 8
Deutschland
Question about the task
Let's put together a rectangle
Java Syntax
,
Level 5
,
Lesson 7
Under discussion
method initialize(int,int,int) is already defined in class com.codegym.task.task05.task0513.Rectangle: Rectangle.java, line: 30, column: 17
Hey, the error says that i can't create 2 initialize() with the same data type parameters... why is that? com/codegym/task/task05/task0513/Rectangle.java:30: error: method initialize(int,int,int) is already defined in class com.codegym.task.task05.task0513.Rectangle public void initialize(int
24.04.2019
2392
views
5
comments
0
ddi
Level 18
Dortmund
Question about the task
One large array and two small ones
Java Syntax
,
Level 7
,
Lesson 4
Under discussion
What am i missing?
What am i missing?
08.06.2019
978
views
2
comments
0
Raisa Toscano
Level 22
Tepic
Question about the task
Identical words in a list
Java Syntax
,
Level 10
,
Lesson 11
Under discussion
why doesnt fullfiel the third condition?
int values=1; HashMap result = new HashMap(); for (int unique = 0; unique
07.01.2019
1312
views
4
comments
0
nithya lmk
Level 4
Bangalore
Question about the task
Do we have a pair?
Java Syntax
,
Level 4
,
Lesson 4
Under discussion
can someone please tell me the error
package com.codegym.task.task04.task0417; /* Do we have a pair? */ import java.io.*; import java.util.Scanner; public class Solution { public static void main(String[] args) throws Exception { Scanner in = new Scanner(System.in); int a = in.nextInt(); int b = in.ne
31.08.2018
1764
views
7
comments
0
Satya Vath
Level 31
Vijayawada
Question about the task
Refactoring (part 13)
Java Multithreading
,
Level 5
,
Lesson 16
Under discussion
Help Me
Please
18.06.2019
1160
views
2
comments
0
User
Level 5
Shymkent
Question about the task
Seasons on Terra
Java Syntax
,
Level 4
,
Lesson 4
Resolved
can't resolve
What's wrong i can't understand
18.06.2019
1011
views
3
comments
0
Ben Valenta
Level 5
Washington
Question about the task
Initializing cats
Java Syntax
,
Level 5
,
Lesson 7
Under discussion
Can't figure out the last part
In the final part where we are given weight, address, and color and told to initialize everything except name, I can't get it to accept.
28.01.2019
1693
views
7
comments
0
Sudhansu Shekhar
Level 6
Jaipur
Question about the task
Initializing cats
Java Syntax
,
Level 5
,
Lesson 7
Resolved
I can't understand what its asking for....??,
As per the requirement 7. The class must have an initialize method that takes a name as an argument, but initializes all variables except the address. 8. The class must have an initialize method that takes a name, weight, and age as arguments, but initializes all variables except the address. 9.
31.05.2019
1481
views
2
comments
0
smile
Level 7
Tainan
Question about the task
Tom and Jerry
Java Syntax
,
Level 5
,
Lesson 12
Resolved
Why can't I use "extends" to create 3 variables?
I use "extends" to create 3 variables in "Dog" class and "Cat" class. But I failed. Why? What's wrong with my code?
18.06.2019
1528
views
8
comments
0
Serg
Level 23
Tyumen
Question about the task
We don't need repeats
Java Syntax
,
Level 8
,
Lesson 8
Under discussion
How is the problem solved?
How is the problem solved? The removeFirstNameDuplicates() method must remove from the map all people who have the same first name.
14.06.2019
1275
views
2
comments
0
Franek
Level 29
Torun
Question about the task
Adding a file to an archive
Java Collections
,
Level 1
,
Lesson 6
Under discussion
Will anyone help?
I'm not sure i understand it
05.06.2019
1113
views
1
comment
0
Biplob
Level 22
কুমিল্লা
Question about the task
Reinforce the singleton pattern
Java Core
,
Level 5
,
Lesson 12
Resolved
how to create separate class files in web IDE?
Task requirement • The Sun, Moon and Earth classes must be in separate files. Is it possible to create separate files for classes in web IDE? if So , how?
17.06.2019
1373
views
4
comments
0
Emenike Ayalogu
Level 13
Bowling Green
Question about the task
Functionality is not enough!
Java Syntax
,
Level 10
,
Lesson 11
Under discussion
At loss with what else to do
Don’t know what to do again
08.06.2019
1110
views
2
comments
0
Павел Артеменко
Level 41
Krasnodar
Question about the task
Aggregator (part 3)
Java Collections
,
Level 8
,
Lesson 15
Resolved
Bugged
I do have getter and setter on websiteName, but validator don't see this.
17.06.2019
889
views
4
comments
0
Cristina Tane
Level 4
Bucharest
Question about the task
Pay raise
Java Syntax
,
Level 2
,
Lesson 2
Under discussion
What is wrong on this code? It's related to the lecture 2 lesson 2
package com.codegym.task.task02.task0205; /* Pay raise */ public class Solution { public static void main(String[] args) { hackSalary(7000); } public static void hackSalary(int a) { //write your code here a=8000; int b=a+1000; System.out.printl
18.06.2019
1021
views
2
comments
0
hidden #10441159
Level 16
Question about the task
Family census
Java Syntax
,
Level 7
,
Lesson 12
Resolved
Not entirely sure what`s wrong.Condition 2,3,4 isn`t validating however console output is correct
package com.codegym.task.task07.task0724; /* Family census */ public class Solution { public static void main(String[] args) { // write your code here Human obj1 = new Human("jon", false, 23); Human obj2 = new Human("snow", true, 63); Human obj3 = new Human("
18.06.2019
1500
views
2
comments
0
Neha Anjum
Level 6
Hyderabad
Question about the task
Closest to 10
Java Syntax
,
Level 4
,
Lesson 4
Resolved
Missing something..???
public class Solution { public static void main(String[] args) { closeToTen(8, 11); closeToTen(7, 14); } public static void closeToTen(int a, int b) { int a1 = abs(a - 10); int b1 = abs(b - 10); if (a1 > b1) { System.out.println(b); } else if
17.09.2018
1871
views
8
comments
2
Satya Vath
Level 31
Vijayawada
Question about the task
Refactoring (part 12)
Java Multithreading
,
Level 5
,
Lesson 16
Resolved
Help Me
How To Do It
18.06.2019
817
views
5
comments
0
علي حجار
Level 18
Bursa
Question about the task
Animal set
Java Syntax
,
Level 8
,
Lesson 11
Under discussion
can help me ?!
why is not working ,I added all animal into hashSet<>result
03.12.2018
1583
views
8
comments
0
Satya Vath
Level 31
Vijayawada
Question about the task
Refactoring (part 10)
Java Multithreading
,
Level 5
,
Lesson 16
Resolved
Help Me
Reccomendation from mentor :- The Car create(int, int) method must return a Car object based on the passed argument.
18.06.2019
1283
views
5
comments
0
Nitin
Level 5
Question about the task
Somehow average
Java Syntax
,
Level 4
,
Lesson 16
Under discussion
What is correct way to solve this problem, i tried a lot?
12.03.2019
1657
views
6
comments
0
Pooja Gujjer
Level 2
Mumbai
Question about the task
Our first converter!
Java Syntax
,
Level 2
,
Lesson 2
Under discussion
I dont know what to do?? Somebody plzz help!!
I tried thousand time but i am not getting the answer
14.06.2019
1076
views
2
comments
0
Show more
1
...
302
303
304
305
306
...
366
Please enable JavaScript to continue using this application.