Promotion
CodeGym University
Java FullStack
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
Java 25
All quests
All levels
Any status
Questions about tasks
Hot
Godwin
Level 14
Sango
Question about the task
Shuffled just in time
Java Syntax
,
Level 7
,
Lesson 12
Resolved
shows timeout after validation, why?
After spending much time the program runs correctly but shows timeout after validation. no pass, no fail just timeout. How can i resolve this? Thanks
5/12/19
1593
views
2
comments
0
nickyy
Level 18
Diou
Question about the task
Rule of the triangle
Java Syntax
,
Level 4
,
Lesson 4
Under discussion
Using loops to solve the triangle problem
Hi everyone :-) Maybe I have over done it, I have not find a splice function in java... I am not sure why my code fails... It gives the correct answers when I try it. 5, 3, 2 => exists 0 for a side => exists 5, 2, 2 => exists
5/10/19
3540
views
2
comments
0
hidden #10438825
Level 4
Question about the task
Closest to 10
Java Syntax
,
Level 4
,
Lesson 4
Under discussion
Not sure what I am doing wrong.
Even just a hint would help. Thanks
5/10/19
2697
views
3
comments
0
Connor
Level 8
Boston
Question about the task
R or L
Java Syntax
,
Level 7
,
Lesson 9
Under discussion
I'm unsure about what I'm missing, I'm sure it's pretty simple but I'm BURNT from work this week.
It's been REALLY busy this week, but I need to get at LEAST two hours of practice in per day. I know once I get a job doing this it'll be at LEAST 8 hours a day coding. But right now on top of 50 hours a week at a restaurant :'0, and doing 8 hours a day on my two days off and being a dad. I love my
5/11/19
1723
views
3
comments
0
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?
9/14/18
2454
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?
2/16/19
1565
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
1/17/19
1823
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;
3/22/19
1785
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?
2/9/19
1415
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
5/11/19
1529
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?
5/9/19
1926
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
5/11/19
1107
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.
5/8/19
1285
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...
5/11/19
1578
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?
5/10/19
2052
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
2/14/19
2029
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
5/10/19
1510
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????/
12/15/18
1936
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.
5/7/19
2315
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
4/19/19
2110
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
2/17/19
1626
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"); } }
5/7/19
1639
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; }
5/10/19
1435
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
5/10/19
1213
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
5/7/19
1682
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
5/3/19
1246
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.
5/7/19
1972
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?
5/2/19
1533
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
1/20/19
1502
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";
8/25/18
2347
views
2
comments
0
Show more
1
...
327
328
329
330
331
...
374
Please enable JavaScript to continue using this application.