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
NOBODY
Level 5
Question about the task
Even numbers
Java Syntax
,
Level 4
,
Lesson 13
Under discussion
help
someone help..
5/5/20
718
views
3
comments
0
Hiko Txs
Level 20
Plano
Question about the task
Picking out numbers
Java Core
,
Level 9
,
Lesson 5
Under discussion
Please help me
package com.codegym.task.task19.task1908; /* Picking out numbers */ import java.io.*; import java.util.ArrayList; public class Solution { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); Str
5/14/20
490
views
1
comment
0
Mendelstein Hellstein
Level 2
Helsinki
Question about the task
Minimum of three numbers
Java Syntax
,
Level 2
,
Lesson 8
Under discussion
I'm stuck with this.
I don't know how to continue, seems everything is fine and but still haven't got last line right "The min method must return the minimum of the numbers a, b, and c." It print out 1, -1,3 and 5 which should be minimum numbers. How to continue about this?
5/12/20
739
views
4
comments
0
satish
Level 15
kadapa
Question about the task
Mixed-up modifier
Java Syntax
,
Level 8
,
Lesson 11
Under discussion
whats the problem here
??? public class Solution { public static int A = 5; public static int B = 2; public int C = A * B; public int D = B * A; public static void main(String[] args) { } public int getValue() { return D; } public static int getValue2() { return C
5/30/19
1478
views
4
comments
1
Onome Brownly-Otiede
Level 9
Galway
Question about the task
Minimum of four numbers
Java Syntax
,
Level 2
,
Lesson 8
Under discussion
please help
im stuck
5/13/20
818
views
3
comments
0
Somya Gupta
Level 4
Vrindavan
Question about the task
Predictions
Java Syntax
,
Level 3
,
Lesson 8
Under discussion
display error
import java.io.*; public class Solution { public static void main(String[] args) throws Exception { //write your code here BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); String name=br.readLine(); String salary=br.readLi
8/28/18
1606
views
10
comments
0
Onome Brownly-Otiede
Level 9
Galway
Question about the task
Minimum of four numbers
Java Syntax
,
Level 2
,
Lesson 8
Under discussion
just help
im posting multiple questions because it would be faster
5/13/20
506
views
3
comments
0
Anjan
Level 13
Indianapolis
Question about the task
One large array and two small ones
Java Syntax
,
Level 7
,
Lesson 4
Under discussion
where i am doing wrong. please help me
am able to print the second array with second 10 numbers
5/14/20
590
views
2
comments
0
sirisha karanki
Level 10
Question about the task
HashMap of 10 pairs
Java Syntax
,
Level 8
,
Lesson 3
Under discussion
why iits going wrongg
in ide its showing correct output
5/14/20
499
views
1
comment
0
Jeremi Nuer
Level 7
San Francisco
Question about the task
Predictions
Java Syntax
,
Level 3
,
Lesson 8
Under discussion
Why does it not meet task conditions?
I've tried it every way I can think of. I've tried with just the name, number1, and number 2. I've tried making it the exact same sentence as in the example. I even tried to make the phrase go to the second line at the same time as in the example. The output is completely identical when I run the
5/12/20
482
views
2
comments
0
Tiko hakobyan
Level 20
Yerevan
Question about the task
Shortest or longest
Java Syntax
,
Level 7
,
Lesson 6
Under discussion
any idea why this code does not pass the verification ?
5/10/20
657
views
8
comments
0
Anonymous #10604401
Level 8
Skopje
Under discussion
Intellj Run Program Button
In IntelliJ can't I run the programs before submitting them for verification. I tried build project, and I got this: And this: I'm on linux. Any suggestions?
5/13/20
570
views
3
comments
2
Muhammed Hussein
Level 20
Cairo
Question about the task
HashSet of plants
Java Syntax
,
Level 8
,
Lesson 3
Under discussion
Declare a HashSet variable how ?
Declare a HashSet variable with String elements and immediately initialize it.
11/22/18
2726
views
3
comments
0
Pavan kumar
Level 2
Eluru
Question about the task
Minimum of four numbers
Java Syntax
,
Level 2
,
Lesson 8
Under discussion
can anyone help me
how to declare return I'm not getting
5/12/20
685
views
6
comments
0
Onome Brownly-Otiede
Level 9
Galway
Question about the task
Minimum of four numbers
Java Syntax
,
Level 2
,
Lesson 8
Under discussion
i cant do it after many tries
codegym.task.task02.task0217; /* Minimum of four numbers */ public class Solution { public static int min(int a, int b, int c, int d) { int min; if (a <= b, a<= c, a<= d) min= a; else if (b <= a, b<= c, b<= d)
5/12/20
710
views
3
comments
0
Jack
Level 4
Yerevan
Question about the task
The humble programmer
Java Syntax
,
Level 3
,
Lesson 8
Under discussion
doesn't work
package com.codegym.task.task03.task0320; /* The humble programmer */ import java.io.*; public class Solution { public static void main(String[] args) throws Exception { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); String name = reader.read
5/11/20
778
views
3
comments
0
ty
Level 2
Hawthorne
Under discussion
what am i doing wrong???
I put System.out.print("word" + 3);
5/14/20
651
views
1
comment
0
Henry Yao
Level 22
Pasadena
Question about the task
Correct the bug. Classes and interfaces
Java Core
,
Level 9
,
Lesson 11
Under discussion
I need help
I think problem in side: if (result instanceof A) { A p = (C) result; System.out.println(p.getClass().getSimpleName()); } I made many tries but I can not correct it. Many thanks for your help
5/14/20
620
views
1
comment
0
Timothy Strickland
Level 6
Fairfax
Question about the task
You can't have too much of a good thing
Java Syntax
,
Level 4
,
Lesson 10
Resolved
Seems good but failing the 4th condition
Not sure why its failing, have tested it multiple times and seems to work.
2/20/20
1570
views
5
comments
1
Onome Brownly-Otiede
Level 9
Galway
Question about the task
Minimum of four numbers
Java Syntax
,
Level 2
,
Lesson 8
Under discussion
just help me
please help
5/13/20
699
views
1
comment
0
Onome Brownly-Otiede
Level 9
Galway
Question about the task
Minimum of four numbers
Java Syntax
,
Level 2
,
Lesson 8
Under discussion
what should i do
i just cant do it
5/13/20
625
views
1
comment
0
Onome Brownly-Otiede
Level 9
Galway
Question about the task
Minimum of four numbers
Java Syntax
,
Level 2
,
Lesson 8
Under discussion
what should i do
ive been stuck on this for multiple days and i just cant figure it out.
5/13/20
432
views
1
comment
0
Odd
Level 6
Clarksdale
Question about the task
Minimum of two numbers
Java Syntax
,
Level 4
,
Lesson 6
Under discussion
No idea why this isn't working.
Can someone explain why I can't meet the last requirement?
5/13/20
770
views
3
comments
0
Mark Costales
Level 24
Question about the task
Arithmetic mean
Java Syntax
,
Level 5
,
Lesson 5
Resolved
Can someone please review my code. I'm not passing the last condition: 7. The displayed result should match the task conditions for any input data.
package com.codegym.task.task05.task0507; /* Arithmetic mean */ import java.io.BufferedReader; import java.io.InputStreamReader; public class Solution { public static void main(String[] args) throws Exception { BufferedReader bufferedReader = new BufferedReader(new InputStreamReade
5/12/20
1476
views
7
comments
0
David
Level 26
Bucharest
Question about the task
Default values
Java Core
,
Level 5
,
Lesson 9
Under discussion
Can't pass last condition
Can't see what is wrong
5/13/20
598
views
2
comments
0
Wojtek
Level 23
Solec-Zdroj
Question about the task
Improving functionality
Java Syntax
,
Level 5
,
Lesson 12
Under discussion
what is wrong in my code?
help
1/3/19
1921
views
7
comments
0
hidden #10513713
Level 9
Question about the task
Notepad for new ideas
Java Syntax
,
Level 6
,
Lesson 11
Resolved
Instantiating a static class
My task passed testing through trial and error, but, I thought we cannot make a new instance of a static class. Can someone explain how this works in this exercise or refer me to some resource that explains this?
3/5/20
1725
views
5
comments
0
Rafał Pawłowski
Level 22
Southampton
Question about the task
Rarest bytes
Java Core
,
Level 8
,
Lesson 3
Under discussion
Can't find the issue
Please help
5/13/20
543
views
1
comment
0
Michael Brimage
Level 19
Washington D.C.
Question about the task
GCD
Java Core
,
Level 4
,
Lesson 8
Under discussion
Did anyone try my approach
I am not sure what's wrong. The requirements did not state that a method must be created so I opted to for the longer approach. lines 39-47 Factorize each number A & B then added them to lists lines 50-55 compares the two lists line 58 - on //GCD is the largest number in both lists
5/12/20
589
views
1
comment
0
arafat
Level 4
Dhaka
Question about the task
Closest to 10
Java Syntax
,
Level 4
,
Lesson 4
Under discussion
Please help me find the problem
I ran my program and the results were correct,so whats wrong here
5/2/20
1100
views
5
comments
0
Show more
1
...
196
197
198
199
200
...
374
Please enable JavaScript to continue using this application.