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
Arko Sarkar
Level 8
Mumbai
Question about the task
Console-based piggy bank
Java Syntax
,
Level 5
,
Lesson 12
Under discussion
What is wrong here?
In this code, when I'm using == it gives "Error converting a number to a string (invalid format)" But when .equals is used it's working! Then what is the difference here between them? I understand from the lesson that one is reference comparision while other is value, and .equals() will verify the
29.08.2018
1600
views
2
comments
0
Collin M
Level 22
Germiston
Question about the task
Save the chess club
Java Core
,
Level 1
,
Lesson 11
Resolved
What's wrong with this code?
I think I did what is required but it seems i'm wrong but i can't figure out how.
23.08.2018
1612
views
3
comments
0
Arko Sarkar
Level 8
Mumbai
Question about the task
Task about algorithms
Java Syntax
,
Level 5
,
Lesson 12
Archived
What is the issue here?
It's giving me output 5 when I enter 5,1,2,3,4,5 (where first 5 is the size) Please help!
29.08.2018
1959
views
1
comment
0
Jeevan Singh
Level 3
Question about the task
Crazy eights
Java Syntax
,
Level 2
,
Lesson 5
Under discussion
i am frustated with thisn question
package com.codegym.task.task02.task0212; /* Crazy eights */ public class Solution { public static void main(String[] args) { //write your code here Cat cat9 ; cat9=new Cat(); Cat cat8; cat8 = new Cat(); Cat cat7; cat7 = new Cat();
22.08.2018
1791
views
3
comments
0
Pawan Harde
Level 4
Mumbai
Question about the task
Let's change the code
Java Syntax
,
Level 1
,
Lesson 4
Resolved
second requirement not fullfiled
stuck in the second reqirement....any recommandations..
28.08.2018
1433
views
5
comments
0
Vikas
Level 3
Delhi
Question about the task
Implement the print method
Java Syntax
,
Level 2
,
Lesson 1
Resolved
Copying c:data.txt into c:result.txt
how to run this code any1 can plz help me. it,s not working.
02.08.2018
2339
views
12
comments
0
Ronaldo M
Level 2
Chennai
Question about the task
2 + 3 = 5
Java Syntax
,
Level 0
,
Lesson 8
Under discussion
Where is my mistake?
I tried it out by commenting a line . But still my output cant be varied without disturbuing the System.out.print
23.08.2018
1486
views
2
comments
0
Pintu kumar
Level 8
motihari
Under discussion
varified correctly but error in running
package com.codegym.task.task03.task0319; /* Predictions */ import java.io.*; public class Solution { public static void main(String[] args) throws Exception { BufferedReader p=new BufferedReader(new InputStreamReader(System.in)); String name = p.readLine(); int n
24.08.2018
1600
views
2
comments
0
Shivani
Level 3
Rohtak
Question about the task
Uh... Happy New Year!
Java Syntax
,
Level 1
,
Lesson 4
Resolved
line 14 & 15
I am uncommenting the lines 14 & 15 for the expected results... but while verification it is breaching condition of not changing the code.... please help
28.07.2018
2744
views
9
comments
3
Guillain Oreste Ntango
Level 2
Durban
Question about the task
Display the square of a number
Java Syntax
,
Level 1
,
Lesson 3
Under discussion
need assistance! where is my mistake
hi guys, where is the error?/
27.08.2018
1425
views
2
comments
0
dummy account
Level 2
Makati
Under discussion
Task already been solved. I'm just curious to which of my two answer is the better solution.
package com.codegym.task.task02.task0205; /* Pay raise */ public class Solution { public static void main(String[] args) { salary(7000); } public static void salary(int a) { //write your code here //int pr = a + 1000; //System.out.println("Your salary
26.08.2018
1554
views
1
comment
0
Sawankumar
Level 4
Question about the task
Plan to conquer the world
Java Syntax
,
Level 3
,
Lesson 8
Resolved
Please help me...i totally irritated because of not displayed text must contain
guyzz anyone ..please give the solution or hint
06.08.2018
2004
views
6
comments
1
Priyanka
Level 4
Coimbatore
Question about the task
Plan to conquer the world
Java Syntax
,
Level 3
,
Lesson 8
Resolved
someone please help me with this. i've been stuck forever
I really dont know what is wrong with this code. Can someone help me out?
18.08.2018
1623
views
2
comments
0
Gonzalo Esteban Sosa
Level 3
Villa Gesell
Question about the task
Minimum of four numbers
Java Syntax
,
Level 2
,
Lesson 8
Under discussion
Help me please
Hi everyone! Somebody can help me!? Please, i´m stuck here. package com.codegym.task.task02.task0217; /* Minimum of four numbers */ public class Solution { public static int min(int a, int b, int c, int d) { int min3; if ((min1) <= c && (min1) <= d){
14.08.2018
1646
views
3
comments
0
Joyonta Saha
Level 31
Question about the task
Method quartet
Java Syntax
,
Level 8
,
Lesson 6
Resolved
task08.task0811 - Quartet of "Methods" // ADD AND REMOVE METHOD IS NOT VERIFYING NEED HELP
/ ADD AND REMOVE METHOD IS NOT VERIFYING NEED HELP
22.08.2018
2432
views
2
comments
0
ANIRBAN SANYAL
Level 4
Kolkata
Question about the task
Crazy eights
Java Syntax
,
Level 2
,
Lesson 5
Resolved
how to create this
can anyone help me with this ?
16.08.2018
2098
views
5
comments
0
Tumelo Mohlala
Level 34
Johannesburg
Question about the task
A name is a name
Java Syntax
,
Level 4
,
Lesson 16
Resolved
Please check if I have a typo in the output text, it keeps failing on the third test saying there is a typo in my output text.
System.out.println("My name is " + name + ".\nI was born on " + mm + "/" + dd + "/" + yyyy);
22.08.2018
1544
views
4
comments
0
Aryan Yadav
Level 4
bikaner
Question about the task
Where does a Person come from?
Java Syntax
,
Level 2
,
Lesson 2
Resolved
what mistake i am doing
what is my mistake
22.08.2018
1686
views
3
comments
0
Somya Gupta
Level 4
Vrindavan
Question about the task
Multiplication table
Java Syntax
,
Level 3
,
Lesson 6
Under discussion
plzzz
package com.codegym.task.task03.task0314; /* Multiplication table */ public class Solution { public static void main(String[] args) { int ans; for(int i=1;i<=10;i++) { System.out.println("\n "); for(int j=1;j<=10;j++)
22.08.2018
1986
views
2
comments
0
Anonymous #190878
Level 2
Chandigarh
Question about the task
Where does a Person come from?
Java Syntax
,
Level 2
,
Lesson 2
Under discussion
what is my problem here ?
package com.codegym.task.task02.task0202; /* Where does a Person come from? */ public class Solution { public static void main(String[] args) { Person p1 = new Person(); } public static class Person { String name; int weight, age, money; } }
22.08.2018
1511
views
1
comment
0
Amit Mishra
Level 2
Iowa City
Question about the task
Family relations
Java Syntax
,
Level 2
,
Lesson 2
Under discussion
need explaination.
what does public Man wife; means?
22.08.2018
1506
views
1
comment
0
Himanshu Pal
Level 3
Delhi
Question about the task
We solemnly publish and declare these variables...
Java Syntax
,
Level 1
,
Lesson 3
Resolved
what to do
what i do now
22.08.2018
1985
views
8
comments
0
Nehal Abubakar
Level 7
Karachi
Question about the task
Hello, StarCraft!
Java Syntax
,
Level 3
,
Lesson 4
Resolved
How can it be wrong
plzzz help me out
13.08.2018
2476
views
8
comments
0
Mithun
Level 1
Черкаси
Question about the task
I think being a programmer is cool
Java Syntax
,
Level 0
,
Lesson 3
Resolved
Why?
Help please, why constantly writes "The displayed text must match the task."?
25.07.2018
1918
views
5
comments
0
SAYAN SAMANTA
Level 10
Bangalore
Question about the task
Console-based piggy bank
Java Syntax
,
Level 5
,
Lesson 12
Under discussion
help me how to solve this?
package com.codegym.task.task05.task0529; import java.io.BufferedReader; import java.io.InputStreamReader; /* Console piggy bank */ public class Solution { public static void main(String[] args) throws Exception { BufferedReader reader = new BufferedReader(new InputStreamReader(Syst
20.08.2018
2114
views
3
comments
0
An Gelo
Level 18
Cebu
Question about the task
Shortest or longest
Java Syntax
,
Level 7
,
Lesson 6
Resolved
need sample output
Hi I understand the requirements for this program can someone give me example output or can someone explain in a simple term.
18.08.2018
2182
views
1
comment
0
pushkal kumar
Level 3
Karauli
Question about the task
Let's change the code
Java Syntax
,
Level 1
,
Lesson 4
Resolved
wht has to beprinted in fourth line
09.08.2018
1689
views
1
comment
0
Ridhi Rajgor
Level 6
Resolved
Steps for downloading plugins
I cannot understand second step, how to run IntelliJ IDEA ,there is no pop up of running this file,which folder should I navigate to and where am I supposed to navigate for files=>settings => plugins.PLEASE HELP
08.08.2018
1799
views
5
comments
0
Jestyl
Level 2
Manila
Question about the task
No comments needed
Java Syntax
,
Level 0
,
Lesson 8
Resolved
What's wrong with this ?
Its working and there's no errors when I chose run button instead of verify; is there any wrong with my codes?
04.08.2018
2332
views
5
comments
1
Vikas
Level 3
Delhi
Question about the task
Where does a Person come from?
Java Syntax
,
Level 2
,
Lesson 2
Resolved
plz help me fast
now what i have to do am going right or what types of mistakes in this code?
02.08.2018
2864
views
18
comments
0
Show more
1
...
367
368
369
370
Please enable JavaScript to continue using this application.