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
ProgrammerNewbie
Level 14
Question about the task
Playing Javarella
Java Syntax
,
Level 7
,
Lesson 9
Resolved
Code does not work.
Hi, Somehow this does not work (e.g. produce the output) as it should work. Nevertheless, I cannot find my mistake.
6/12/19
1576
views
3
comments
1
Basharah Batool
Level 5
Question about the task
Cats in the Universe
Java Syntax
,
Level 4
,
Lesson 2
Under discussion
Whats wrong in my program?
Below is my code. Its running fine and giving correct output but CodeGym is not verifying it. Why??
5/19/19
1630
views
5
comments
0
Arko Sarkar
Level 8
Mumbai
Question about the task
Static cats
Java Syntax
,
Level 6
,
Lesson 11
Archived
How to use ArrayList?
I don't think ArrayList was taught before, how to use it and solve this problem?
8/30/18
2209
views
3
comments
0
yash vadyakar
Level 2
Question about the task
Even to the moon!
Java Syntax
,
Level 2
,
Lesson 8
Resolved
what is this task all about.. can't figure it out. Its says convert earth weight in newton and than into lunar weight.. Please help!!
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 weightEarth) { //write your code here
8/14/18
3111
views
5
comments
0
harshshah
Level 9
Gandhinagar
Question about the task
Do we have a pair?
Java Syntax
,
Level 4
,
Lesson 4
Under discussion
having 1 error
if no number match than don't display anything.
6/5/19
1414
views
4
comments
0
Sergei Polakov
Level 11
Donets'k
Question about the task
The code won't compile…
Java Syntax
,
Level 9
,
Lesson 11
Under discussion
exception filenotfound
im insert input C:\new22.txt C:\new11.txt exit exception filenotfound insert try catch - write no variable please help
6/19/19
1359
views
2
comments
0
William Hoang
Level 10
Hanoi
Question about the task
Minimum of three numbers
Java Syntax
,
Level 2
,
Lesson 8
Resolved
I didn't know how it not conrect.
I didn't know how it not conrect.
6/20/19
1049
views
1
comment
0
Neha Anjum
Level 6
Hyderabad
Question about the task
Somehow average
Java Syntax
,
Level 4
,
Lesson 16
Under discussion
Whats the reason for this error ?
package com.codegym.task.task04.task0441; /* Somehow average */ import java.io.*; public class Solution { public static void main(String[] args) throws Exception { //write your code here int numx = 0; BufferedReader bufferedreader = new BufferedReader(new InputStream
9/17/18
1809
views
4
comments
0
Alexsey
Level 31
Minsk
Question about the task
Sum of the digits of a three-digit number
Java Syntax
,
Level 3
,
Lesson 12
Resolved
What's wrong??
What's wrong?
2/28/19
2454
views
7
comments
0
Xuhaib
Level 7
Lahore
Question about the task
Day of the week
Java Syntax
,
Level 4
,
Lesson 4
Resolved
Everything's Fine but still the Solution wouldn't get accepted.
Solution is unacceptable, why?
10/14/18
1722
views
3
comments
1
// Java Poser
Level 18
Cincinnati
Question about the task
We don't need repeats
Java Syntax
,
Level 8
,
Lesson 8
Resolved
Frustration Level = Maximum
I tried creating an empty HashMap called "map2" then adding the unduplicated entry sets to it. then converting that HashMap to the original map. When I run it, it does work as intended however, I cannot seem to get that "removeItemFromMapByValue" method to work. I also tried creating a clone to keep
3/17/19
2594
views
6
comments
0
Vimala. Sirvi
Level 2
Hyderabad
Question about the task
Family relations
Java Syntax
,
Level 2
,
Lesson 2
Resolved
unable to rectify the error
unable to rectify the error
3/13/19
1539
views
2
comments
0
Vadym Opalenyk
Level 10
Vyshneve
Question about the task
Going national
Java Syntax
,
Level 8
,
Lesson 11
Archived
What is wrong here
What is wrong here
6/20/19
1376
views
2
comments
0
Pintu kumar
Level 8
motihari
Question about the task
You can't have too much of a good thing
Java Syntax
,
Level 4
,
Lesson 10
Archived
what is wrong with this
what is wrong in this?
9/17/18
2135
views
5
comments
0
Djole
Level 41
Belgrade
Question about the task
CashMachine (part 4)
Java Collections
,
Level 9
,
Lesson 15
Resolved
bugged?
public void addAmount(int denomination, int count){ if (denominations.containsKey(denomination)) { denominations.put(denomination, denominations.get(denomination) + count); } else { denominations.put(denomination, count); } } public class
6/19/19
1240
views
1
comment
0
Serghei Tovarnitchi
Level 7
Chisinau
Question about the task
Task about algorithms
Java Syntax
,
Level 5
,
Lesson 12
Archived
Doesn't meet the requirement. Please help
Everything works correctly , however does not meet the requirement. Could someone point my error please?
6/14/19
1386
views
3
comments
0
Dmitrii
Level 38
Saint Petersburg
Question about the task
Restaurant (part 1)
Java Multithreading
,
Level 9
,
Lesson 15
Archived
Tablet constructor
Is something wrong with the task?
6/14/19
1533
views
1
comment
0
hidden #10441159
Level 16
Question about the task
Changing functionality
Java Syntax
,
Level 7
,
Lesson 12
Under discussion
Works in the console but verification returns compile error
public class Solution { public static void main(String[] args) throws IOException { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); ArrayList list = new ArrayList<>(); while (true) { String s = reader.readLine();
6/18/19
1601
views
3
comments
0
Nitin raj
Level 12
Mumbai
Question about the task
Initializing cats
Java Syntax
,
Level 5
,
Lesson 7
Under discussion
Plss help
Why it's is giving task not met
6/20/19
1529
views
2
comments
0
Serg
Level 23
Tyumen
Question about the task
Method quartet
Java Syntax
,
Level 8
,
Lesson 6
Under discussion
How to return
How to return public static List getListForRemove(List list) Neither list is appropriate LinkedList<Object> arrayList = new LinkedList<>(); ArrayList<Object> arrayList = new ArrayList<>(); how to solve? Must come up LinkedList arrayList = new LinkedList<>(); bu
6/13/19
1649
views
1
comment
0
Earil
Level 25
Paris
Question about the task
Family census
Java Syntax
,
Level 7
,
Lesson 12
Resolved
Task not being validated
I have no idea why the "Create 9 different Human objects (4 objects without a father and mother and 5 objects with them)." is not validated. It seems to me that I did just that, and that I filled all the objects with proper input. Can anyone help me here ?
6/7/19
1641
views
2
comments
0
Ankit
Level 2
Delhi
Question about the task
Pay raise
Java Syntax
,
Level 2
,
Lesson 2
Resolved
What's wrong in my code??
What's wrong?????????
6/12/19
1754
views
4
comments
0
Razvii
Level 16
Timișoara
Question about the task
Maximum in an array
Java Syntax
,
Level 7
,
Lesson 4
Resolved
The method runs perfectly .. but its not validate.
The max method run ok..but its not validate.. why ??
6/14/19
2430
views
2
comments
0
ira.iurciuc
Level 10
Chisinau
Question about the task
Creating cats
Java Syntax
,
Level 5
,
Lesson 9
Resolved
I can't figure it out!
Help, where is my mistake?
2/5/19
2098
views
7
comments
0
Jason Ahn
Level 5
Calgary
Question about the task
Bouncer policy
Java Syntax
,
Level 4
,
Lesson 6
Under discussion
Please help me..
I'm stuck with this question for literally an hour and still don't know what the problem is...Please please help me :(
12/21/18
2127
views
6
comments
0
dean
Level 8
Deutschland
Question about the task
Let's put together a rectangle
Java Syntax
,
Level 5
,
Lesson 7
Under discussion
method initialize(int,int,int) is already defined in class com.codegym.task.task05.task0513.Rectangle: Rectangle.java, line: 30, column: 17
Hey, the error says that i can't create 2 initialize() with the same data type parameters... why is that? com/codegym/task/task05/task0513/Rectangle.java:30: error: method initialize(int,int,int) is already defined in class com.codegym.task.task05.task0513.Rectangle public void initialize(int
4/24/19
2837
views
5
comments
0
ddi
Level 18
Dortmund
Question about the task
One large array and two small ones
Java Syntax
,
Level 7
,
Lesson 4
Under discussion
What am i missing?
What am i missing?
6/8/19
1209
views
2
comments
0
Raisa Toscano
Level 27
Tepic
Question about the task
Identical words in a list
Java Syntax
,
Level 10
,
Lesson 11
Under discussion
why doesnt fullfiel the third condition?
int values=1; HashMap result = new HashMap(); for (int unique = 0; unique
1/7/19
1703
views
4
comments
0
nithya lmk
Level 4
Bangalore
Question about the task
Do we have a pair?
Java Syntax
,
Level 4
,
Lesson 4
Under discussion
can someone please tell me the error
package com.codegym.task.task04.task0417; /* Do we have a pair? */ import java.io.*; import java.util.Scanner; public class Solution { public static void main(String[] args) throws Exception { Scanner in = new Scanner(System.in); int a = in.nextInt(); int b = in.ne
8/31/18
2094
views
7
comments
0
Satya Vath
Level 31
Vijayawada
Question about the task
Refactoring (part 13)
Java Multithreading
,
Level 5
,
Lesson 16
Under discussion
Help Me
Please
6/18/19
1518
views
2
comments
0
Show more
1
...
309
310
311
312
313
...
374
Please enable JavaScript to continue using this application.