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
ddi
Level 18
Dortmund
Question about the task
Mastering the static block
Java Core
,
Level 5
,
Lesson 12
Resolved
What am i missing? Help needed!
I don´t understand what am it missing... if anyone could help me.
18.09.2019
1018
views
7
comments
0
MecoS
Level 16
Question about the task
Minimum of two numbers
Java Syntax
,
Level 2
,
Lesson 8
Under discussion
To resolve the question i evaluate both solution in min method but nothing
public static int min(int a, int b) { int m2 = Math.min(a, b); // int m2; // if(a > 0 || b > 0) // { // if(a > b) // m2=a; // else // m2=b; // } // else // { // if(a > b)
17.09.2019
976
views
1
comment
0
Naveen Muralidoss
Level 9
Newark
Question about the task
Predictions
Java Syntax
,
Level 3
,
Lesson 8
Resolved
Can't understand the validator how it works........................
Expected Result : Nick will receive 10000 in 5 years. Program prints the same : Nick will receive 10000 in 5 years. Still have issue with last point
18.09.2019
1137
views
2
comments
0
Eduardo
Level 23
Coyoacan
Question about the task
The humble programmer
Java Syntax
,
Level 3
,
Lesson 8
Resolved
Stuck again with typo
Hi, This program seemed simpler than the previous one, however I can't fulfill the last condition (The mentor suggested a typo error). Last time it was due to the order of the inputs but in this case it is a single input so I can't find a logical explanation. And on different topic, if I try to run
30.09.2018
1989
views
7
comments
0
Tara Edwards
Level 6
Question about the task
Even and odd digits
Java Syntax
,
Level 6
,
Lesson 5
Under discussion
Not sure why I keep getting an error on this if (a%2) == 0 {
Help with error?
17.09.2019
1075
views
3
comments
0
Niladri pradhan
Level 33
Mumbai
Question about the task
MVC (part 6)
Java Multithreading
,
Level 4
,
Lesson 14
Under discussion
Probelm in EditUsersView
please help
18.09.2019
1128
views
1
comment
0
imantas
Level 8
Frome
Question about the task
Shortest or longest
Java Syntax
,
Level 7
,
Lesson 6
Under discussion
Code does the job, altgough task requirements are not met, anyone know why?
Please help, anyone know why task requirements are not met? Thanks.
18.09.2019
934
views
1
comment
0
harshshah
Level 9
Gandhinagar
Question about the task
You can't have too much of a good thing
Java Syntax
,
Level 4
,
Lesson 10
Archived
Not able to pass one error !!
Code is running completely fine don't know where is error in the code.
27.07.2019
1273
views
5
comments
0
Serg
Level 23
Tyumen
Question about the task
Describing numbers
Java Syntax
,
Level 4
,
Lesson 7
Archived
The code works, but does not pass verification. Why?
package com.codegym.task.task04.task0427; import java.io.*; public class Solution { public static void main(String[] args) throws Exception { BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(System.in)); int a = Integer.parseInt(bufferedReader.readLin
30.04.2019
1466
views
3
comments
0
ddi
Level 18
Dortmund
Question about the task
Shuffled just in time
Java Syntax
,
Level 7
,
Lesson 12
Resolved
How should i print?
I am missing the last parameter: Display the list, each value on a new line. how should i do it?
24.06.2019
1448
views
4
comments
1
vengadesh
Level 5
chennai
Question about the task
Roy G. Biv…
Java Syntax
,
Level 3
,
Lesson 6
Resolved
why sir you created pls explain that one...... Red red = new Red(); red.Red();
why sir you created pls explain that one...... Red red = new Red(); red.Red(); public class Solution { public static void main(String[] args) { //write your code here Red red = new Red(); red.Red(); Orange orange = new Orange();
26.04.2019
1767
views
3
comments
0
Николай
Level 7
Mariupol'
Question about the task
Implement the fight method
Java Syntax
,
Level 5
,
Lesson 5
Under discussion
why it doesn't work ? can help me anybody ?
package javaRush; public class Cat { public int age; public int weight; public int strength; public Cat() { } public boolean fight(Cat anotherCat) { if (this.age <= anotherCat.age & this.weight > anotherCat.weight & this.strength > anotherCat.stren
05.05.2019
1719
views
3
comments
0
Swapnil
Level 5
Kolkata
Question about the task
The Three "Muscateers"
Java Syntax
,
Level 5
,
Lesson 5
Under discussion
What is the difference between the two block of codes?
Cat c1 = new Cat(); Cat c2 = new Cat(); Cat c3 = new Cat(); c1.name = "To"; c1.age= 8; c1.weight= 10; c1.strength = 85; c2.name = "Tm"; c2.age= 1; c2.weight= 60; c2.strength = 5; c3.name = "Tom";
02.05.2019
1557
views
6
comments
2
Candice Brazil
Level 6
Ocala
Question about the task
Getters and setters for the Dog class
Java Syntax
,
Level 5
,
Lesson 5
Under discussion
Compiles and prints correctly
I'm not certain what I'm doing wrong here. The code has no errors while compiling, and correctly prints the names and ages of the associated dog objects. Note: It also fails to pass when I change the "return this.name;" and "return this.age" statements to "return name;" and "return age;" so tha
27.03.2019
2194
views
7
comments
0
Ashwin
Level 6
Bangalore
Question about the task
Getters and setters for the Dog class
Java Syntax
,
Level 5
,
Lesson 5
Under discussion
why is this not working? it is showing make sure it has getAge and getName and i do, so it should work right?
why is this not working? it is showing make sure it has getAge and getName and i do, so it should work right?
17.03.2019
1539
views
3
comments
0
Antonia
Level 10
Question about the task
Creating a cat
Java Syntax
,
Level 5
,
Lesson 5
Under discussion
why??
?
10.07.2019
1589
views
2
comments
1
Laurence Chadwell
Level 4
San Antonio
Question about the task
Arithmetic mean
Java Syntax
,
Level 5
,
Lesson 5
Under discussion
I need some help on this one
Can anyone tell if I am on the right track with this one please?
17.09.2019
864
views
2
comments
0
Nikhil Raut
Level 10
Pune
Question about the task
Cat relations
Java Syntax
,
Level 6
,
Lesson 11
Resolved
please help!
The line about the father (third line) must match the conditions. although output looks correct to me.
12.09.2019
1466
views
2
comments
0
Abhishek Rangari
Level 22
Nagpur
Question about the task
Counting words
Java Core
,
Level 9
,
Lesson 5
Under discussion
Last condition is not getting satisfied
Guys could you please help me on this part, last condition is not getting satisfied.
25.11.2018
1575
views
3
comments
0
Wojtek
Level 23
Solec-Zdroj
Question about the task
Dividing by zero
Java Syntax
,
Level 9
,
Lesson 11
Under discussion
Why 2nd condition is failed?
need help
24.01.2019
1491
views
4
comments
0
hidden #10484120
Level 13
Question about the task
Sorting three numbers
Java Syntax
,
Level 4
,
Lesson 6
Under discussion
Program outputs correctly but not sure what is missing
Hey, When I run the program it outputs correctly but is still not passing the last requirement. Please let me know what I am missing. Thanks!
16.09.2019
1089
views
4
comments
0
Emile
Level 14
Paris
Under discussion
Please can anybody help me to understand where my mistake is?
public class Cat { //write your code here private String name =null; private int weight =1; private int age = 2; private String color = null; private String address = null; /*The class must have an initialize method that takes a name as an argument, but
17.09.2019
940
views
1
comment
0
Rad
Level 8
Maidstone
Question about the task
Adding
Java Syntax
,
Level 4
,
Lesson 16
Under discussion
i need help
i did not get it please help me what was wrong in my code
20.10.2018
1615
views
5
comments
0
theCalculator
Level 3
Warren
Question about the task
Print three times
Java Syntax
,
Level 2
,
Lesson 8
Under discussion
My Solution Window Window Window File File File and the last condition fails any thoughts?
My Solution Window Window Window File File File and the last condition fails any thoughts?
17.09.2019
1133
views
3
comments
0
Bazsó Benjámin
Level 20
Szombathely
Question about the task
Vowels and consonants
Java Syntax
,
Level 9
,
Lesson 11
Resolved
cant solve this help pls
how can i fulfill the 4th condition?
07.04.2019
2016
views
2
comments
1
Henry
Level 6
Stuttgart
Question about the task
Closest to 10
Java Syntax
,
Level 4
,
Lesson 4
Under discussion
hello
I have done the task using abs value but i would like someone to give me a hint with regards to the use of logical condition in solving this task. I tried using the AND and OR logical operator but i kept getting it wrong.
16.09.2019
1038
views
1
comment
0
Bartek J.
Level 13
Zielona Góra
Question about the task
Make a family
Java Syntax
,
Level 8
,
Lesson 11
Under discussion
Last statement
Seems to output is good but can't pass last condition :\ Anybody can help?
31.08.2019
1118
views
1
comment
0
Yash
Level 15
Sugar Hill
Question about the task
Only for the rich
Java Syntax
,
Level 8
,
Lesson 8
Resolved
Help! I don't know what I'm doing.
Line 41 : method remove in interface java.util.Iterator<E> cannot be applied to given types; required: no arguments found: java.lang.String reason: actual and formal argument lists differ in length.
15.09.2019
1769
views
2
comments
0
ARYAN
Level 4
Pune
Question about the task
Crazy eights
Java Syntax
,
Level 2
,
Lesson 5
Under discussion
not getting about variables....plz help
not getting variable plz helppp
12.12.2018
2065
views
7
comments
0
holybible
Level 28
Plovdiv
Question about the task
Prices 2
Java Core
,
Level 8
,
Lesson 11
Under discussion
I don't get what the verifier wants
When I run the tests, everything is correct, but maybe the verifier wants something else. A little help could be of great use to me.
09.09.2019
1341
views
1
comment
0
Show more
1
...
277
278
279
280
281
...
371
Please enable JavaScript to continue using this application.