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
Andrey
Level 2
Tula
Under discussion
problems with the first lesson
Greetings to all! Tell me, what's wrong with my code? public class Solution { public static void main(String[] args) { System.out.print("I think being a programmer is cool"); } }
2/20/19
1536
views
5
comments
0
Eric Soto
Level 3
Tampa
Question about the task
Implement the print method
Java Syntax
,
Level 2
,
Lesson 1
Under discussion
I managed to solve it but I am not sure if I understood.
I got it right according to the verification but I feel like I didnt learn what it exactly meant. Was is THAT simple the solution?
2/21/19
1592
views
1
comment
0
Ovo Leslie
Level 26
Lagos
Question about the task
Multiplication table
Java Syntax
,
Level 3
,
Lesson 6
Resolved
Why I'm I getting an extra column
I seem to get the table right but I am getting the last columns repeated. Why?
1/31/19
1757
views
3
comments
0
C. Chiang
Level 18
Bryan
Question about the task
OOP: Fix inheritance problems
Java Core
,
Level 5
,
Lesson 2
Resolved
Cannot quite figure out for a while.
Must return Object from a boolean method. How to do?
2/19/19
2353
views
2
comments
0
Wojtek
Level 23
Solec-Zdroj
Question about the task
OOP: Fix inheritance problems
Java Core
,
Level 5
,
Lesson 2
Under discussion
I am not sure if i understand this task properly
output is: [Thumb does not contain bones, Forefinger does not contain bones, Middle finger does not contain bones, Ring-finger contains bones, Pinky does not contain bones] [Hand contains bones, Leg contains bones, Head contains bones, Body contains bones] Yes
2/20/19
1465
views
1
comment
0
Wojtek
Level 23
Solec-Zdroj
Question about the task
OOP: Books
Java Core
,
Level 5
,
Lesson 2
Under discussion
What is wrong in my code?
need help
2/20/19
1593
views
1
comment
0
Serghei
Level 3
Balti
Resolved
Only last condition is wrong....i dont return the minimum of a,b and c
package com.codegym.task.task02.task0216; /* Minimum of three numbers */ public class Solution { public static int min(int a, int b, int c) { //write your code herint min; int mon; if((a <= b) && (b <= c)) mon = a; else mon = c;
2/20/19
1256
views
1
comment
0
Gurpreet Grewal
Level 4
Mumbai
Question about the task
Minimum of four numbers
Java Syntax
,
Level 2
,
Lesson 8
Resolved
plz help...stuck from 1 day
how to compare these methods?
2/18/19
2366
views
12
comments
0
suresh rai
Level 3
Question about the task
Contract
Java Syntax
,
Level 1
,
Lesson 6
Under discussion
what is wrong with my program need help
package com.codegym.task.task01.task0121; /* Contract */ public class Solution { public static void main(String[] args) { System.out.println("My name is Amigo"); System.out.println(); System.out.println("I agree to wages of $5000/month in the first year."); Sy
1/8/19
1991
views
4
comments
0
jack reacher
Level 4
a man from nowhere
Question about the task
Comment out the superfluous
Java Syntax
,
Level 1
,
Lesson 4
Under discussion
clue please
anyone please give a clue
9/6/18
2228
views
10
comments
0
// Java Poser
Level 18
Cincinnati
Question about the task
Even and odd digits
Java Syntax
,
Level 6
,
Lesson 5
Under discussion
Need Help Please!
1. I'm not sure how to grab one digit from an integer. 2. I don't know how to grab the next digit from the integer. 3. I'm not sure when to stop my loop.
2/17/19
1968
views
3
comments
0
Vikas
Level 3
Delhi
Question about the task
Only 20 will do
Java Syntax
,
Level 1
,
Lesson 4
Resolved
task01.task0137 - Only 20 will do
public class Solution { public static int a = 1; public static int b = 3; public static int c = 9; public static int d = 27; public static void main(String[] args) { int result = + a - b + c - d; System.out.println(result); } } 1. Values of variables: Do
7/30/18
2580
views
5
comments
0
Jeff Jeffy
Level 15
Irvine
Question about the task
Closest to 10
Java Syntax
,
Level 4
,
Lesson 4
Resolved
What is WRONG?
BlueJ seems to think works properly, so after reading the failed reuirements, I saw that I should use the abs method, but I don't need the abs method! Why must codegym limit my ingenuity with such restraints? How can I do the task with the abs method?
2/17/19
1816
views
2
comments
0
Kim Ledford Wilson
Level 4
Cleveland
Question about the task
Minimum of four numbers
Java Syntax
,
Level 2
,
Lesson 8
Under discussion
Below is my code: I just can't get it. I'm missing something help please!
package com.codegym.task.task02.task0217; /* Minimum of four numbers */ public class Solution { public static int min(int a, int b, int c, int d) { //write your code here this.min(a,b); int a1 = (); int a2 = 0; int a3; if (c<=d) { a2 =
2/13/19
1739
views
3
comments
0
Wojtek
Level 23
Solec-Zdroj
Question about the task
GCD
Java Core
,
Level 4
,
Lesson 8
Resolved
What is wrong here?
need hint
2/18/19
1770
views
1
comment
0
tony
Level 20
Nis
Question about the task
OOP: Cars
Java Core
,
Level 5
,
Lesson 2
Under discussion
pls help
Please help me to figure out what is wrong with my code. I tested it in Eclipse and I got correct output
2/16/19
1477
views
2
comments
0
Jarrett “Psalm 91:4” Ridlinghafer
Level 2
Tucson
Under discussion
How to verify my account?
Hi, I've got a notice that I need to verify my account via email however I never received an email from codeGym...is there a way to have it resent or something? Thanks!
2/17/19
1379
views
1
comment
0
shaan mohd khan
Level 13
Jhansi
Question about the task
In decreasing order
Java Syntax
,
Level 7
,
Lesson 12
Resolved
help me...tried a lot but not able to complete the task
public class Solution { public static void main(String[] args) throws Exception { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); int[] array = new int[20]; for (int i = 0; i < 20; i++) { array[i] = Integer.parseInt(reader.rea
2/9/19
2204
views
2
comments
0
Gurpreet Grewal
Level 4
Mumbai
Question about the task
Minimum of four numbers
Java Syntax
,
Level 2
,
Lesson 8
Under discussion
how to compare
How to compare min(int a, int b) and min(int c, int d) ?
2/18/19
1556
views
1
comment
0
hidden #10425441
Level 3
Question about the task
Plan to conquer the world
Java Syntax
,
Level 3
,
Lesson 8
Under discussion
I think I have a problem with my intellIJ, can somebody help me with these error messages? Why is the word "Exception" grey? Thank you
Why is the word "Exception" grey? And how do I fix that "missing Javadoc" error?
2/18/19
2141
views
1
comment
0
Gurpreet Grewal
Level 4
Mumbai
Question about the task
Family relations
Java Syntax
,
Level 2
,
Lesson 2
Resolved
Variable is wrong
Is this a correct way to declare variable ? public Woman wife;
2/17/19
1783
views
2
comments
0
Angeget
Level 22
Potsdam
Question about the task
Robot wars
Java Core
,
Level 3
,
Lesson 11
Resolved
No idea i am confused and i do not understand why this is not working - please help
No idea i am confused and i do not understand why this is not working - please help
1/26/19
1967
views
2
comments
0
Oleg Vanyushkin
Level 18
St.-Petersburg
Question about the task
Shortest or longest
Java Syntax
,
Level 7
,
Lesson 6
Under discussion
Cant pass. Could you take a look why? It works fine for me.
The validator expects me to fill my arrayList. I did. It works fine. Why? Could you look at this if you will, please?
2/16/19
2287
views
4
comments
0
Philip Obiorah
Level 16
Port - Harcourt
Question about the task
Longest sequence
Java Syntax
,
Level 8
,
Lesson 6
Resolved
How do I fix this.
Recommendation : Be sure that the length of the longest sequence is calculated correctly when it is located at the end of the list of entered numbers. It returns 2 when tried with 2 4 14 4 8 8 4 12 12 12 please how do I fix this ?
2/14/19
1481
views
2
comments
0
C. Chiang
Level 18
Bryan
Question about the task
Sorting even numbers from a file
Java Core
,
Level 3
,
Lesson 11
Archived
Can not pass verify, need help!
display too many lines condition is the one I really can not pass
2/16/19
1783
views
2
comments
0
SandeepK
Level 2
Kuliyapitiya
Under discussion
Did not understand the logic behind the display of 12 first and followed by 2.
public class Solution { public static void main(String[] args) { int x = 2; int y = 12; y = x + y; x = y - x; y = y - x; System.out.println(x); System.out.println(y); } }
2/16/19
1442
views
1
comment
0
Kisszol
Level 15
Toeroekbalint
Resolved
Is https://codegym.cc free of charge ?
Hi ! Is this course free of charge ? Should I pay for it ?
2/16/19
2145
views
0
comments
0
Alex Balandinos
Level 18
Lusaka
Question about the task
Arithmetic mean
Java Syntax
,
Level 5
,
Lesson 5
Under discussion
When entering 4231-1 am getting 0.0 need help can't work my way around it
2/15/19
1675
views
5
comments
0
Zbigniew
Level 23
Dabrowa Tarnowska
Question about the task
OOP: Fix inheritance problems
Java Core
,
Level 5
,
Lesson 2
Resolved
I don't understand the task
The task seems to be complicated. I don't understand the logic of it. 1) How can the containsBones() method return an Object and simultaneously a String "Yes"? 2) What return type should the BodyPart's containsBones() method have? 3) What Object does it need to return? 4) Do i understand correctl
2/14/19
1723
views
2
comments
0
Wojtek
Level 23
Solec-Zdroj
Question about the task
Janitorial services
Java Core
,
Level 4
,
Lesson 8
Under discussion
Where did i mistake?
need hint
2/15/19
1296
views
1
comment
0
Show more
1
...
344
345
346
347
348
...
374
Please enable JavaScript to continue using this application.