Promotion
CodeGym University
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
dean
Level 8
Deutschland
Question about the task
Duplicating words
Java Syntax
,
Level 7
,
Lesson 9
Under discussion
java heap memory
error
5/22/19
1881
views
9
comments
0
dean
Level 8
Deutschland
Question about the task
R or L
Java Syntax
,
Level 7
,
Lesson 9
Under discussion
why i fall most tests?
why i fall most tests?
5/22/19
1719
views
11
comments
0
Deepak Joshi
Level 17
Nainital
Question about the task
Longest sequence
Java Syntax
,
Level 8
,
Lesson 6
Under discussion
What is the reason?
5/1/19
1475
views
1
comment
0
Jishnujith
Level 7
Bengaluru
Question about the task
Shuffled just in time
Java Syntax
,
Level 7
,
Lesson 12
Resolved
Whats wrong with code? I'm getting output correctly, but not verifying
I'm getting output correctly, but not verifying
5/22/19
1736
views
2
comments
0
Deepak Chandra
Level 16
Visakhapatnam
Question about the task
We don't need repeats
Java Syntax
,
Level 8
,
Lesson 8
Resolved
Help please!
I need some help
5/22/19
1931
views
2
comments
0
satish
Level 15
kadapa
Question about the task
Task about algorithms
Java Syntax
,
Level 5
,
Lesson 12
Archived
why we should use Integer.MIN_VALUE
what is the use of Integer.MIN_VALUE
5/22/19
1405
views
1
comment
0
hidden #10455345
Level 2
Question about the task
The great purge
Java Syntax
,
Level 1
,
Lesson 8
Resolved
Can someone please explain me what am I doing wrong?
I checked my code like a 1000 times, but still get an error "You need to comment out the unused variables." I thought I did comment them out. Does anybody see my mistake?
5/22/19
1485
views
1
comment
2
dean
Level 8
Deutschland
Question about the task
Cat relations
Java Syntax
,
Level 6
,
Lesson 11
Under discussion
What am i missing here?
package com.codegym.task.task06.task0621; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; /* Cat relations */ public class Solution { public static void main(String[] args) throws IOException { BufferedReader reader = new BufferedReader(
5/22/19
1568
views
5
comments
0
Aastha Khanna
Level 5
Question about the task
Minimum of four numbers
Java Syntax
,
Level 2
,
Lesson 8
Under discussion
What is wrong with this code?
public class Solution { public static int min(int a, int b, int c, int d) { //write your code here int m1,m,x; m1=min(a,b); m=min(c,d); x=min(m1,m); System.out.print(x); } public static int min(int a, int b) { //write your code her
5/21/19
1161
views
2
comments
0
Cheikh Sambakhe
Level 4
Louga
Under discussion
Can someone explain me why it's not coming? Issues with my code and my understanding of objects and classes
Hello Guys, I've just done that exercise. But don't really understand why the code below is coming. package com.codegym.task.task03.task0315; /* Roy G. Biv… */ public class Solution { public static void main(String[] args) { //write your code here //Creation objects
5/20/19
1716
views
3
comments
0
arun et
Level 11
Chennai
Question about the task
You can't buy friends
Java Syntax
,
Level 5
,
Lesson 9
Under discussion
I Have no idea what is wrong?
5/21/19
1580
views
3
comments
0
Maria Habib
Level 5
Jhelum
Question about the task
Don't think about seconds…
Java Syntax
,
Level 3
,
Lesson 8
Resolved
whats the error
;(
9/20/18
3115
views
5
comments
0
Satya Vath
Level 31
Vijayawada
Question about the task
Externalizable Person
Java Core
,
Level 10
,
Lesson 7
Under discussion
Where is the Error
I am Sure That It is Working Properly
4/22/19
1453
views
3
comments
0
Павел Артеменко
Level 41
Krasnodar
Question about the task
Chat (part 11)
Java Multithreading
,
Level 6
,
Lesson 15
Resolved
Timeout on validation
Getting timeout on validation, while debugging with JMeter keep getting exception in Connection constructor while calling socket.getInputStream(): java.io.EOFException at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2681) at java.io.ObjectInputStream$BlockDataInputS
5/12/19
1741
views
3
comments
0
dean
Level 8
Deutschland
Question about the task
Remove and insert
Java Syntax
,
Level 7
,
Lesson 6
Under discussion
a question
package com.codegym.task.task07.task0711; import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.ArrayList; /* Remove and insert */ public class Solution { public static void main(String[] args) throws Exception { //write your code here ArrayList
5/21/19
1765
views
7
comments
0
dean
Level 8
Deutschland
Question about the task
Shortest or longest
Java Syntax
,
Level 7
,
Lesson 6
Under discussion
What am i missing here?
thanks
5/21/19
1420
views
3
comments
0
Thomas
Level 13
Scottsdale
Under discussion
Hints --- AddTenPercent --- additional step to highlight the math ( number + percentage increase = new total )
I added an extra step to calculate to ADD the Percentage INCREASE onto the int value passed into the formula ( value + % increase = Total ) double pct = .10; double moreTotal = i * pct; double increase = moreTotal + i; // Consider this example: return 123
5/19/19
1338
views
1
comment
0
IrnBruKing
Level 7
Falls Church
Under discussion
A better way of doing it?
Hello, Is there a better, more concise way of writing the code? Is there a way of shortening the below code? /* Hello, StarCraft! */ public class Solution { public static void main(String[] args) { Zerg z1 = new Zerg(); z1.name = "Drone"; Zerg z2 = new Zerg();
5/20/19
1344
views
1
comment
0
hidden #10444258
Level 4
Under discussion
problem login Chrome
I cannot login by Google Account in Chrome Browser. I am logged on Edge but I would like to use Chrome because of its Translate page option. When I try to login in with Google account i get this error: Error 404. Sorry, the page wasn't found. What can I do?
5/20/19
1482
views
2
comments
0
dean
Level 8
Deutschland
Question about the task
Create a Rectangle class
Java Syntax
,
Level 5
,
Lesson 9
Resolved
How to create a copy of another rectangle passed in as an argument?
hey this code doesn't work i know it something to do with th way i create a copy of another rectangle passed in as an argument ON LINE 36~.. what am i missing? thanks! package com.codegym.task.task05.task0520; /* Create a Rectangle class */ public class Rectangle { //write your code here
4/25/19
3072
views
15
comments
0
Hadiqa
Level 8
Lahore
Question about the task
To the top of the list
Java Syntax
,
Level 7
,
Lesson 6
Resolved
Please help identifying the problem.
When I run my code, it works perfectly fine. It also fulfills all the conditions but somehow it's not verifying.I can't see where the problem is. Please help to identify it.
1/25/19
2002
views
4
comments
0
Alexey
Level 7
Chernihiv
Question about the task
Longest string
Java Syntax
,
Level 7
,
Lesson 6
Archived
not valid code(( help me pls.
what i've done wrong? I cant understand. Help me please.
3/19/19
1770
views
8
comments
0
Swati
Level 8
Pune
Question about the task
Method quartet
Java Syntax
,
Level 8
,
Lesson 6
Resolved
verification gives error
please help
1/30/19
1933
views
4
comments
0
Johnson Jose
Level 10
Edinburgh
Question about the task
R or L
Java Syntax
,
Level 7
,
Lesson 9
Under discussion
What is wrong with my fix method?
I don't get why my logic doesn't work
5/21/19
1465
views
4
comments
0
Djole
Level 41
Belgrade
Question about the task
2048 (part 6)
Java Multithreading
,
Level 10
,
Lesson 15
Resolved
bugged??
private boolean mergeTiles(Tile[] tiles){ //consolidateTiles(tiles); boolean madeChanges = false; for (int j = 0; j < 3; j++) { if (tiles[j].value == tiles[j + 1].value) { tiles[j] = new Tile(tiles[j].value * 2); tiles[j + 1] =
5/20/19
1637
views
2
comments
0
Павел Артеменко
Level 41
Krasnodar
Question about the task
This weird BigDecimal
Java Multithreading
,
Level 9
,
Lesson 9
Resolved
Bugged?
Or am I missed something?
5/20/19
1632
views
3
comments
0
Naizak
Level 9
Question about the task
R or L
Java Syntax
,
Level 7
,
Lesson 9
Under discussion
I can't find the problem.
Why the remove method does not work?
5/20/19
1719
views
2
comments
0
Haither
Level 4
Bangalore
Question about the task
Task with percentages
Java Syntax
,
Level 3
,
Lesson 3
Resolved
What is the issue here ????
package com.codegym.task.task03.task0304; /* Task with percentages */ public class Solution { public static double addTenPercent(int i) { //write your code here double a = i*10/100; double tage = i + a; return tage; } public static void main(
5/16/19
2225
views
10
comments
0
Thomas
Level 13
Scottsdale
Under discussion
Level 3 Display The Right Way ---- Stuck --- please have a look -- -THX
I have tried many different ways ... see commented out code public static void main(String[] args) { a = "Hello, "; b = "Amigo!"; printString("Hello, Amigo!"); // printString(s); // printString(a + b); } public static void printString(String s)
5/20/19
1300
views
1
comment
0
hidden #10451198
Level 14
Question about the task
Crossing the road blindly
Java Syntax
,
Level 4
,
Lesson 4
Under discussion
Thats isn't working
What here is wrong?
5/17/19
1804
views
2
comments
0
Show more
1
...
322
323
324
325
326
...
374
Please enable JavaScript to continue using this application.