CodeGym University
Learning
Course
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
Za Surpex
Level 2
Ocala
Question about the task
Our first converter!
Java Syntax
,
Level 2
,
Lesson 2
Resolved
What is the "Converter" question asking for?
I have no idea what this is asking for. It gives an example, but it doesn't state a question clearly. What am I supposed to be accomplishing here? The convertCelsiusToFahrenheit(int celsius) method accepts a value in degrees Celsius. The method should convert the temperature and return the value in
03.04.2019
1655
views
3
comments
0
Hephzibah Jeyashankar
Level 4
Tuticorin
Question about the task
Our first converter!
Java Syntax
,
Level 2
,
Lesson 2
Resolved
Farenheit Coverter? How to sove this? Anybody there?
Our first converter! The convertCelsiusToFahrenheit(int celsius) method accepts a value in degrees Celsius. The method should convert the temperature and return the value in degrees Fahrenheit. The Celsius temperature (TC) and the Fahrenheit temperature (TF) are related by the following relationship
05.10.2018
2442
views
9
comments
0
Nabin Thapa
Level 6
Richardson
Under discussion
why BufferedReader and Scanner is not working on the code editor its throwing the eroor But its working on my eclipse ide
package com.codegym.task.task04.task0412; /* Positive and negative numbers */ import java.io.BufferedReader; import java.io.InputStreamReader; public class Solution { public static void main(String[] args) throws Exception { //write your code here BufferedReader buffer = new
11.04.2019
1055
views
1
comment
0
Ritesh Kumar Mandal
Level 9
Delhi
Question about the task
Working with dates
Java Syntax
,
Level 8
,
Lesson 11
Resolved
Don't able to understand what is asked in the third requirement...?
I had tried every date it's working alright and returning value. Sill not able to pass the third requirement which says try other dates.
06.01.2019
1632
views
3
comments
0
alpha_centauri
Level 3
Question about the task
Time conversion
Java Syntax
,
Level 3
,
Lesson 5
Under discussion
why isn't correct?
public class Solution { //write your code here public static void main(String[] args) { //write your code here int hour = 1; System.out.println( convertToSeconds( hour ) + " hour " + Integer.toString( convertToSeconds( hour ) ) + " seconds"
11.04.2019
1279
views
2
comments
0
inessa smets
Level 3
Question about the task
Pets need people
Java Syntax
,
Level 2
,
Lesson 5
Resolved
plz help: why is this not correct.
package com.codegym.task.task02.task0213; /* Pets need people */ public class Solution { public static void main(String[] args) { //write your code here Woman woman = new woman(); Cat cat = new cat(); Dog dog = new dog(); Fish fish = new fish();
11.04.2019
1528
views
3
comments
0
Douglas
Level 4
Kano
Question about the task
Declare variables
Java Syntax
,
Level 0
,
Lesson 4
Resolved
Declaring Integer as age
String name = ("name"); int age = ("age"); String city = ("city"); How can I declare the integer as age correctly?
15.03.2019
4291
views
4
comments
0
Nabin Thapa
Level 6
Richardson
Under discussion
how to read the input from the keyboard in codegym editor i'm getting pissed off Scanner and BufferedReader is not working here
import java.util.Scanner Scanner scan = new Scanner(System.in);//This is throwing the error
11.04.2019
1108
views
1
comment
0
ARIJIT MONDAL
Level 4
Kolkata
Question about the task
Minimum of three numbers
Java Syntax
,
Level 2
,
Lesson 8
Resolved
Getting correct result , but verification fail as "The min method must return the minimum of the numbers a, b, and c."
11.04.2019
1130
views
7
comments
0
kunal yerunkar
Level 0
Mumbai
Question about the task
My young friend
Java Syntax
,
Level 0
,
Lesson 4
Resolved
only one requirement are pending ?
08.04.2019
1187
views
3
comments
0
Connor
Level 8
Boston
Question about the task
Implement the print method
Java Syntax
,
Level 2
,
Lesson 1
Under discussion
Question about print in the main method.
What is print in the main method? I just don't quite understand how we go from public static void main(String[] args) { print("Java is easy to learn!"); print("Java opens many opportunities!"); } to public static void print(String s) { //My code goes here. } I
10.04.2019
1761
views
3
comments
0
Willie Mangram
Level 19
Pensacola
Question about the task
Method in a try-catch
Java Syntax
,
Level 9
,
Lesson 11
Resolved
If the user enters text rather than a number, the program should display all previously entered numbers.
Functions perfectly when I run it and when I enter a text it catches and displays the previous numbers entered and added into the ArrayList. I appreciate the assistance guys!
18.01.2019
1680
views
4
comments
0
Pratik Jain
Level 2
mumbai
Question about the task
Implement the print method
Java Syntax
,
Level 2
,
Lesson 1
Under discussion
print method
can any help me with this
12.08.2018
1371
views
10
comments
0
Nastya Varennikova
Level 11
Sumy
Question about the task
Calling a constructor from a constructor
Java Syntax
,
Level 5
,
Lesson 9
Under discussion
Please, help me!
I don't understand what is problem.
05.04.2019
1277
views
8
comments
1
Niranjan Soni
Level 15
Bangalore
Question about the task
Calling a constructor from a constructor
Java Syntax
,
Level 5
,
Lesson 9
Under discussion
Please help
Help please i'm not able to identify the problem in my code.
26.09.2018
1573
views
5
comments
0
Laurap5
Level 9
Vilnius
Question about the task
Calling a constructor from a constructor
Java Syntax
,
Level 5
,
Lesson 9
Under discussion
Please help
I'm not able to identify the problem, for me looks everything fine :)
20.11.2018
1316
views
5
comments
0
Billy Graves
Level 10
Austin
Question about the task
Going national
Java Syntax
,
Level 8
,
Lesson 11
Archived
Change first letter of each word to uppercase condition
I've worked on this problem for a few hours now and I can't seem to find what the issue is. Whenever I test it, it will always come back correct but it will not validate and warns me of multiple spaces between words which I've tested for. Any recommendations on how to resolve this issue? Additional
10.04.2019
1528
views
1
comment
0
past cham
Level 6
Delhi
Question about the task
Somehow average
Java Syntax
,
Level 4
,
Lesson 16
Resolved
pls help
The program should display the middle number of the three numbers. RECOMMENDATION FROM YOUR MENTOR Test the program with the numbers 1, 3, and 2. Expected output: 2
10.04.2019
1608
views
2
comments
0
Kira
Level 1
Schaumburg
Question about the task
Let's change the code
Java Syntax
,
Level 1
,
Lesson 4
Under discussion
Second variable?
My code is working. I dont need to declare the second variable.
08.10.2018
1381
views
6
comments
1
Thomas
Level 12
Gent
Question about the task
We don't need repeats
Java Syntax
,
Level 8
,
Lesson 8
Under discussion
I keep getting an error. I guess i don't completely understand iterator
Can anyone help me? these tasks with iterator and maps are keeping me bussy...
02.04.2019
1316
views
3
comments
0
pax
Level 3
Bratislava
Question about the task
Minimum of three numbers
Java Syntax
,
Level 2
,
Lesson 8
Resolved
Can't find the mistake in my solution
Code executes without error but fails the last condition.
08.04.2019
1125
views
3
comments
0
stjepang
Level 8
Sveti Iija
Question about the task
Display the square of a number
Java Syntax
,
Level 1
,
Lesson 3
Under discussion
the server won't accept my solution. What is wrong in this simple code?
package com.codegym.task.task01.task0140; /* Display the square of a number */ public class Solution { public static int number = 25; public void main(String[] args) { //write your code here System.out.println(number); System.out.println(number * number); }
26.03.2019
1436
views
5
comments
0
Djole
Level 41
Belgrade
Question about the task
UnsupportedFileName
Java Core
,
Level 8
,
Lesson 8
Resolved
i need a if/else in constructor but super(name) has to be the first line in constructor.
public class TxtInputStream extends FileInputStream { private final String fileName; public TxtInputStream(String fileName) throws IOException, UnsupportedFileNameException { this.fileName = fileName; if(fileName.substring(fileName.length() -4).equals(".txt"))
07.04.2019
1101
views
2
comments
0
Vatsal Patel
Level 15
Naperville
Question about the task
Longest sequence
Java Syntax
,
Level 8
,
Lesson 6
Under discussion
What am I doing wrong?
I don't know what to do.
08.04.2019
1065
views
3
comments
0
Jeet
Level 2
Najafgarh
Question about the task
Square of a number
Java Syntax
,
Level 1
,
Lesson 8
Archived
Where is the mistake, from my end all conditions are satisfied.
Please help me to complete this task.
06.04.2019
1350
views
3
comments
0
Mike McKenna
Level 25
Wilmington
Under discussion
Nerd break end of level 1
Hi, I am unable to unlock Nerd break @ end of Level 1 ? Thank You Mike
08.04.2019
1041
views
1
comment
0
mallikarjuna
Level 3
Bangalore
Question about the task
Minimum of three numbers
Java Syntax
,
Level 2
,
Lesson 8
Under discussion
plz fill this code
public class Solution { public static int min(int a, int b, int c) { //write your code here } public static void main(String[] args) throws Exception { System.out.println(min(1, 2, 3)); System.out.println(min(-1, -2, -3)); System.out.println(min(3, 5, 3)
21.08.2018
1048
views
4
comments
0
qsasdgkl
Level 17
San Diego
Question about the task
Positive and negative numbers
Java Syntax
,
Level 4
,
Lesson 4
Archived
This compiles in IntellJ but refuses to run on the website, furthermore it claims that the program is not fulfilling requirements, but it does.
package com.codegym.task.task04.task0412; /* Positive and negative numbers */ import java.io.*; public class Solution { public static void main(String[] args) throws Exception { //write your code here BufferedReader reader = new BufferedReader(new InputStreamReader(System.i
08.04.2019
1174
views
3
comments
0
Skylar
Level 2
Flint
Question about the task
As simple as 2+2
Java Syntax
,
Level 1
,
Lesson 8
Resolved
Not sure how to do this
I don't get how to do this because I dont get how to call a method aka the sum like what do I do here?
10.10.2018
2006
views
8
comments
0
Sabine Meijran-Prins
Level 7
Enschede
Question about the task
Implement the fight method
Java Syntax
,
Level 5
,
Lesson 5
Under discussion
Why is a non existing object used as a parameter?
I do not understand why in this code: public boolean fight(Cat anotherCat) { //write your code here } public static void main(String[] args) { } ... The object anotherCat is used as a parameter, but this object is not made into the main method?
05.01.2019
1523
views
4
comments
0
Show more
1
...
327
328
329
330
331
...
366
Please enable JavaScript to continue using this application.