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
Shahanshah Alam
Level 9
Mohali
Question about the task
Checking the order
Java Syntax
,
Level 7
,
Lesson 9
Resolved
help please
its showing correct index but not at correct position
29.09.2018
2099
views
17
comments
0
Hamza Abbasi
Level 2
Jhelum
Under discussion
Display the circumference of a circle, which is calculated using the formula: C = 2 * pi * radius. The result is a fractional number (double).
Display the circumference of a circle, which is calculated using the formula: C = 2 * pi * radius. The result is a fractional number (double).
07.10.2018
1433
views
1
comment
0
Imtiyaz Ali
Level 7
Noida
Question about the task
Where does a Person come from?
Java Syntax
,
Level 2
,
Lesson 2
Under discussion
Confusion
1.Person person; person=new Person(); 2. Person person=new Person(); Ain't both 1 & 2 the same ?
07.10.2018
1375
views
5
comments
0
Anonymous #328859
Level 3
Karachi
Question about the task
Parenthetical brainteaser
Java Syntax
,
Level 3
,
Lesson 4
Resolved
Confussed
I am given this code public class Solution { public static void main(String[] args) { System.out.println((2 * 3) + 4 * 5 + (6 * 7)); } } and I have to make it 382. Can Someone help me??
22.09.2018
1755
views
1
comment
0
shahryar
Level 2
Mandi Bahauddin
Question about the task
No comments needed
Java Syntax
,
Level 0
,
Lesson 8
Under discussion
I don't understand it how I can do it my answer is correct but the last condition is not verifing.which is You need to uncomment the necessary lines and leave the remaining lines unchanged.
package com.codegym.task.task01.task0107; /* No comments needed */ public class Solution { public static void main(String[] args) { int x = 2; int y = 12; x = x * 3; y = x + y; x = y - x; y = y - x; y = y -4; System.out.println(x);
26.09.2018
2557
views
6
comments
0
Henrik Krogsholm
Level 16
Copenhagen
Under discussion
no input possible
package com.codegym.task.task03.task0318; /* Plan to conquer the world */ 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));
06.10.2018
1396
views
5
comments
0
gery
Level 9
Islamabad
Question about the task
More Sam-I-Am
Java Syntax
,
Level 7
,
Lesson 9
Resolved
how to add string to the end of list
i did multiple attempts to solve it but i get result which just run but unable to verify public static void main(String[] args) throws Exception { //write your code here ArrayList s = new ArrayList(); s.add("Sam"); s.add("I"); s.add("Am");
22.09.2018
2237
views
11
comments
0
vajs2017
Level 2
Seoul
Question about the task
No comments needed
Java Syntax
,
Level 0
,
Lesson 8
Resolved
How to solve this tricky tasks
Every time I verify this code. The condition says that this is wrong. I need help.
02.10.2018
1521
views
4
comments
0
SP
Level 1
Nagpur
Question about the task
No comments needed
Java Syntax
,
Level 0
,
Lesson 8
Under discussion
check fault in code
what are mistakes in code?
01.10.2018
1346
views
2
comments
0
Riya
Level 8
Karnal
Question about the task
Red scare
Java Syntax
,
Level 3
,
Lesson 4
Resolved
please suggest how to code
which format to use
05.09.2018
1758
views
6
comments
0
FASIH
Level 4
LAHORE
Under discussion
need help in understanding the meaning of this line
"The Object class's standard toString() method returns a string consisting of the class name and the object's memory address (in hexadecimal form)."
06.10.2018
1482
views
3
comments
0
Srividya
Level 3
Bangalore
Question about the task
Square of a number
Java Syntax
,
Level 1
,
Lesson 8
Archived
Write a program that displays the square of 5 on the screen.
Hi, Below is the code I could write for the task (task01.task0127-Square of a number). I have two errors displayed, 1> The main method should display the result of the sqr method. 2> The displayed text must match the task conditions. So, kindly help me with the solution. Thank You.
25.09.2018
2387
views
3
comments
0
PRADYUMNA HEGDE
Level 2
SHIVAMOGGA
Question about the task
Display the square of a number
Java Syntax
,
Level 1
,
Lesson 3
Under discussion
I cant able to identify the mistakes. Please help me
public class Solution { public static int number = 5; public static void main(String[] args) { //write your code here int number = 5; number = (number * number); System.out.print(number); } }
05.10.2018
1385
views
1
comment
0
WatWat
Level 9
Vancouver
Question about the task
Minimum of four numbers
Java Syntax
,
Level 2
,
Lesson 8
Under discussion
Finished task - but need clarification on something.
There are 2 methods called min - so how does main know which one to use for the final output? Is it the order they are written? Its confusing that there can be 2 methods of the same name.
02.10.2018
1480
views
3
comments
0
Shahanshah Alam
Level 9
Mohali
Question about the task
Cat relations
Java Syntax
,
Level 6
,
Lesson 11
Under discussion
help please...what cause wrong output
wrong output
26.09.2018
2137
views
19
comments
0
Srividya
Level 3
Bangalore
Question about the task
Minimum of three numbers
Java Syntax
,
Level 2
,
Lesson 8
Resolved
Minimum of three numbers
Please help with resolving the ... "The min method must return the minimum of the numbers a, b, and c." error. Thank You.
03.10.2018
2679
views
2
comments
0
Manjunath Deva
Level 5
Bangalore
Under discussion
i'm not getting this please help me to overcome.
package com.codegym.task.task05.task0521; /* Calling a constructor from a constructor */ public class Circle { public double x; public double y; public double radius; public Circle(double x, double y, double radius) { this.x = x; this.y = y; this.radius
04.10.2018
1307
views
2
comments
0
Yusra Ansari
Level 9
Karachi
Question about the task
Choose healthy food! Choose fruit!
Java Syntax
,
Level 1
,
Lesson 8
Archived
Throwing error Unable to resolve
Unable to resolve my last error
10.09.2018
1374
views
5
comments
0
chandana
Level 1
Southfield
Question about the task
I think being a programmer is cool
Java Syntax
,
Level 0
,
Lesson 3
Under discussion
No result
i did not get the result for my first task, its showing some error, please help me understand my mistake
03.10.2018
1445
views
4
comments
0
Nehal Abubakar
Level 7
Karachi
Question about the task
Lonely arrays interact
Java Syntax
,
Level 7
,
Lesson 4
Archived
it's giving an error in x.length. Help me out plzzzzz
package com.codegym.task.task07.task0703; import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.Scanner; import java.lang.String; /* Lonely arrays interact */ public class Solution { public static void main(String[] args) throws Exception { //write your c
03.10.2018
1604
views
3
comments
0
WonderWoman
Level 8
Bangalore
Question about the task
Crossing the road blindly
Java Syntax
,
Level 4
,
Lesson 4
Resolved
What is wrong with the code?
What is wrong with the code? Is Java 8 code acceptable here?
10.09.2018
2017
views
7
comments
0
MARIO
Level 4
Rosario
Under discussion
I think something is wrong
John Squirrels told me that I have to leave my question here, so I'm doing that: Hi. I think something is wrong in https://codegym.cc/quests/lectures/questsyntax.level04.lecture04 because I've tried a lot of possibilities and never failed. But when I want to verify, an apparent error happen. Th
02.10.2018
1553
views
2
comments
0
manoj deo
Level 3
Jakarta
Question about the task
Predictions
Java Syntax
,
Level 3
,
Lesson 8
Under discussion
??
why??
01.10.2018
1553
views
2
comments
0
iqbalhussain
Level 22
Peshawar
Question about the task
Let's count
Java Core
,
Level 7
,
Lesson 10
Under discussion
Please Help
I did'nt understand which method should use in Solution class for waiting until the thread ends. Should I use join() method or any other method?
03.10.2018
1611
views
1
comment
0
Samir
Level 4
Mumbai
Question about the task
Plan to conquer the world
Java Syntax
,
Level 3
,
Lesson 8
Resolved
Unable to identify the mistake , please help .
package com.codegym.task.task03.task0318; /* Plan to conquer the world */ import java.io.BufferedReader; import java.io.InputStreamReader; public class Solution { public static void main(String[] args) throws Exception { //write your code here BufferedReader reader = new Bu
10.09.2018
1796
views
3
comments
0
Ankush Rajput
Level 25
Bhopal
Question about the task
Counting commas
Java Core
,
Level 8
,
Lesson 5
Resolved
help
Closing all streams still it is showing "The stream used to read the file must be closed".
17.09.2018
1802
views
4
comments
0
Sindhura
Level 15
Delhi
Question about the task
Display numbers in reverse order
Java Syntax
,
Level 7
,
Lesson 12
Under discussion
whats wrong with this?
package com.codegym.task.task07.task0719; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; /* Display numbers in reverse order Enter 10 numbers from the keyboard and put them in a list. Display them in reverse order. Each ele
03.10.2018
1675
views
2
comments
0
Srividya
Level 3
Bangalore
Question about the task
Pay raise
Java Syntax
,
Level 2
,
Lesson 2
Resolved
Pay Raise
Hi, I tried, 1> a=(a+1000); System.out.println("Your salary is: (a) dollars per month."); 2> System.out.println("Your salary is: (a+1000) dollars per month."); 3> a=(a+1000); System.out.println("Your salary is:" +a+ "dollars per month."); it is incorrect, so how shou
28.09.2018
2831
views
4
comments
0
Mihai Hurezanu
Level 2
Venlo
Under discussion
Level 2 lesson 1
Ok, so I get that: public static void print(String s) defines public class Solution { public static void main(String[] args) { print("Java is easy to learn!"); print("Java opens many opportunities!"); } as String s. My question is, how could I without having learned how
02.10.2018
1341
views
1
comment
0
Sam
Level 2
Delhi
Question about the task
Crazy eights
Java Syntax
,
Level 2
,
Lesson 5
Resolved
This is frustrating ..how do i get over it?
Still says; You initialized too few variables. What's the problem in this code? i need a hint!
20.08.2018
2198
views
4
comments
0
Show more
1
...
362
363
364
365
366
...
371
Please enable JavaScript to continue using this application.