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
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?
28.03.2019
1247
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 ?
27.03.2019
1949
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
30.09.2018
2956
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?
28.03.2019
1637
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
28.03.2019
1581
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.
23.03.2019
1383
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 ");
08.01.2019
1318
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 ?
28.03.2019
2175
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?
27.03.2019
1168
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
27.03.2019
3277
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
30.09.2018
1716
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
26.03.2019
1314
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
26.03.2019
998
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?
27.03.2019
1177
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.
26.03.2019
1255
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
16.01.2019
1834
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
04.02.2019
1403
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?
26.03.2019
1927
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
21.08.2018
2136
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(); ?
26.03.2019
1172
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
25.03.2019
1592
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...
05.01.2019
1144
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?
03.01.2019
1181
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
25.01.2019
1979
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
23.03.2019
1467
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?
18.12.2018
2457
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; } }
28.11.2018
1235
views
4
comments
0
Ashutosh Sharma
Level 8
Delhi
Question about the task
Kind Emma and the summer holidays
Java Syntax
,
Level 8
,
Lesson 8
Under discussion
How to assign the map value in the map variable in the main method.
package com.codegym.task.task08.task0816; import java.text.DateFormat; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.*; /* Kind Emma and the summer holidays */ public class Solution { public static HashMap createMap() throws ParseException { D
24.03.2019
1696
views
3
comments
0
fady shaker
Level 7
Stuttgart
Question about the task
Adding
Java Syntax
,
Level 4
,
Lesson 16
Under discussion
help pleas
can someone tell me what is the problem the code works well
20.03.2019
1463
views
2
comments
0
Rusu Adelina
Level 17
Iasi
Question about the task
Sorting three numbers
Java Syntax
,
Level 4
,
Lesson 6
Resolved
Why I get !!!!!The program should display the numbers in descending order----If you enter the numbers 2, 1, 2, then the program should display: 2 2 1.!!!!!! error?
public static void main(String[] args) throws Exception { Scanner ad = new Scanner(System.in); int num1 = ad.nextInt(); int num2 = ad.nextInt(); int num3 = ad.nextInt(); if (num1>num2 && num2>num3) {System.out.println(num1 + " " + num2 +
24.03.2019
2129
views
2
comments
0
Show more
1
...
335
336
337
338
339
...
372
Please enable JavaScript to continue using this application.