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
Radek
Level 22
Warsaw
Question about the task
Reinforce the adapter
Java Core
,
Level 9
,
Lesson 3
Resolved
How to pass the vlidation?
Im trying to make the solution appropriate for validator but I have no idea how to achieve it. I tested transformation of string data used in implemented methods and everything seems to be ok. Please, help.
11/19/18
1828
views
2
comments
2
vikr@nt
Level 9
Cincinatti
Question about the task
We don't need repeats
Java Syntax
,
Level 8
,
Lesson 8
Under discussion
What is the problem
Anybody , please let me know the issue here. I'm passing the value by copying the Map as it is done in remove function.
2/26/19
1461
views
1
comment
0
Araceli
Level 19
Buenos Aires
Question about the task
Chicken factory
Java Core
,
Level 4
,
Lesson 6
Resolved
Can someone please help me see my mistake?
It doesn't verify the last condition: "The HenFactory class's getHen method must return a NorthAmericanHen object if Continent.NORTHAMERICA is passed as an argument."
2/22/19
1942
views
7
comments
0
Muhammad Faizan Janjua
Level 6
Lahore
Question about the task
Deep and pure love
Java Syntax
,
Level 3
,
Lesson 8
Under discussion
?
import java.io.*; public class Solution { public static void main(String[] args) throws Exception{ //write your code here BufferedReader bf = new BufferedReader(new InputStreamReader(System.in)); String name1 = bf.ReadLine(); String name2 = bf.ReadLine();
9/16/18
1558
views
4
comments
0
Hashirama
Level 26
Port-Harcourt
Question about the task
Splitting a file
Java Core
,
Level 8
,
Lesson 5
Resolved
Please help
If i run any code on my intelliJ i get this error message: Error:Module '2.JavaCore' production: java.lang.ClassCastException: org.jetbrains.jps.builders.java.dependencyView.TypeRepr$PrimitiveType cannot be cast to org.jetbrains.jps.builders.java.dependencyView.TypeRepr$ClassType How can I clear t
2/17/19
1844
views
2
comments
0
Balen Asangbeh
Level 23
Douala
Question about the task
Beer. Part 2. The recovery.
Java Core
,
Level 3
,
Lesson 2
Under discussion
please what is wrong
public class Solution { public static void main(String[] args) { Drink beer = new AlcoholicBeer(); System.out.println(beer.toString()); } public interface Drink { boolean isAlcoholic(); } public static class AlcoholicBeer implements Drink{ @Ove
2/25/19
1295
views
6
comments
0
Wojtek
Level 23
Solec-Zdroj
Question about the task
Longest sequence
Java Syntax
,
Level 8
,
Lesson 6
Under discussion
need hint
How to reslove this task?
1/15/19
1936
views
7
comments
0
lordheraldor
Level 23
Newark
Question about the task
Splitting a file
Java Core
,
Level 8
,
Lesson 5
Resolved
I'm clearly using the objects described in the requirements but they won't verify
Basically, my code works to get the necessary data in the right place but I am not initializing the correct objects to do it.
2/25/19
1651
views
7
comments
0
Joy Majumdar
Level 16
Kolkata
Question about the task
Longest sequence
Java Syntax
,
Level 8
,
Lesson 6
Under discussion
Last numbers are creating problem
Please some one explain clearly
2/25/19
1352
views
1
comment
0
VIGNESH
Level 2
Mumbai
Question about the task
Implement the print method
Java Syntax
,
Level 2
,
Lesson 1
Under discussion
why the task not completed?
i am trying to complete this task but it is showing task failed to pass testing what the thing i missed
2/25/19
1296
views
2
comments
0
hidden #10424566
Level 7
Question about the task
Static cats
Java Syntax
,
Level 6
,
Lesson 11
Archived
quiz
why do we have to use the:for(Cat cat :cats )
2/25/19
1436
views
2
comments
0
M suleman
Level 20
Lahore
Question about the task
Splitting a file
Java Core
,
Level 8
,
Lesson 5
Under discussion
condition 2 & 3 is not satisfy
byte[] buffer = new byte[1000]; while (inputStream.available() > 0) //as long as there are unread bytes { //Read the next block of bytes into buffer, and store the actual number of bytes read in count. int count = inputStream.read(buffer); outputStream.write(buffer, 0, count/2);
11/12/18
2236
views
3
comments
0
Nazim Haider
Level 2
Mumbai
Question about the task
Family relations
Java Syntax
,
Level 2
,
Lesson 2
Under discussion
whats the wrong with my code?
public class Solution { public static void main(String[] args) { Man man = new Man(); Woman woman = new Woman(); man.wife = Woman; Woman.husband = Man; } public static class Man { public int age; public int height; public Wom
10/27/18
1640
views
5
comments
0
mallikarjuna
Level 3
Bangalore
Question about the task
Our first converter!
Java Syntax
,
Level 2
,
Lesson 2
Under discussion
plz help me
public class Solution { public static void main(String[] args) { System.out.println(convertCelsiusToFahrenheit(41)); } public static double convertCelsiusToFahrenheit(int celsius) { double TF=(double))(celsius)*9/5)+32; return TF; } }
8/21/18
1836
views
7
comments
0
srikanth
Level 10
Bangalore
Question about the task
Shortest or longest
Java Syntax
,
Level 7
,
Lesson 6
Under discussion
please where is the error in my code last two conditions are not satisfied
manually when i compile it ,code seems to fine ,where is the mistake
1/23/19
1719
views
3
comments
1
Roshan Singh
Level 12
Question about the task
Arithmetic mean
Java Syntax
,
Level 5
,
Lesson 5
Under discussion
Not able to Compile the code -----Giving the following compilation error..
com/codegym/task/task05/task0507/Solution.java:11: error: cannot find symbol BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); ^ symbol: class BufferedReader location: class com.codegym.task.task05.task0507.Solution com/codegym/task/task05/task0507/Solu
2/24/19
3244
views
5
comments
0
SWAPNIL SHUKLA
Level 7
Baddi
Question about the task
Calling a constructor from a constructor
Java Syntax
,
Level 5
,
Lesson 9
Under discussion
Errror
Whats wrong in the code . What condition is not Satisfied?
2/24/19
1527
views
1
comment
0
lordheraldor
Level 23
Newark
Question about the task
CRUD 2
Java Core
,
Level 7
,
Lesson 10
Resolved
Everything but my create method works
I try to run it with arguments and it basically gives me an array out of bounds exception on the switch statement. I don't know what else to do.
2/23/19
1594
views
2
comments
0
Gurpreet Grewal
Level 4
Mumbai
Question about the task
Plan to conquer the world
Java Syntax
,
Level 3
,
Lesson 8
Under discussion
plz explain this exercise
please explain this program line by line.
2/23/19
1555
views
1
comment
0
Ash Ka
Level 13
Calgary
Question about the task
Drawing a rectangle
Java Syntax
,
Level 4
,
Lesson 13
Resolved
What's wrong with the code ?
I thought having println() at the end is adding an extra empty line and that is the problem but even after adding a condition (If condition) such that there are exactly 2 rows and no extra empty rows, still I see the same error
2/22/19
1916
views
2
comments
0
bri
Level 7
Sevilla
Question about the task
Financial expectations
Java Syntax
,
Level 3
,
Lesson 12
Resolved
What am I missing?
When I press Run, instead of 100 it shows me -1. Not sure what I need to add.
1/27/19
2308
views
3
comments
0
Wojtek
Level 23
Solec-Zdroj
Question about the task
Reinforce the singleton pattern
Java Core
,
Level 5
,
Lesson 12
Under discussion
How to initialize instance in the getInstance method that method always return the same object?
need help
2/21/19
2632
views
5
comments
0
Wojtek
Level 23
Solec-Zdroj
Question about the task
File in a static block
Java Core
,
Level 5
,
Lesson 12
Under discussion
How to read file properly in this task?
My input is: "Static methods and variables are not linked to objects of the class; they are linked to the class itself. If we create ten Variables objects (see the example at the beginning of this level), we will have ten instanceVariable variables (one for each object) and only one shared (static
2/22/19
2086
views
3
comments
0
Martin Evtimov
Level 22
Chicago
Question about the task
Spaces
Java Core
,
Level 8
,
Lesson 11
Resolved
Help
Any suggestions?
2/22/19
1702
views
4
comments
0
Hashirama
Level 26
Port-Harcourt
Question about the task
Finding data inside a file
Java Core
,
Level 8
,
Lesson 11
Under discussion
Help please
They have started again!!!!
2/21/19
1667
views
3
comments
0
Erick
Level 8
Rockville
Question about the task
Minimum of N numbers
Java Syntax
,
Level 8
,
Lesson 11
Resolved
What exactly am I missing?
So, umm... what's going on here? The main method DOES call getIntegerList method, as well as the getMinimum method (which seems to find the minimum), and it DOES display text on the screen, and it compiles properly. What gives?
2/22/19
1983
views
5
comments
0
Jeff Jeffy
Level 15
Irvine
Question about the task
Currency exchange
Java Syntax
,
Level 3
,
Lesson 3
Resolved
Can't use returned value
I cant seem to use the value I returned, can someone explain what I'm doing wrong?
1/13/19
1850
views
3
comments
0
Dedcom
Level 19
Lahore
Question about the task
Different methods for different types
Java Core
,
Level 5
,
Lesson 12
Resolved
whats wrong here?
Integer condition is not working whenever i enter value greater than 128 or less than 0 , but whenever i enter big value like 1299999 then Integer condition works and it prints that this value is an Integer
2/21/19
2181
views
4
comments
0
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
1531
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
1587
views
1
comment
0
Show more
1
...
343
344
345
346
347
...
374
Please enable JavaScript to continue using this application.