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
Satya Vath
Level 31
Vijayawada
Question about the task
Shared list
Java Core
,
Level 7
,
Lesson 10
Resolved
Please Help
package com.codegym.task.task17.task1713; import java.util.*; /* Shared list */ import java.util.ArrayList public class Solution implements List{ private ArrayList original = new ArrayList<>(); int i = original.size(); public static void main(String[] args) { } }
17.04.2019
1653
views
3
comments
0
Swaroop Raghavendra
Level 2
None
Question about the task
Implement the print method
Java Syntax
,
Level 2
,
Lesson 1
Resolved
hi friends I have doubt?
Can we print integer instead of string,if we wanted to display numbers.
26.06.2020
338
views
6
comments
0
Ferd
Level 4
Dresden
Question about the task
Display right away
Java Syntax
,
Level 3
,
Lesson 3
Under discussion
What do I do wrong
Hello, I tried this and somehow I keep getting: missing method body, or declare abstract: Solution.java, line: 15, column: 24 cannot find symbol symbol: variable s location: class com.codegym.task.task03.task0302.Solution: Solution.java, line: 16, column: 28
03.05.2019
2103
views
6
comments
0
sarthak pawar
Level 19
Nashik
Question about the task
Functionality is not enough!
Java Syntax
,
Level 10
,
Lesson 11
Under discussion
Why this is showing nullPointerException at line 24
???
18.06.2020
318
views
2
comments
0
Liliane Top
Level 17
Amsterdam
Question about the task
HashMap of cats
Java Syntax
,
Level 8
,
Lesson 3
Resolved
Confused
It seems so simple, yet why is this not working?
14.02.2020
1443
views
3
comments
0
MaGaby2280
Level 41
Guatemala City
Question about the task
Between tabs
Java Multithreading
,
Level 2
,
Lesson 5
Under discussion
Help wanted!
Any ideas why my loop doesn´t verify???
25.06.2020
580
views
4
comments
0
Brad Reed
Level 19
Hartford
Question about the task
ConsoleReader class
Java Syntax
,
Level 6
,
Lesson 8
Resolved
weird error....
Hello community; Im getting a "return Statement Error "}" expected, I have checked and rechecked and each open brace has a closing brace....what did i miss.
26.06.2020
466
views
3
comments
0
Ivan
Level 9
Uzhhorod
Question about the task
Task about algorithms
Java Syntax
,
Level 5
,
Lesson 12
Under discussion
How to count lines to create a loop?
Please help someone. I almost solved this task, but I can't create loop to automatically count lines.
26.06.2020
499
views
1
comment
0
Maxine Hammett
Level 19
San Diego
Question about the task
Expressing ourselves more concisely
Java Syntax
,
Level 7
,
Lesson 6
Archived
The program should display the shortest string problems
The program does show the smallest input. I'm unsure of where I went wrong in the code. Your help is appreciated.
26.06.2020
698
views
2
comments
0
Maxine Hammett
Level 19
San Diego
Question about the task
Longest string
Java Syntax
,
Level 7
,
Lesson 6
Archived
Display the longest string
In the output window it shows "Grandmother" which is the longest string. I'm not sure why it's not passing the final two verifications. Your help is appreciated.
26.06.2020
1087
views
6
comments
0
Timothy Strickland
Level 14
Fairfax
Question about the task
R or L
Java Syntax
,
Level 7
,
Lesson 9
Resolved
Does not print out the right words
Tried several different variations of the code and I can never get the list.add line to duplicate the word.
25.06.2020
472
views
1
comment
0
Maxine Hammett
Level 19
San Diego
Question about the task
One large array and two small ones
Java Syntax
,
Level 7
,
Lesson 4
Under discussion
Error on last task to display half the array
I'm stumped. I made the third array to reference the first array + 9. It should have printed each line but didn't. Your help is appreciated.
25.06.2020
418
views
5
comments
0
Catherine
Level 23
London
Question about the task
Family census
Java Syntax
,
Level 7
,
Lesson 12
Under discussion
I don't understand the error I am getting.
Can someone please explain this error? Based on what I understand of the code, it is correct. com/codegym/task/task07/task0724/Solution.java:10: error: constructor Human in class com.codegym.task.task07.task0724.Solution.Human cannot be applied to given types; Human GF1 = new Human ("Pops"
04.06.2020
546
views
2
comments
0
Pragati Singh
Level 7
Bangalore
Question about the task
Family census
Java Syntax
,
Level 7
,
Lesson 12
Under discussion
Please help
help me to resolve it, please
05.11.2019
1535
views
6
comments
0
Kundatto
Level 8
Tokyo
Question about the task
Zombie cats, zombie dogs
Java Syntax
,
Level 6
,
Lesson 5
Under discussion
Please Help. Will not print from Finalize() methods.
Please Help. Will not print from Finalize() methods. Thank you.
26.06.2020
516
views
2
comments
0
algO
Level 18
Athens
Question about the task
Family census
Java Syntax
,
Level 7
,
Lesson 12
Resolved
I can't understand what is wrong
I can't understand what is wrong
25.06.2020
524
views
3
comments
0
Aleksander
Level 18
Katowice
Question about the task
A list and some threads
Java Core
,
Level 6
,
Lesson 3
Resolved
Where is a mistake?
The program works as expected
25.06.2020
510
views
2
comments
0
Seferi
Level 22
Question about the task
Describing numbers
Java Syntax
,
Level 4
,
Lesson 7
Archived
Why is !even always evaluates to true?
package com.codegym.task.task04.task0427; /* Describing numbers */ import com.sun.deploy.security.SelectableSecurityManager; import java.io.*; public class Solution { public static void main(String[] args) throws Exception { boolean even; BufferedReader reader = new Buffe
12.06.2020
407
views
3
comments
0
Seferi
Level 22
Question about the task
Task about algorithms
Java Syntax
,
Level 5
,
Lesson 12
Resolved
It working fine but doesn't pass the test..
Or I understood the exercise wrong...
18.06.2020
784
views
3
comments
0
Tata
Level 16
Hisar, Haryana
Question about the task
Working with dates
Java Syntax
,
Level 8
,
Lesson 11
Resolved
Could anyone elaborate this task to understand it better.
please, it will mean a lot. All answers are welcomed.
24.06.2020
351
views
4
comments
0
Tata
Level 16
Hisar, Haryana
Question about the task
Kind Emma and the summer holidays
Java Syntax
,
Level 8
,
Lesson 8
Resolved
Stuck mind is not working now....!!!
where I'm wrong???? Please helppppp😔
17.06.2020
424
views
5
comments
0
Juan Gallardo
Level 10
Edmonton
Question about the task
More Sam-I-Am
Java Syntax
,
Level 7
,
Lesson 9
Resolved
I think it displays correctly
How can I get rid of the last line break in the output? Could that be the problem?
12.11.2018
2273
views
8
comments
0
Maxine Hammett
Level 19
San Diego
Question about the task
Cat relations
Java Syntax
,
Level 6
,
Lesson 11
Under discussion
Doesn't resolve father object
Everything works except the third call to write out the father's name and grandfather's name. I'm really confused on this one because all the other conditions work. Your help is appreciated.
25.06.2020
406
views
4
comments
0
MaGaby2280
Level 41
Guatemala City
Question about the task
Debug, debug, and again debug
Java Core
,
Level 5
,
Lesson 12
Resolved
I cannot pass the test... I have tried changing the access modifier but still won´t pass... could someone help me please!
package com.codegym.task.task15.task1526; /* Debug, debug, and again debug */ public class Solution { public static void main(String[] args) { new B(6); } public static class A { private int f1 = 7; private A(int f1) { this.f1 = f1;
16.01.2020
1083
views
4
comments
0
jclements2
Level 20
Rogers
Question about the task
Finding data inside a file
Java Core
,
Level 8
,
Lesson 11
Resolved
Not sure why this won't validate?
The output seems correct, and yet it will not validate. Any thoughts on what is wrong here?
02.05.2020
803
views
5
comments
0
Michał Pietrus
Level 33
Krakow
Question about the task
Finding data inside a file
Java Core
,
Level 8
,
Lesson 11
Resolved
help
Help please why it doesnt work ?
27.03.2020
813
views
4
comments
0
Aleksander
Level 41
Question about the task
Aggregator (part 6)
Java Collections
,
Level 8
,
Lesson 15
Under discussion
Can anyone help me?
I have no idea how to solve this... If anyone can help, I'll be grateful :) Thanks
11.04.2020
680
views
1
comment
0
Maxine Hammett
Level 19
San Diego
Question about the task
StringHelper class
Java Syntax
,
Level 6
,
Lesson 8
Resolved
Code not passing last two tasks
My code looks good. I can't figure out what's wrong with it. I returns a string concatenated 5 times, and a string concatenated variable of times. In the main funciton it prints out the results. Your assistance is appreciated.
24.06.2020
398
views
2
comments
0
Stephen Haokip
Level 8
imphal
Question about the task
Longest sequence
Java Syntax
,
Level 8
,
Lesson 6
Under discussion
stuck at last condition
please help the poor guy here
24.06.2020
391
views
1
comment
0
Robert P
Level 20
Nashville
Question about the task
Shortest or longest
Java Syntax
,
Level 7
,
Lesson 6
Resolved
What am I doing wrong?
I've commented out this code as much a logically possible to make it easier to read. I've polled the array to make sure it takes 10 strings , and that all 10 of them are stored in the array. (line 42) I've tested and retested the build, it works to the requirements stated. I've prodded around the
29.10.2018
1684
views
6
comments
1
Show more
1
...
168
169
170
171
172
...
366
Please enable JavaScript to continue using this application.