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
All quests
All levels
Any status
Questions about tasks
Hot
Divakar Reddy
Level 15
Nandyal
Question about the task
Drawing a rectangle
Java Syntax
,
Level 4
,
Lesson 13
Under discussion
whats problem with my code
28.06.2019
1152
views
4
comments
0
nagabenang
Level 6
Bekasi
Question about the task
Positive number
Java Syntax
,
Level 4
,
Lesson 7
Resolved
0 0 0 is read as 0 not nothing
So my code is as follows: if (a > 0) a = 1; if (b > 0) b = 1; if (c > 0) c = 1; if (a < 0 && b < 0 && c < 0) System.out.print(0); else System.out.print(a + b + c); The question is, why the program insist that number 0 is there when the code clearly states that the
25.06.2019
1351
views
1
comment
0
Kisszol
Level 15
Toeroekbalint
Question about the task
Catching custom exceptions
Java Syntax
,
Level 9
,
Lesson 8
Resolved
Mi ne scias kila mia solvo ne validas, I don't know why my solution is not validated
La solvo aperas funkcii, sed la sistemo ne akceptas gxin. Kial ? The solution seems to be working, but the system does not accept it. Why ?
26.03.2019
2085
views
3
comments
0
Mikayla Pace
Level 27
Salt Lake City
Question about the task
Task about algorithms
Java Syntax
,
Level 5
,
Lesson 12
Archived
Why isn't my code printing?
I keep getting a number format exception on my parseInt areas of code, saying that I am trying to convert null to an int. I input number in the input area of the screen, why won't it read my input?
25.06.2019
1469
views
6
comments
0
Paola Violeta Lopez
Level 2
Bethlehem
Question about the task
Pay raise
Java Syntax
,
Level 2
,
Lesson 2
Under discussion
I do not know how to solve this, please help me with explanations
package com.codegym.task.task02.task0205; /* Pay raise */ public class Solution { public static void main(String[] args) { hackSalary(7000); } public static void hackSalary(int a) { //write your code here int a = System.out.println(Your salary is: dol
26.06.2019
985
views
1
comment
0
ddi
Level 18
Dortmund
Question about the task
In decreasing order
Java Syntax
,
Level 7
,
Lesson 12
Under discussion
How do i use the Arrays.sort?
He does not recognize the arrays.sort, what am i missing?
25.06.2019
1218
views
1
comment
0
JGO
Level 4
San Jose
Question about the task
Minimum of four numbers
Java Syntax
,
Level 2
,
Lesson 8
Resolved
confused about returning
am i using the wrong method in this code or is there a way i can edit the code without clearing the code ?
05.01.2019
1733
views
12
comments
0
JeRiF94
Level 22
Baku
Question about the task
Most frequent bytes
Java Core
,
Level 8
,
Lesson 3
Under discussion
Help ME
Discuss please this one , I think I am right conclusion.
03.06.2019
1318
views
3
comments
0
senthamil
Level 18
Korampallam
Question about the task
Writing to a file from the console
Java Core
,
Level 3
,
Lesson 11
Under discussion
how to give file name on console
how to give file name on console I am giving like "d:\test.txt" but error is coming
27.06.2019
1341
views
1
comment
0
Jacob
Level 6
Warsaw
Question about the task
Maximum of four numbers
Java Syntax
,
Level 4
,
Lesson 6
Under discussion
Last condition
No idea how to pass the last condition.
26.06.2019
1095
views
2
comments
1
Robert
Level 1
Lombard
Question about the task
Overloading constructors
Java Core
,
Level 5
,
Lesson 12
Resolved
Stuck in a subSolution
I can not figure out why this is not passing any requirements for the subSolution class. Any ideas?
25.06.2019
1419
views
1
comment
0
Jacob Warren
Level 8
Tampa
Question about the task
Console-based piggy bank
Java Syntax
,
Level 5
,
Lesson 12
Resolved
Don't really understand what is wrong with this code.
To me, this code looks right, but the checker keeps saying that it's wrong and I have no idea where to go from here.
25.05.2019
1652
views
4
comments
0
abhishek karumuri
Level 8
Columbus
Question about the task
Jen or Jen?
Java Syntax
,
Level 4
,
Lesson 6
Under discussion
Got the output correct - Still Requirements were not satisfied ??
Hi Folks, I could not figure out whats the problem here in my code. I get the output when I enter same names and different names. However, it states one of the requirement is missing.
26.06.2019
1513
views
2
comments
0
Angeget
Level 22
Potsdam
Question about the task
Working with dates
Java Syntax
,
Level 8
,
Lesson 11
Resolved
Need help!
No idea why the last requirement is still not fufilled. Help please
14.01.2019
2282
views
2
comments
2
Henk
Level 19
Pretoria
Question about the task
Take your turn!
Java Core
,
Level 6
,
Lesson 13
Resolved
Here's a tip: you can add a class wide String variable in the class Read3Strings
They show you where you should add your code, and normally if you code outside of that, this marks the task incorrect. In this case, I couldn't see how I can print a string from one function (the RUN method) in another method (printResult) if it wasn't visible to the whole class.
29.05.2019
1376
views
0
comments
2
Voris
Level 10
Tashkent
Question about the task
Playing Javarella
Java Syntax
,
Level 7
,
Lesson 9
Under discussion
Can't find what's wrong. Error: class, interface, or enum expected
public class Solution { public static void main(String[] args) throws Exception { BufferedReader bf = new BufferedReader(new InputStreamReader(System.in)); ArrayList list = new ArrayList(); ArrayList three = new ArrayList(); ArrayList two = new ArrayList(
24.06.2019
1479
views
3
comments
0
Nehal Abubakar
Level 7
Karachi
Question about the task
Plan to conquer the world
Java Syntax
,
Level 3
,
Lesson 8
Under discussion
Plz help me out
Help me out plzz with the lasr error.
25.08.2018
1444
views
4
comments
0
x3m
Level 9
Lund
Question about the task
Duplicating words
Java Syntax
,
Level 7
,
Lesson 9
Under discussion
what is wrong
hello what is wrong with my solution
26.06.2019
1119
views
2
comments
0
stjepang
Level 8
Sveti Iija
Question about the task
Kind Emma and the summer holidays
Java Syntax
,
Level 8
,
Lesson 8
Under discussion
What is wrong with createMap() method? Help please !
What is wrong with createMap() method? Help please !
26.06.2019
1200
views
1
comment
0
Online Learner
Level 6
Question about the task
Seasons on Terra
Java Syntax
,
Level 4
,
Lesson 4
Resolved
can you tell me what i did wrong with this code
help it out
25.06.2019
1564
views
2
comments
0
Thango Ö
Level 9
Chennai
Question about the task
HashMap of 10 pairs
Java Syntax
,
Level 8
,
Lesson 3
Under discussion
Why i got this err..? Anyone thr to help me out?
30.01.2019
1410
views
6
comments
0
Augusto
Level 13
Callao
Question about the task
HashSet of plants
Java Syntax
,
Level 8
,
Lesson 3
Under discussion
HashSet variable missing
What is wrong? First it wouldn't compile until I changed the import line for import java.util.*; and now I need to declare a hashSet variable that it is there...
20.06.2019
1549
views
3
comments
0
Prakash
Level 1
Mumbai
Under discussion
What is the insufficient dark matters
insufficient dark matters means? And use
25.04.2019
1312
views
1
comment
0
Sameer
Level 8
Basna
Question about the task
In decreasing order
Java Syntax
,
Level 7
,
Lesson 12
Under discussion
What's wrong here?
the output is correct every time but it's not getting accepted.
25.06.2019
1157
views
1
comment
0
Online Learner
Level 6
Question about the task
Rule of the triangle
Java Syntax
,
Level 4
,
Lesson 4
Resolved
what's wrong with this code
i try to much time but note getting result
25.06.2019
1235
views
1
comment
0
William Hoang
Level 10
Hanoi
Question about the task
Drawing a rectangle
Java Syntax
,
Level 4
,
Lesson 13
Under discussion
I don't know why I write wrong code :(
I don't know why I write wrong code :( it requires to draw an n x m rectangle of eight. i write a code (drawLine) to draw top and bot of rectangle. i write a code (drawSpace) to draw left and right of rectangle. and a code (rectangle) to draw completely rectangle. My code run ok. i try 2x4 , 3x5 ,
25.06.2019
1191
views
1
comment
0
Marilyn Free
Level 4
Pensacola
Question about the task
Product of 10 numbers
Java Syntax
,
Level 3
,
Lesson 4
Under discussion
I'm not sure what to do from here...any suggestions?
I'm
01.11.2018
2118
views
11
comments
0
Online Learner
Level 6
Resolved
why i did not ask a question about a task
the erroe will show invalid request
24.06.2019
833
views
0
comments
0
vivek mankar
Level 9
Nagpur
Question about the task
Streets and houses
Java Syntax
,
Level 7
,
Lesson 4
Archived
I am not getting this ..what's the problem ??
16.06.2019
1173
views
4
comments
0
Serg
Level 23
Tyumen
Question about the task
Hippodrome (part 1)
Java Multithreading
,
Level 1
,
Lesson 16
Resolved
I do not understand why I have mistakes?
I do not understand why I have mistakes? Two public classes are created in separate files. What is the problem?
25.06.2019
1138
views
1
comment
0
Show more
1
...
305
306
307
308
309
...
372
Please enable JavaScript to continue using this application.