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
Vatsal Patel
Level 15
Naperville
Question about the task
Duplicating words
Java Syntax
,
Level 7
,
Lesson 9
Resolved
What am I doing wrong?
It does duplicate but it is failing.
3/28/19
1947
views
1
comment
0
Thebe
Level 7
Benares
Question about the task
R or L
Java Syntax
,
Level 7
,
Lesson 9
Under discussion
why itr.hasNext() not working
Why is it going in infinite loop?
3/28/19
3039
views
3
comments
0
T Merkel
Level 7
London
Under discussion
Task conditions in plain text - IntelliJ
Hey, I've just updated IntelliJ and Conditions.tcs files don't render as they used to - it's in plain text now. Has anybody got the same issue after updating?
3/29/19
1515
views
2
comments
1
Andrei Stratu
Level 18
Iasi
Question about the task
R or L
Java Syntax
,
Level 7
,
Lesson 9
Under discussion
Code runs
I get the desired output but i cant pass it. Some help please?
3/28/19
1393
views
2
comments
0
Ash Ka
Level 13
Calgary
Question about the task
Initializing cats
Java Syntax
,
Level 5
,
Lesson 7
Resolved
What's wrong here ?
What's wrong here ?
3/27/19
2046
views
3
comments
0
gery
Level 9
Islamabad
Question about the task
20 words that start with the letter "L"
Java Syntax
,
Level 8
,
Lesson 8
Resolved
Hashset correction for, cannot convert boolean to string line#28
i read this article, but its not much help https://stackoverflow.com/questions/12014641/java-retrieving-an-element-from-a-hashset public static Set createSet() { //write your code here Set s = new HashSet(); //s.add s.add("Lsss"); s.add("Lsss"); s.a
9/30/18
3103
views
8
comments
0
Nurali Khaydarov
Level 41
Tashkent
Question about the task
Reading and writing to a file: CodeGym
Java Core
,
Level 10
,
Lesson 2
Under discussion
Need help
What's wrong?
3/28/19
1743
views
1
comment
0
Wojtek
Level 23
Solec-Zdroj
Question about the task
Picking out numbers
Java Core
,
Level 9
,
Lesson 5
Under discussion
Next time seems to be good outbut
need hint
3/28/19
1673
views
1
comment
0
Ashutosh Sharma
Level 8
Delhi
Question about the task
Method quartet
Java Syntax
,
Level 8
,
Lesson 6
Under discussion
I am confused about my own solution code. Plz help
I have taken both ArrayList and LinkedList and compared their time consumed in get function, set function, Add Or Insert function and remove function. Is this a right way to solve this question?? Conditions are not getting fulfilled in this solution.
3/23/19
1493
views
4
comments
0
GOPALSETTY DINESH
Level 0
VISAKHAPATNAM
Question about the task
2 + 3 = 5
Java Syntax
,
Level 0
,
Lesson 8
Under discussion
send me answer
package com.codegym.task.task01.task0108; /* 2 + 3 = 5 */ public class Solution { public static void main(String[] args) { int a = 3, b = 2; System.out.print("two"); System.out.print(b); System.out.print(" plus "); System.out.print(" minus ");
1/8/19
1436
views
2
comments
0
Joy Majumdar
Level 16
Kolkata
Question about the task
Make a family
Java Syntax
,
Level 8
,
Lesson 11
Resolved
What's wrong ?
Why null pointer exception is thrown ?
3/28/19
2335
views
2
comments
0
JD Rudie
Level 13
Oxford
Question about the task
R or L
Java Syntax
,
Level 7
,
Lesson 9
Under discussion
gives me the right result for the test cases, but won't verify
any idea what's wrong with this?
3/27/19
1293
views
5
comments
0
Mike McKenna
Level 25
Wilmington
Question about the task
Declare variables
Java Syntax
,
Level 0
,
Lesson 4
Under discussion
int ? = age;
That is my ? how do I make it equal ? I have figured out the string portion of the exercise . Thanks Mike
3/27/19
3381
views
1
comment
0
Anjali Sharma
Level 6
Chennai
Question about the task
Pay raise
Java Syntax
,
Level 2
,
Lesson 2
Under discussion
Wrong compliation
int x = a + 1000; System.out.println("Your salary is:" x "dollars per month."); I wrote exactly the same answer and this is right I guess. still it is showing the error like this... com/codegym/task/task02/task0205/Solution.java:15: error: ')' expected System.out.println("Your s
9/30/18
1818
views
14
comments
0
Abdur Rehman
Level 7
Faisalabad
Question about the task
Minimum of three numbers
Java Syntax
,
Level 2
,
Lesson 8
Resolved
what is wrong with my code
/* Minimum of three numbers */ public class Solution { public static int min(int a, int b, int c) { if ((a<=b) && (a<=c)); { return a; } if ((b<=a) && (b<=c)); { return b; } if ((c<=a
3/26/19
1433
views
2
comments
0
Aibohphobia
Level 1
Fort Campbell
Under discussion
Twice now, (2) Lessons have given exercises that did not cover the material ..
Salutations All, On level 1, lessons 3 & 6 provided task requirements that was not covered in course material. I would think it was something I was doing wrong; however I read all the comments and it is clearly happening to others as well. Not sure if it is a "bug" or what the case just might
3/26/19
1128
views
1
comment
0
JD Rudie
Level 13
Oxford
Question about the task
Shortest or longest
Java Syntax
,
Level 7
,
Lesson 6
Under discussion
not really sure why this code doesn't pass... it passes all test cases i can think of
any ideas?
3/27/19
1292
views
1
comment
0
Okanlawon Oluwatobi Damilare
Level 9
Banjul
Question about the task
Even and odd digits
Java Syntax
,
Level 6
,
Lesson 5
Under discussion
don't know why this code is not passing verification.
someone should please help.
3/26/19
1355
views
2
comments
0
Thebe
Level 7
Benares
Question about the task
Task about algorithms
Java Syntax
,
Level 5
,
Lesson 12
Archived
How do I solve this
Why it doesn't produce maximum
1/16/19
1950
views
4
comments
0
sirisha
Level 3
Bangalore
Question about the task
Pay raise
Java Syntax
,
Level 2
,
Lesson 2
Under discussion
can someone help me out to fix this
help me out to solve
2/4/19
1528
views
7
comments
0
Bazsó Benjámin
Level 20
Szombathely
Question about the task
The end
Java Syntax
,
Level 7
,
Lesson 12
Resolved
help pls
how can i pass 2nd and 4th req?
3/26/19
2082
views
7
comments
0
Mark Harold Atabelo
Level 3
Tagbilaran
Question about the task
Repetition is the mother of all learning
Java Syntax
,
Level 2
,
Lesson 8
Under discussion
how to implement the method?
package com.codegym.task.task02.task0218; /* Repetition is the mother of all learning */ public class Solution { public static void print3(String s) { //write your code here int s; for(int x=0;x<3;x++){ printf(print3); } } public static void main(Str
8/21/18
2264
views
9
comments
0
Bazsó Benjámin
Level 20
Szombathely
Question about the task
Min and max in arrays
Java Syntax
,
Level 7
,
Lesson 12
Under discussion
can this be solved using Arraylist
Instead of int[] list = new int[20]; can we solve this exercise using ArrayList list = new ArrayList(); ?
3/26/19
1260
views
1
comment
0
daveman
Level 4
Budapest
Question about the task
Closest to 10
Java Syntax
,
Level 4
,
Lesson 4
Under discussion
Whats wrong with this?
I tried this solution. It works in Eclipse, but not passed here.... THX
3/25/19
1681
views
3
comments
0
ed de asis
Level 3
Poughkeepsie
Question about the task
Minimum of three numbers
Java Syntax
,
Level 2
,
Lesson 8
Under discussion
plz help with solution.
hi what am i missing i realy cant get it... plz more advice... i cant move on to the new task for a like a long time now...
1/5/19
1253
views
3
comments
0
Manoj Deo
Level 3
Mumbai
Question about the task
Minimum of three numbers
Java Syntax
,
Level 2
,
Lesson 8
Under discussion
how?
how i am getting the right output but the the condition is not satisfied?
1/3/19
1295
views
5
comments
0
Vidhya
Level 16
Sunnyvale
Question about the task
Minimum of three numbers
Java Syntax
,
Level 2
,
Lesson 8
Under discussion
min of 3 numbers
i am unable to find the reason why the attached code is failing verification
1/25/19
2113
views
7
comments
0
Anonymous #427092
Level 3
Erode
Question about the task
Minimum of three numbers
Java Syntax
,
Level 2
,
Lesson 8
Under discussion
What's wrong with my code
3/23/19
1613
views
3
comments
0
hacks patel
Level 20
Ahmedabad
Question about the task
Initializing cats
Java Syntax
,
Level 5
,
Lesson 7
Resolved
everything looks fine .. but I don't know what wrong with my code?
everything looks fine .. but I don't know what wrong with my code?
12/18/18
2570
views
2
comments
0
Bishal Sharma
Level 3
Mumbai
Question about the task
Minimum of three numbers
Java Syntax
,
Level 2
,
Lesson 8
Under discussion
what is wrong in this
if(a>b|| b>c){ return c; } if(c>b||b>a){ return a; } else{ return b; } }
11/28/18
1340
views
4
comments
0
Show more
1
...
337
338
339
340
341
...
374
Please enable JavaScript to continue using this application.