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
Hashirama
Level 26
Port-Harcourt
Question about the task
Greater than 10? You're not a good fit for us
Java Syntax
,
Level 8
,
Lesson 8
Resolved
Please what's the problem here?
I ran it and got the right output. What did I do wrong?
21.01.2019
2002
views
17
comments
1
MP
Level 8
Wietzendorf
Question about the task
A name is a name
Java Syntax
,
Level 4
,
Lesson 16
Resolved
where is the typo..
those tasks are so exhausting..
20.01.2019
1444
views
6
comments
0
dD
Level 17
Novi Sad
Question about the task
Adding
Java Syntax
,
Level 4
,
Lesson 16
Under discussion
This task has some errors or something, please check it
So i wrote the code and ran it, and got the error saying "java.lang.NumberFormatException: Solution.java, method main, line: 18" and "Error converting a string to a number (invalid format)." Thats what you get i think when you enter letters instead of number (Even though i entered the digit, not let
20.01.2019
1680
views
7
comments
0
Daniel Njuguna
Level 14
Kiambu
Question about the task
Three numbers
Java Syntax
,
Level 4
,
Lesson 6
Resolved
What's wrong with my code??
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.in)); int number1 = Integer.parseInt(reader.readLine()); int number2
21.01.2019
1681
views
3
comments
0
srikanth
Level 10
Bangalore
Question about the task
Cat's finalize method
Java Syntax
,
Level 6
,
Lesson 5
Under discussion
what is the mistake in this code?
public class Cat { //write your code here protected void finalize() throws throwable{ } public static void main(String[] args) { } } what is the mistake in this code ? please do help me ..
20.01.2019
1337
views
2
comments
0
Monica Nicoleta
Level 7
Arad
Question about the task
Positive and negative numbers
Java Syntax
,
Level 4
,
Lesson 4
Archived
I need help.
I know something is wrong with my code, i just don't know what. Please help me. Thank you.
20.01.2019
1681
views
2
comments
0
Sundaram
Level 12
Chennai
Question about the task
Plan to conquer the world
Java Syntax
,
Level 3
,
Lesson 8
Under discussion
Passing verification but failing on run.Error converting a string to a number. (invalid format). Why?
import java.io.*; public class Solution { public static void main(String[] args) throws Exception { InputStream inputStream = System.in; Reader inputStreamReader = new InputStreamReader(inputStream); BufferedReader bufferedReader = new BufferedReader(inputStream
05.01.2019
1457
views
4
comments
0
Nazim Haider
Level 2
Mumbai
Question about the task
Calculate the circumference of a circle
Java Syntax
,
Level 2
,
Lesson 2
Under discussion
help me please
public class Solution { public static void main(String[] args) { printCircleCircumference(5); Double pi = 3.14; Double C; C = 2*3.14*radius } public static void printCircleCircumference(int radius) { //write your code here System.out.println(C);
27.10.2018
1422
views
6
comments
0
bri
Level 7
Sevilla
Question about the task
Minimum of three numbers
Java Syntax
,
Level 2
,
Lesson 8
Resolved
Where are there sources to know this?
Looking in the help section, either I've skipped a lesson inadvertently or people are getting responsesfrom other sources. We've seen how to get min and max briefly withsome examples of the if and else when there are 2 numbers concerned. How on earth are we expected to reasonably do this in a SIMPL
19.01.2019
1151
views
2
comments
0
IvanNik
Level 15
Sofia
Question about the task
In the blue depths of the stack trace…
Java Syntax
,
Level 9
,
Lesson 2
Under discussion
I'm not sure what I have to "catch" in this task
It could be this: public static void main(String[] args) throws Exception { int deep = getStackTraceDepth(); System.out.println(deep-Thread.currentThread().getStackTrace().length); } public static int getStackTraceDepth() { return Thread.currentThread().getStackTrace
19.01.2019
1468
views
1
comment
0
ManasaBhattaru
Level 10
Bangalore
Under discussion
https://codegym.cc/quests/lectures/questsyntax.level07.lecture06
Not able to figure out the issue with code.. Pgm is meant to fnd the minimum of the arraylist.. https://codegym.cc/quests/lectures/questsyntax.level07.lecture06 Code: import java.util.ArrayList; import java.io.BufferedReader; import java.io.InputStreamReader; /* shortest string */ public class S
19.01.2019
1306
views
3
comments
0
Lukasz
Level 14
Wrocław
Question about the task
Playing Javarella
Java Syntax
,
Level 7
,
Lesson 9
Resolved
What is wrong here
Input: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Output: Divisible by 3: 3 6 9 12 15 18 Divisible by 2: 2 4 6 8 10 12 14 16 18 20 Rest: 1 5 7 11 13 17 19
19.01.2019
1794
views
1
comment
0
Wojtek
Level 23
Solec-Zdroj
Question about the task
Longest string
Java Syntax
,
Level 7
,
Lesson 6
Archived
how to resolve this task?
need help
10.01.2019
1725
views
1
comment
0
Sourav Kumar Rana
Level 9
Delhi
Question about the task
Drawing lines
Java Syntax
,
Level 4
,
Lesson 13
Under discussion
solution
package com.codegym.task.task04.task0438; /* Drawing lines */ public class Solution { public static void main(String[] args) throws Exception { for(int i=0;i<10;i++) { System.out.print("8"); }//write your code here for(int i=0;i<10;i++) {
14.01.2019
1395
views
2
comments
0
Mohammed Aabid Chouhan
Level 2
Mumbai
Question about the task
Contract
Java Syntax
,
Level 1
,
Lesson 6
Under discussion
I can't find unlock next lesson on level 1 lesson 6. I don't know why this is happening everytime
I can't find unlock next lesson on level 1 lesson 6. I don't know why this is happening everytime
18.01.2019
1192
views
3
comments
0
manoj deo
Level 3
Jakarta
Question about the task
Print three times
Java Syntax
,
Level 2
,
Lesson 8
Resolved
help me
whats the problem?
21.09.2018
1737
views
2
comments
0
Mohammed Amine EL AMRANI
Level 11
Rabat
Question about the task
Number of letters
Java Syntax
,
Level 10
,
Lesson 11
Under discussion
I didn't understand the question
Hello, Could someone explain me the question because i didn't understand it, and give me an exemple : Enter 10 strings from the keyboard and count the number of different letters in them (for the 26 lowercase letters of the English alphabet). Display the results on the screen in alphabetical orde
18.01.2019
1149
views
1
comment
0
Avinash Rana
Level 7
Kolkata
Under discussion
The object ive of this project is to process the results of an examination held in a s chool . All the students were tested in 5 subjects - English, Mathematics, Physics, Chemistry and Computers. The marks scored b y the students has been provided in the file - results.txt. The objective is t
can anyone help me with this?
18.01.2019
1272
views
1
comment
0
Meshack
Level 8
Thika
Question about the task
Closest to 10
Java Syntax
,
Level 4
,
Lesson 4
Resolved
Help
Kindly help, the second call to displayClosestToTen() function doesn't display anything,
18.01.2019
1330
views
2
comments
0
Jane
Level 3
Cape Town
Question about the task
Our first converter!
Java Syntax
,
Level 2
,
Lesson 2
Under discussion
Rusty Math Help
Hi there, So I didn't have a hard time trying to put the code together, but I had a hard time with converting the formula. I haven't been in math class in over a decade, so can someone please explain to me how to get from TC = (TF - 32) * 5/9 to TF = ... Thank you
17.01.2019
1189
views
5
comments
0
Laxmidhar Mishra
Level 12
Mumbai
Question about the task
Pay raise
Java Syntax
,
Level 2
,
Lesson 2
Under discussion
Hi, Am facing error as It looks like you made a typo or forgot to add 1000.How to correct it.
package com.codegym.task.task02.task0205; /* Pay raise */ public class Solution { public static void main(String[] args) { hackSalary(7000); } public static void hackSalary(int a) { //write your code here a=a+1000; System.out.println("Your salary is: "
13.01.2019
1380
views
3
comments
0
Wojtek
Level 23
Solec-Zdroj
Question about the task
In decreasing order
Java Syntax
,
Level 7
,
Lesson 12
Under discussion
What is wrong here?
help
14.01.2019
1878
views
7
comments
0
Wojtek
Level 23
Solec-Zdroj
Question about the task
R or L
Java Syntax
,
Level 7
,
Lesson 9
Under discussion
need help
output: lyre love love rose Why rose is in output?
11.01.2019
1678
views
3
comments
1
srikanth
Level 10
Bangalore
Under discussion
which statement in this code is not satisfying task conditions ?
{ public static void main(String[] args) throws Exception { //write your code here BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); String number=reader.readLine(); int num=Integer.parseInt(number);
17.01.2019
1156
views
1
comment
0
Dreni Mujaj
Level 7
Peja
Question about the task
Arithmetic mean
Java Syntax
,
Level 5
,
Lesson 5
Under discussion
Please help me.I'm stuck for hours
It can't compile.Its says 1)"cannot find symbol symbol: class BufferedReader location: class com.codegym.task.task05.task0507.Solution: Solution.java, line: 11, column: 8" 2)cannot find symbol symbol: class BufferedReader location: class com.codegym.task.task05.task0507.Solution: Solution.java, l
17.01.2019
1371
views
1
comment
0
Vijay Rangan
Level 5
Jakarta
Question about the task
Positive number
Java Syntax
,
Level 4
,
Lesson 7
Under discussion
cant compile
cant compile this program
30.11.2018
1293
views
5
comments
0
Arvind Prakhar
Level 7
Dhanbad
Question about the task
Longest string
Java Syntax
,
Level 7
,
Lesson 6
Archived
2 errors
My first two condition is not full filled .But why its not getting full filled instead i have initiated the ArrayList and took input from user.So why its showing error
22.12.2018
1715
views
3
comments
0
Varunkumar
Level 3
Chennai
Question about the task
Square of a number
Java Syntax
,
Level 1
,
Lesson 8
Archived
How to call a method in java??
https://codegym.cc/tasks/com.codegym.task.task01.task0127
16.01.2019
1323
views
2
comments
0
WatWat
Level 9
Vancouver
Question about the task
Shortest or longest
Java Syntax
,
Level 7
,
Lesson 6
Under discussion
Ran with correct output an no errors why is it not being verified
Not being verified. Please look at my code
14.10.2018
1470
views
3
comments
0
Rad
Level 8
Maidstone
Question about the task
Shortest or longest
Java Syntax
,
Level 7
,
Lesson 6
Under discussion
i need help
i did some mistakes in my code,please help me how to correct it
08.11.2018
1254
views
3
comments
0
Show more
1
...
348
349
350
351
352
...
371
Please enable JavaScript to continue using this application.