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
hidden #10515202
Level 20
Question about the task
Implement the print method
Java Syntax
,
Level 2
,
Lesson 1
Under discussion
solution
in print method: add this 4 times, it works System.out.println(s); System.out.println(s); System.out.println(s); System.out.println(s);
11/10/19
1340
views
1
comment
0
Satya Vath
Level 31
Vijayawada
Question about the task
AmigoOutputStream
Java Core
,
Level 8
,
Lesson 8
Under discussion
Please Help
Where is the Problem
4/19/19
1712
views
5
comments
2
Kent Hervey
Level 19
Question about the task
R or L
Java Syntax
,
Level 7
,
Lesson 9
Under discussion
Why does my verification need an upper bound change on condition?
See my code below Note: originalSize--; I put this in because when I remove an item I need to stop sooner than otherwise or else I will be out of bound. It works, but then I noticed others' are working without it. Why do I need it and other don't? int originalSize = list.size();
11/16/19
974
views
1
comment
0
Mark Fernandez
Level 17
Mumbai
Question about the task
R or L
Java Syntax
,
Level 7
,
Lesson 9
Resolved
unable to get output and can we do it without using 2nd arraylist
package com.codegym.task.task07.task0716; import java.util.ArrayList; /* R or L */ public class Solution { public static void main(String[] args) throws Exception { ArrayList list = new ArrayList(); list.add("rose"); // 0 list.add("love"); // 1 list.add("lyre"
3/4/19
2097
views
12
comments
0
Dusernajder
Level 20
Budapest
Question about the task
R or L
Java Syntax
,
Level 7
,
Lesson 9
Resolved
Can someone tell me why? SPOILER: Answer in question?!
So, I already made the task, but there was a little part of it where I don't know was going on. On the first picture, where I declare the newList like this: The for loop was decrasing the lists size, when a word that contained the letter 'r' was in the scope. So when "rose" came, the loop removed i
5/30/19
1793
views
8
comments
0
Anita Pal
Level 14
Question about the task
R or L
Java Syntax
,
Level 7
,
Lesson 9
Under discussion
I am not able to satisfy second condition
package com.codegym.task.task07.task0716; import java.util.ArrayList; /* R or L */ public class Solution { public static void main(String[] args) throws Exception { ArrayList list = new ArrayList(); list.add("rose"); // 0 list.add("love"); // 1 list.add("lyre
9/22/19
1439
views
3
comments
0
Bill Hine
Level 9
Sarasota
Question about the task
Longest string
Java Syntax
,
Level 7
,
Lesson 6
Archived
please help has been many hours this works with test data but failes task 3 & 4 thank you
package com.codegym.task.task07.task0708; import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.List; /* Longest string */ public class Solution { private static List strings = new ArrayList(); public static void main(String[] ar
11/15/19
1477
views
1
comment
0
KnGod
Level 1
Havana
Question about the task
Minesweeper (Part 2/16))
Games
,
Level 0
,
Lesson 0
Under discussion
what should i put to acomplish the fourth condition?
i tried game.setScreenSize(SIDE, SIDE); //but it said i cant call a non static method from a static context
11/15/19
1468
views
1
comment
0
John
Level 7
Houston
Question about the task
Pay raise
Java Syntax
,
Level 2
,
Lesson 2
Resolved
Solution
public class Solution { public static void main(String[] args) { hackSalary(7000); } public static void hackSalary(int a) { int salary= a; int newSalary = salary += 1000; System.out.println("Your salary is: " + newSalary + " dollars per month."); } }
5/3/19
1606
views
2
comments
1
Niladri pradhan
Level 33
Mumbai
Question about the task
GCD
Java Core
,
Level 4
,
Lesson 8
Under discussion
infinite loop
The code run successfully. i even got an output but at the time of verify it showing infinity loops.please help
8/17/19
1095
views
3
comments
0
Niladri pradhan
Level 33
Mumbai
Question about the task
Finding data inside a file
Java Core
,
Level 8
,
Lesson 11
Under discussion
infinity loop problem
It run as expected in intelij. please help
8/27/19
1147
views
1
comment
0
Niladri pradhan
Level 33
Mumbai
Question about the task
Prices
Java Core
,
Level 8
,
Lesson 11
Under discussion
please help
verification failed
8/30/19
967
views
1
comment
0
Lex Medeiros
Level 18
San Jose
Question about the task
Finding data inside a file
Java Core
,
Level 8
,
Lesson 11
Under discussion
Could someone explain to me the following?
I understand what the task requires, however, I am not clear in the steps I should follow to convert the byte data to find the id and display the required information - as you can see from my code. For example, int data = inputStream.read(); is going to give me bytes. It does not give me lines, ch
9/1/19
945
views
1
comment
0
Rupa Joshi
Level 29
Tokyo
Question about the task
Chat (part 16)
Java Multithreading
,
Level 6
,
Lesson 15
Under discussion
please help!
not been able to validate with the tow throw IOException conditions for both the methods.
11/15/19
1144
views
1
comment
0
Korab Cenaj
Level 2
Wroclaw
Under discussion
What are the costs to get the full course?
Is it free or do i need to pay after some levels?
12/17/18
1248
views
1
comment
0
Picvajzmen
Level 20
Belgrade
Question about the task
Building a file
Java Core
,
Level 8
,
Lesson 11
Under discussion
Not good obviously, but what do you guys think about my solution
I sick and tired from this one, I know that it is no good, but wanted to know what do you guys think about it, and what is wrong, I cant look at it anymore, and I have to move on to the next one, because i am stuck at this problem for far too long..
11/12/19
1117
views
5
comments
0
Jimmy Phan
Level 7
Atlanta
Question about the task
Longest string
Java Syntax
,
Level 7
,
Lesson 6
Archived
Surprisingly it works, but not how it should be...right?
Surprisingly it works, but not how it should be...right? it ran and display the line of the strings on a new line lol
11/14/19
926
views
1
comment
0
jorge ives murillo paredes
Level 40
New York City
Question about the task
Date formatting
Java Multithreading
,
Level 2
,
Lesson 7
Under discussion
whats wrong?
what is wrong
11/15/19
1207
views
1
comment
0
John
Level 27
Washington DC
Question about the task
Spaces
Java Core
,
Level 8
,
Lesson 11
Resolved
I don't even understand what is being asked...
I don't even understand what is being asked...
11/14/19
1256
views
1
comment
0
Clarendon lee
Level 8
Baltimore
Question about the task
One large array and two small ones
Java Syntax
,
Level 7
,
Lesson 4
Under discussion
java.lang.ArrayIndexOutOfBoundsException: 9
What's my code wrong? java.lang.ArrayIndexOutOfBoundsException: 9 Thanks a lot !!!
11/12/19
1603
views
2
comments
0
Deborah Wenrich
Level 7
Pembroke Pines
Question about the task
Minimum of four numbers
Java Syntax
,
Level 2
,
Lesson 8
Under discussion
Can someone check my code?
I don't see what I'm missing.
11/14/19
912
views
1
comment
0
Whitney
Level 14
Onalaska
Question about the task
Set of cats
Java Syntax
,
Level 8
,
Lesson 11
Under discussion
Removing an object in a Set without an iterator.
Hello! Is it possible to remove an object from a Set by a variable within that object? The focus of my question here is cats.remove(Cat.name("Phantom")); I'm receiving a compiling error that Cat symbol cannot be found, but just above this line in the code we created a HashSet with the Cat class
11/14/19
1567
views
1
comment
0
Clarendon lee
Level 8
Baltimore
Question about the task
Ascending numbers
Java Syntax
,
Level 6
,
Lesson 11
Under discussion
What's my code wrong?
error: cannot find symbol Arrays.sort(list); 21th, line. What's wrong is it? Thanks a lot. ,!
11/10/19
2313
views
3
comments
0
Denis
Level 22
Kharkiv
Question about the task
Finding data inside a file
Java Core
,
Level 8
,
Lesson 11
Under discussion
Help me pls with this
I need help
6/29/19
878
views
1
comment
0
Denis
Level 22
Kharkiv
Question about the task
Picking out numbers
Java Core
,
Level 9
,
Lesson 5
Under discussion
Help me pls with this
Pls need help
6/29/19
1330
views
1
comment
0
Satya Vath
Level 31
Vijayawada
Question about the task
Reading and writing to a file: CodeGym
Java Core
,
Level 10
,
Lesson 2
Under discussion
Please Help
Help
4/22/19
1334
views
1
comment
0
Satya Vath
Level 31
Vijayawada
Question about the task
Problem solving
Java Core
,
Level 9
,
Lesson 8
Under discussion
Please Help
Where is The Error
4/19/19
1221
views
1
comment
0
Julian “tar” O.falcon
Level 8
Parkersburg
Under discussion
Can you JUnit with codegym?
I want to build the good habit of Junit testing while i develop.
5/6/19
1224
views
1
comment
1
Denis
Level 22
Kharkiv
Question about the task
Word search
Java Core
,
Level 10
,
Lesson 10
Under discussion
What i mush change?
Help pls
6/30/19
1252
views
1
comment
0
Denis
Level 22
Kharkiv
Question about the task
Rectangle algorithms
Java Core
,
Level 10
,
Lesson 10
Under discussion
Need help
What is wrong
6/30/19
1341
views
1
comment
0
Show more
1
...
258
259
260
261
262
...
374
Please enable JavaScript to continue using this application.