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
errorCode
Level 9
Makati
Question about the task
Drawing lines
Java Syntax
,
Level 4
,
Lesson 13
Resolved
My display is correct, still it does not met the requirements. Why?
My display is correct, still it does not met the requirements. Why?
14.09.2018
2102
views
4
comments
0
Don Boody
Level 8
Victor
Question about the task
Drawing lines
Java Syntax
,
Level 4
,
Lesson 13
Under discussion
IntelliJ Behavior
Anybody running into an issue where you ask the IntelliJ plugin to verify the task you're currently working on, but it verifies the task you had just previously worked on? It happens to me very frequently, regardless of the task or level. Anybody find a way to fix that?
16.02.2019
1304
views
5
comments
1
Sourav Kumar Rana
Level 9
Delhi
Question about the task
Notepad for new ideas
Java Syntax
,
Level 6
,
Lesson 11
Under discussion
this worked but need improvement
package com.codegym.task.task06.task0617; /* Notepad for new ideas */ public class Solution { public static class Idea { public String getDescription() { return "sourav"; } } public static void printIdea(Idea idea) { System.out
17.01.2019
1485
views
6
comments
0
Wilder
Level 4
Alajuela
Question about the task
Pets need people
Java Syntax
,
Level 2
,
Lesson 5
Under discussion
help please, i can't figure out what do to :(
public class Solution { public static void main(String[] args) { Cat cat=new Cat(); Dog dog=new Dog(); Fish fish=new Fish(); cat.owner=Woman; dog.owner=Woman; fish.owner=Woman;
22.03.2019
1322
views
3
comments
0
Akash sah
Level 8
Kathmandu
Question about the task
Pets need people
Java Syntax
,
Level 2
,
Lesson 5
Under discussion
what should i do now?
what is wrong with this code?
09.02.2019
1108
views
3
comments
0
Julien
Level 15
Paris
Question about the task
Checking the order
Java Syntax
,
Level 7
,
Lesson 9
Resolved
Compiled, Tested with manual entries. Work for me but not for CodeGym. Review please ?
Hey Guys, Everything look fine with this code, i tried manual entries (like ascendant, descendant sets with violators and some with not). I dont know why i don't pass the test in codegym. Someone here for a code review please ? ArrayList list = new ArrayList<>(); BufferedReader re
11.05.2019
1015
views
3
comments
0
MakinTosH
Level 20
Vilnius
Question about the task
CRUD 2
Java Core
,
Level 7
,
Lesson 10
Resolved
Is this an error with validation?
Ok, I think my code is working perfectly.. Can anyone help me and find why the conditions aren't met?
09.05.2019
1550
views
7
comments
0
Piyali Dey
Level 2
Hyderabad
Question about the task
The great purge
Java Syntax
,
Level 1
,
Lesson 8
Resolved
What is the meaning of this ?
5 is better than 23
11.05.2019
804
views
0
comments
0
Павел Артеменко
Level 41
Krasnodar
Question about the task
MVC (part 4)
Java Multithreading
,
Level 4
,
Lesson 14
Resolved
What am I missing here?
All done as mentioned in conditions, but verification fails.
08.05.2019
988
views
2
comments
0
Mareike
Level 4
Question about the task
Words in reverse
Java Syntax
,
Level 7
,
Lesson 9
Resolved
Won't verify the last two conditions
Hi, can anyone spot the mistake? It won't verify the last two conditions...
11.05.2019
1252
views
3
comments
0
Ahmed
Level 23
Amsterdam
Question about the task
Longest sequence
Java Syntax
,
Level 8
,
Lesson 6
Resolved
Can't figure it out!
Any one has an idea how to support?
10.05.2019
1413
views
7
comments
0
Sasha
Level 20
Novi Sad
Question about the task
Files and exceptions
Java Core
,
Level 8
,
Lesson 11
Resolved
How did you do it?
Well, I'm having problems with this one. Maybe some help? Thanks guys
14.02.2019
1649
views
7
comments
1
Ryan
Level 7
edmonton
Question about the task
Three numbers
Java Syntax
,
Level 4
,
Lesson 6
Resolved
My code passes in the tests I run without verification. Can someone explain why it isn't passing? Thanks
package com.codegym.task.task04.task0424; /* Three numbers */ import java.io.*; public class Solution { public static void main(String[] args) throws Exception { //write your code here BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); Stri
10.05.2019
1172
views
2
comments
0
Sokhib
Level 7
Makati
Question about the task
Positive number
Java Syntax
,
Level 4
,
Lesson 7
Under discussion
Original Set??????
display the numbers in the original set WHat is THAT????/
15.12.2018
1563
views
7
comments
1
Thasi
Level 10
Cape Town
Question about the task
Longest sequence
Java Syntax
,
Level 8
,
Lesson 6
Resolved
How do I increment count? Result is always coming back as 1
I was trying to increment count as when a potential sequence was beginning. Save it to a different variable and as soon as the sequence was broken reset count but have the longest sequence still saved.
07.05.2019
1920
views
1
comment
0
Djole
Level 41
Belgrade
Question about the task
Charting our own course
Java Multithreading
,
Level 5
,
Lesson 9
Resolved
any advice on this one? thanks.
public class Solution implements Thread.UncaughtExceptionHandler { @Override public void uncaughtException(Thread t, Throwable e) { t.interrupt(); Deque stack = new ArrayDeque<>(); Throwable ie = new Throwable(e); while (true) { ie = ie.getCau
19.04.2019
1487
views
10
comments
0
Harinath Reddy A
Level 7
Delhi
Question about the task
Day of the week
Java Syntax
,
Level 4
,
Lesson 4
Resolved
Help...
Wats worng in this code??? please help me anyone
17.02.2019
1362
views
4
comments
0
Ankita Patra
Level 5
Bhubaneshwar
Question about the task
Pay raise
Java Syntax
,
Level 2
,
Lesson 2
Resolved
What's wrong in this code? It is running successfully but while verifying It is saying some typo error!!
public class Solution { public static void main(String[] args) { hackSalary(7000); } public static void hackSalary(int a) { //write your code here int sal=a+1000; System.out.println("Your salary is : " + sal + " dollars per month"); } }
07.05.2019
1115
views
5
comments
0
JavaJavaJava
Level 3
Question about the task
Minimum of three numbers
Java Syntax
,
Level 2
,
Lesson 8
Under discussion
help find error please
public class Solution { public static int min(int a, int b, int c) { if (a > b && a > c) if (b > c) return c; else return b; else if (b > a && b >c) if (a > c) return c; else return a; }
10.05.2019
1027
views
4
comments
0
Wicker_man
Level 3
Kiev
Question about the task
Minimum of three numbers
Java Syntax
,
Level 2
,
Lesson 8
Resolved
wrongs in compile, but I write return min
wrongs in compile, but I write return min in my code
10.05.2019
865
views
1
comment
0
smile
Level 7
Tainan
Question about the task
Even to the moon!
Java Syntax
,
Level 2
,
Lesson 8
Resolved
Why can't I "return double moonWeight = earthWeight * 0.17;"?
package com.codegym.task.task01.task0136; /* Even to the moon! */ public class Solution { public static void main(String[] args) { System.out.println(getWeight(888)); } public static double getWeight(int earthWeight) { // write your code here return double m
07.05.2019
1391
views
5
comments
0
asyraf
Level 3
Kuala Lumpur
Question about the task
Minimum of three numbers
Java Syntax
,
Level 2
,
Lesson 8
Under discussion
Get wrong result
Here my solution to this question, but i not really sure what is wrong with the output
03.05.2019
946
views
5
comments
0
Eduardo
Level 23
Coyoacan
Question about the task
Arranging calls to join()
Java Core
,
Level 6
,
Lesson 5
Resolved
Need some help with order of joining
Hello, this is what i got as output: Missy gave birth to 2 kittens Coco gave birth to 2 kittens Missy: All the kittens are in the basket. Missy brought them back Kitten 1 (mother - Missy) got out of the basket Kitten 2 (mother - Missy) got out of the basket Coco: All the kittens are in the basket.
07.05.2019
1576
views
2
comments
0
sitedevelop
Level 2
Qaraghandy
Question about the task
Family relations
Java Syntax
,
Level 2
,
Lesson 2
Under discussion
About man.wife and woman.husband
Is man.wife also a variable?
02.05.2019
1151
views
1
comment
0
Multivac
Level 13
Lima
Question about the task
Set of cats
Java Syntax
,
Level 8
,
Lesson 11
Under discussion
Remove question wtih iterator
Why can't I pass the test when I remove a cat with this code: Iterator iterator = cats.iterator(); while (iterator.hasNext()) { Cat cat = iterator.next(); if (cat.name.equals("Gringasho")) iterator.remove(); } But when I use a for each loo
20.01.2019
1114
views
5
comments
0
Somya Gupta
Level 4
Vrindavan
Question about the task
Escaping characters
Java Syntax
,
Level 3
,
Lesson 6
Under discussion
helps
package com.codegym.task.task03.task0316; /* Escaping characters */ public class Solution { public static void main(String[] args) { //write your code here String s1="This is a Windows path:"; String s2=" C:\"Program Files\"Java\"jdk1.8.0_172\"bin";
25.08.2018
2062
views
2
comments
0
Zeeshan
Level 4
Chandler
Question about the task
Escaping characters
Java Syntax
,
Level 3
,
Lesson 6
Resolved
How do i add a double quote
How do I add a double quote? I need it for string a.
12.03.2019
1637
views
2
comments
0
Kisszol
Level 15
Toeroekbalint
Question about the task
Task about algorithms
Java Syntax
,
Level 9
,
Lesson 11
Resolved
La sistemo ne akceptas mian solvon kial ? The system does not accept my solution why?
"The sort() method should call the isGreaterThan() method." -> it is not in the conditions, that I have to use it
06.04.2019
1400
views
6
comments
0
Connor
Level 8
Boston
Question about the task
Streets and houses
Java Syntax
,
Level 7
,
Lesson 4
Archived
Program seems to be in good working order
I can't find any typos either. Could someone help troubleshoot for me?
04.05.2019
1400
views
9
comments
0
Steven Mcilhone
Level 17
Belfast
Question about the task
Census
Java Syntax
,
Level 8
,
Lesson 8
Under discussion
confused, hashmaps dont allow duplicates, how can i check if they have the same fiurst or last name?
confused, hashmaps dont allow duplicates, how can i check if they have the same fiurst or last name?
08.05.2019
1434
views
1
comment
0
Show more
1
...
319
320
321
322
323
...
366
Please enable JavaScript to continue using this application.