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
AJITA SINGH
Level 2
Vishakhapatnam
Question about the task
Choose healthy food! Choose fruit!
Java Syntax
,
Level 1
,
Lesson 8
Archived
What is wrong in my code
System.out.println(String apple); System.out.println(String peach); This is what was set to me com/codegym/task/task01/task0135/Solution.java:15: error: ')' expected System.out.println(String apple); ^ com/codegym/task/task01/task0135/Solution.java:15: error: i
03.03.2019
1425
views
5
comments
0
Love Patel
Level 5
San Leandro
Question about the task
Minimum of three numbers
Java Syntax
,
Level 2
,
Lesson 8
Resolved
Whats wrong with this code?
This code works when I dont use the word else in the line 17. but it doesnt work when I type the word else in line 17 package com.codegym.task.task02.task0216; /* Minimum of three numbers */ public class Solution { public static int min(int a, int b, int c) { //write your code here
26.11.2018
1315
views
8
comments
0
SAYAN SAMANTA
Level 10
Bangalore
Question about the task
A programmer creates a person
Java Syntax
,
Level 5
,
Lesson 7
Under discussion
how to put a reference to a object?
package com.codegym.task.task05.task0514; /* A programmer creates a person */ public class Solution { public static void main(String[] args) { Person person1 = new Person(); Person person = person1; person1.initialize("Manika", 8); } static class P
19.08.2018
1812
views
7
comments
0
SWAPNIL SHUKLA
Level 7
Baddi
Question about the task
Console-based piggy bank
Java Syntax
,
Level 5
,
Lesson 12
Under discussion
Stuck pls help
Can't find the error
04.03.2019
1052
views
1
comment
0
Jorge Sebastián Orellana
Level 5
Quito
Question about the task
Display right away
Java Syntax
,
Level 3
,
Lesson 3
Under discussion
How to run the program in intellij.
I installed the plugin and everything works fine in intellij. But how can I just locally run the program to see screen outputs, etc, without sending the submission?
03.03.2019
1605
views
2
comments
0
Wojtek
Level 23
Solec-Zdroj
Question about the task
Ascending numbers
Java Syntax
,
Level 6
,
Lesson 11
Resolved
what is wrong here?
need help
08.01.2019
1461
views
8
comments
0
ARYAN
Level 4
Pune
Question about the task
Contract
Java Syntax
,
Level 1
,
Lesson 6
Resolved
not getting the last condition?
i have written it correctly but its showing
11.12.2018
1352
views
3
comments
0
Patson T Lawrence
Level 8
Kampala
Question about the task
Playing Javarella
Java Syntax
,
Level 7
,
Lesson 9
Under discussion
would this code survive in all scenarios?
what am i missing in this code...verification failing!!
01.03.2019
1223
views
3
comments
0
Dmitriy Konoplev
Level 11
Khabarovsk
Question about the task
Task about algorithms
Java Syntax
,
Level 9
,
Lesson 11
Under discussion
Everything is working fine but there is an error somewhere.
what's the problem?
01.03.2019
1518
views
1
comment
0
Akintilebo Olamilekan
Level 8
Osun State
Question about the task
Longest string
Java Syntax
,
Level 7
,
Lesson 6
Archived
help
public class Solution { private static List<String> strings; public static void main(String[] args) throws Exception { //write your code here strings = new ArrayList<String>(); int max = 0; Scanner sc = new Scanner(System.in); for (int y
10.02.2019
1682
views
3
comments
0
Dilip Sahu
Level 2
Mumbai
Question about the task
We don't need any extra lines
Java Syntax
,
Level 1
,
Lesson 7
Under discussion
help please
You need to comment out the unused variables.
30.01.2019
1076
views
4
comments
0
ROBERT KOSS
Level 3
Panama City
Question about the task
Don't feel like it? Do it anyway.
Java Syntax
,
Level 1
,
Lesson 8
Under discussion
i really do not get what im doing wrong
System.out.println("If you feel like it, do the task. If you don't feel like it, do it anyway."); System.out.println("If you feel like it, do the task. If you don't feel like it, do it anyway."); System.out.println("If you feel like it, do the task. If you don't feel like it, do it
28.02.2019
1026
views
1
comment
0
Tamanajahoshy
Level 1
Question about the task
Display the square of a number
Java Syntax
,
Level 1
,
Lesson 3
Resolved
constantly knocks an error ((
Tell me, please, what mistake I made, already googled, I can not understand. All is correct, except "The displayed text must be the square of the variable number.
27.07.2018
1674
views
19
comments
0
sowjanya sripada
Level 2
Hyderabad
Question about the task
Display the square of a number
Java Syntax
,
Level 1
,
Lesson 3
Resolved
whats wrong in my code.
18.09.2018
1285
views
6
comments
0
Musa
Level 4
LAGOS
Question about the task
Display the square of a number
Java Syntax
,
Level 1
,
Lesson 3
Under discussion
EXPLAIN THE LOGICAL ERROR FOR MR
package com.codegym.task.task01.task0140; /* Display the square of a number */ public class Solution { public static int number = 25; public static void main(String[] args) { //write your code here int numb=25; int square=numb*numb; System.out.println(squa
14.02.2019
1245
views
3
comments
0
Ghanashyam dahal
Level 2
Sapatgram
Question about the task
Display the square of a number
Java Syntax
,
Level 1
,
Lesson 3
Under discussion
task;
what is wrong with this? i got square of the number.
25.02.2019
1058
views
5
comments
0
Bhagyashri Bangale
Level 2
Pune
Question about the task
A variable on our screen
Java Syntax
,
Level 1
,
Lesson 3
Under discussion
i am getting this error
cannot find symbol symbol: variable s location: class com.codegym.task.task01.task0110.Solution: Solution.java, line: 12, column: 28 this error of this code String name="abc"; System.out.println(s);
27.09.2018
1186
views
5
comments
0
Nirake_
Level 8
Mumbai
Question about the task
A variable on our screen
Java Syntax
,
Level 1
,
Lesson 3
Under discussion
The only error I get is "the output text should be the value of the variables. "
package com.codegym.task.task01.task0110; /* A variable on our screen */ public class Solution { public static void main(String[] args) { String name="alex"; System.out.println("name= "+name); } } What is wrong in this solution.
16.10.2018
1551
views
5
comments
0
Vijay Rangan
Level 5
Jakarta
Question about the task
Adding
Java Syntax
,
Level 4
,
Lesson 16
Under discussion
i dont know what to do
can any one say what's wrong in here
03.12.2018
1173
views
3
comments
0
Mario
Level 7
Noida
Question about the task
Adding
Java Syntax
,
Level 4
,
Lesson 16
Under discussion
Please help !
please help me to solve this problem with some approach. I have tried many. Thanks in advance.
19.10.2018
1196
views
4
comments
0
hidden #10424566
Level 7
Question about the task
Adding
Java Syntax
,
Level 4
,
Lesson 16
Under discussion
Every time i try verifying my solution i get this: The program ran too long and was closed!
My validation won't just go through . It works for all the other challenges, but for this particular one it doesn't. In the meantime somebody please tell me if this code will get verified if the system works again.
08.02.2019
1144
views
4
comments
0
Wojtek
Level 23
Solec-Zdroj
Question about the task
One for all, all for one
Java Core
,
Level 6
,
Lesson 10
Under discussion
What is wrong in my code?
need help
27.02.2019
1151
views
3
comments
0
Imran Hashmi
Level 6
York
Question about the task
Predictions
Java Syntax
,
Level 3
,
Lesson 8
Resolved
Codegym plug in
Hi There, it looks like my IDEA plugin has stopped syncing with the code gym site, as an example I have successfully completed two tasks but when I look at the remaining tasks then they have not been removed from my list. Also the Codegym site is not in sync. Any ideas? Thanks,
25.02.2019
1025
views
3
comments
0
Andrew
Level 29
Seattle
Question about the task
Building a file
Java Core
,
Level 8
,
Lesson 11
Resolved
Tell me all the wrongs.
I've tested this successfully on my system and reviewed the other questions and responses. I believe I'm doing it right, but obviously not. My thoughts are that I'm not using the method(s) that it wants. Help?
25.02.2019
1565
views
28
comments
0
Ganesh
Level 1
Pune
Question about the task
2 + 3 = 5
Java Syntax
,
Level 0
,
Lesson 8
Under discussion
inefficient dark matter
after excuting succesfully can't complete
13.02.2019
1170
views
2
comments
0
shreya
Level 2
Question about the task
Where does a Person come from?
Java Syntax
,
Level 2
,
Lesson 2
Under discussion
i am not getting this code?
package com.codegym.task.task02.task0202; /* Where does a Person come from? */ public class Solution { public static void main(String[] args) { //write your code here Person person=new Person(); person.name; person.age; person.weight; person.mo
09.09.2018
1604
views
9
comments
0
Sheheryar
Level 7
Islamabad
Question about the task
Display today's date
Java Syntax
,
Level 5
,
Lesson 12
Under discussion
help me in this pls!!
i don't know how to display the date in the required format
05.02.2019
1475
views
7
comments
0
imran khan
Level 6
islamabad
Question about the task
Positive and negative numbers
Java Syntax
,
Level 4
,
Lesson 7
Under discussion
code is working fine in intellij
help
26.10.2018
1329
views
8
comments
0
Usama Ali
Level 2
Multan
Question about the task
Declare variables
Java Syntax
,
Level 0
,
Lesson 4
Under discussion
Can anyone help me in this task?
I have tried it so many times but could not complete so plz help me!
10.09.2018
1465
views
7
comments
0
hidden #10426395
Level 2
Question about the task
Declare variables
Java Syntax
,
Level 0
,
Lesson 4
Resolved
Unable to locate the error. Any thoughts guys?
Any advice would be highly appreciated
08.02.2019
1106
views
6
comments
0
Show more
1
...
334
335
336
337
338
...
366
Please enable JavaScript to continue using this application.