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
Rusu Adelina
Level 17
Iasi
Question about the task
Animal identification
Java Core
,
Level 2
,
Lesson 2
Under discussion
If I want to use a [switch-statement] for this exercise, how should I do?
If I want to use a [switch-statement] for this exercise, how should I do?
29.05.2019
1028
views
1
comment
0
John Michael Montuya
Level 10
Cebu City
Question about the task
Flip the array
Java Syntax
,
Level 7
,
Lesson 4
Under discussion
How come I failed condition 1 but magically passed the remaining others?
I think the code is up to spec, but please let me know if I missed out on anything. thanks!
30.05.2019
1388
views
5
comments
0
Srividya
Level 3
Bangalore
Question about the task
Where does a Person come from?
Java Syntax
,
Level 2
,
Lesson 2
Resolved
Where does a Person come from?
Hi, In the MAIN method, I have created Person object as per the examples explained in the chapter. (Note: VariableType variableName = new TypeOfObjectBeingCreated(); ) Please guide me ...
27.09.2018
2427
views
11
comments
0
Joy Majumdar
Level 16
Kolkata
Question about the task
Task about algorithms
Java Syntax
,
Level 8
,
Lesson 11
Under discussion
Is there any method to flip or reverse the array
How to ?
17.04.2019
1348
views
4
comments
0
Paweł
Level 4
Warsaw
Question about the task
More conversions
Java Syntax
,
Level 3
,
Lesson 8
Resolved
How to solve this with Math.ceil()?
Here's my approach to this task. Not sure how to modify my code to pass the final test.
30.05.2019
1222
views
5
comments
0
SWAPNIL SHUKLA
Level 7
Baddi
Question about the task
Maximum of four numbers
Java Syntax
,
Level 4
,
Lesson 6
Under discussion
Not verifying
My last condition is not verifying .It's running with even 1111 and displaying 1 but not verifying;
17.02.2019
1212
views
5
comments
0
Omer Yavor
Level 14
Tel Aviv
Question about the task
Longest sequence
Java Syntax
,
Level 8
,
Lesson 6
Resolved
I tried looking at others' code and still couldn't figure it out...
would appreciate some help :)
26.05.2019
1329
views
6
comments
0
Sergei Polakov
Level 11
Donets'k
Question about the task
Stack trace revisited
Java Syntax
,
Level 9
,
Lesson 2
Resolved
Nothing understand
too long printlist
27.05.2019
1607
views
2
comments
0
romeo
Level 5
Paramaribo
Question about the task
Three numbers
Java Syntax
,
Level 4
,
Lesson 6
Under discussion
How can I get the index?
What kind of code can I use to print out the index of the number that is different? 1, 2, or 3? I know it has something to do with using arrays, but that is way over my head right now...
29.05.2019
1194
views
2
comments
0
Henk
Level 19
Pretoria
Question about the task
User, loser, coder and programmer
Java Core
,
Level 4
,
Lesson 8
Resolved
Difference between the two ? One works and other one does not work.
This works while (true) { key = reader.readLine(); if (key.equals("user")){ person = new Person.User(); doWork(person); } else if (key.equals("loser")){ person = new Person.Loser();
20.05.2019
1002
views
3
comments
0
Eduardo
Level 23
Coyoacan
Question about the task
Displaying a stack trace
Java Core
,
Level 6
,
Lesson 3
Resolved
Tried a couple of things
Hi! I tried some methods for getting the stack, but I can't get it, anyone got a hint? Thanks
26.04.2019
1395
views
1
comment
0
Darko Jakimovski
Level 18
Kriva Palanka
Question about the task
Reinforce the singleton pattern
Java Core
,
Level 5
,
Lesson 12
Under discussion
Can't see my mistake
Any help would be much appreciated. It says that "The readKeyFromConsoleAndInitPlanet method must be called in the Solution class's static block." when it clearly is, as are all of the unmet conditions.Especially the last condition which is all of the classes to be in different files :/
15.05.2019
1371
views
10
comments
0
Deep Maheshwari
Level 10
Nanded
Question about the task
Create a Rectangle class
Java Syntax
,
Level 5
,
Lesson 9
Under discussion
It has passed the verification but it shows my solution is better than only 1 % of others .
package com.codegym.task.task05.task0520; /* Create a Rectangle class */ public class Rectangle { //write your code here int top; int left; int height= 0 ; int width= 0 ; public Rectangle(int top,int left,int height,int width){ this.top = top; this.left
29.05.2019
1139
views
2
comments
0
Wojtek
Level 23
Solec-Zdroj
Question about the task
Sequential file output
Java Core
,
Level 6
,
Lesson 13
Under discussion
Can you give me a hint?
I do not now how to set properly setFileName and getFileContents methods.
28.02.2019
1294
views
2
comments
0
Harinath Reddy A
Level 7
Delhi
Question about the task
StringHelper class
Java Syntax
,
Level 6
,
Lesson 8
Under discussion
whats wrong in this code??
What changes should I make
10.04.2019
1474
views
3
comments
0
hidden #10451198
Level 14
Question about the task
Going national
Java Syntax
,
Level 8
,
Lesson 11
Archived
Problem with dot
This code is working well, but when i type: "sam i am." then on the end i get "Sam I Am" without dot. What I can do here to get the result with dot on the end?
29.05.2019
1269
views
2
comments
0
hidden #10451198
Level 14
Question about the task
Five winners
Java Syntax
,
Level 8
,
Lesson 11
Resolved
Everything working in IntelliJ IDEA but not in codegym
What's wrong here?
29.05.2019
1633
views
2
comments
0
Mohamed Nagy
Level 7
Alexandria
Question about the task
Crossing the road blindly
Java Syntax
,
Level 4
,
Lesson 4
Resolved
PLEEEASE I AM getting tired from all of this
help me again
16.05.2019
2061
views
11
comments
1
Bogdan Codreanu
Level 23
Question about the task
Cat relations
Java Syntax
,
Level 6
,
Lesson 11
Resolved
i can not find the mistake
can someone help , please
27.05.2019
1633
views
2
comments
0
Djole
Level 41
Belgrade
Question about the task
Space (part 15)
Java Collections
,
Level 3
,
Lesson 15
Resolved
code looks legit but fails
... private ArrayList<Ufo> ufos = new ArrayList<>(); private ArrayList<Rocket> rockets = new ArrayList<>(); private ArrayList<Bomb> bombs = new ArrayList<>(); ... public void moveAllItems() { // Get a list of all objects in the game and call
28.05.2019
1150
views
5
comments
0
Jaime
Level 4
Panshanger
Question about the task
Day of the week
Java Syntax
,
Level 4
,
Lesson 4
Under discussion
Why won't this work?
I keep getting an "error converting a string to a number message" . I've looked over the code many times and just can't see the problem. Any help would be appreciated. Thanks
19.05.2019
1021
views
5
comments
0
Dona
Level 7
Question about the task
Currency exchange
Java Syntax
,
Level 3
,
Lesson 3
Under discussion
can anyone help me with this code?
public class Solution { public static void main(String[] args) { //write your code here convertEurToUsd(12,23.2); convertEurToUsd(3,4.7); System.out.println(dollar); return dollar; } public static double convertEurToUsd(int eur, double exchangeRat
20.05.2019
1270
views
6
comments
0
rohan lakhe
Level 2
Hyderabad
Question about the task
Our first converter!
Java Syntax
,
Level 2
,
Lesson 2
Under discussion
Why return is TF and not 0?
why the return in the code is and not 0 double TF = 9 / 5.0 * celsius + 32; >>>>> "return TF"
28.05.2019
1108
views
2
comments
0
Dona
Level 7
Question about the task
Deep and pure love
Java Syntax
,
Level 3
,
Lesson 8
Resolved
what's wrong in my code?
someone help me
21.05.2019
1324
views
3
comments
0
Mario
Level 8
Lodz
Question about the task
Create a Friend class
Java Syntax
,
Level 5
,
Lesson 7
Under discussion
color vs colour
I know, I should spot it, but I set colour as color, I learned english in UK (and that was the reason, why I have to run it twice). LOL
26.05.2019
1045
views
1
comment
0
Yash
Level 15
Sugar Hill
Question about the task
One large array and two small ones
Java Syntax
,
Level 7
,
Lesson 4
Under discussion
I dont know how
I think I misunderstood the conditions.
28.05.2019
1009
views
1
comment
0
suresh yadav
Level 2
Gorakhpur
Question about the task
CodeGym. Learn once - use anywhere
Java Syntax
,
Level 1
,
Lesson 4
Resolved
how to use loop
how to use loop for writing a string/text 10 times.
19.08.2018
2465
views
2
comments
2
Adrian George Teodorescu
Level 4
Bucharest
Resolved
Why it's not working? it seems very simple
public class Solution { public static void main(String[] args) { //write your code here convertEurToUsd(5,1.400); convertEurToUsd(60000,20.9); System.out.println(convertEurToUsd()); System.out.println(convertEurToUsd()); } public static double
28.05.2019
1081
views
3
comments
0
Nastya Varennikova
Level 11
Sumy
Question about the task
Multiplication table
Java Syntax
,
Level 4
,
Lesson 10
Resolved
Help! Why don't work?
I don't understand why this code don't work
09.03.2019
1564
views
12
comments
1
Yash
Level 15
Sugar Hill
Question about the task
Lonely arrays interact
Java Syntax
,
Level 7
,
Lesson 4
Archived
???
Help, not working, compiler error. java.lang.nullpointer exception. Line 38.
28.05.2019
1529
views
1
comment
0
Show more
1
...
310
311
312
313
314
...
366
Please enable JavaScript to continue using this application.