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
Java 25
All quests
All levels
Any status
Questions about tasks
Hot
Sawankumar
Level 1
Question about the task
Pay raise
Java Syntax
,
Level 2
,
Lesson 2
Resolved
what's wrong in this code..?
System.out.println("Your salary is: "+a+" dollars per month");
8/1/18
1915
views
5
comments
0
Arjun Kiruthivasan
Level 14
Chennai
Question about the task
Kind Emma and the summer holidays
Java Syntax
,
Level 8
,
Lesson 8
Under discussion
HELP ME??
GIVE ME A SOLUTION
9/20/18
2204
views
1
comment
0
saiteja velagandula
Level 2
Hyderabad
Under discussion
Can anyone explain this elaborately
Save a reference to the previously created Woman object in man.wife. Save a reference to the previously created Man object in a woman. husband (Hint: woman.husband = man). I didn't understand this.
9/20/18
1586
views
1
comment
0
Arjun Kiruthivasan
Level 14
Chennai
Question about the task
Make a family
Java Syntax
,
Level 8
,
Lesson 11
Under discussion
any one help me?
where am i mistaken?? pls show me a solution
9/20/18
1941
views
1
comment
0
Arjun Kiruthivasan
Level 14
Chennai
Question about the task
Checking the order
Java Syntax
,
Level 7
,
Lesson 9
Resolved
How to solve this?
How to solve this?
9/15/18
2112
views
1
comment
0
Arjun Kiruthivasan
Level 14
Chennai
Question about the task
R or L
Java Syntax
,
Level 7
,
Lesson 9
Resolved
how to overcome this problem?
how to overcome this problem?
9/15/18
2702
views
1
comment
0
DuesVultKek
Level 7
Jacksonville
Question about the task
Let's put together a rectangle
Java Syntax
,
Level 5
,
Lesson 7
Under discussion
Little help...
"- create a copy of another rectangle passed as an argument" - This is what I don't understand here so please kindly help me This statement applies to 4th initialize method only. Thanks.
9/18/18
2418
views
2
comments
0
WonderWoman
Level 8
Bangalore
Question about the task
Arithmetic mean
Java Syntax
,
Level 5
,
Lesson 5
Under discussion
All conditions except - "3. After entering -1, the program must correctly terminate."
The code apparently satisfies all conditions except "3. After entering -1, the program must correctly terminate." Though with "Run (without verification)", I get the required results for all the combinations listed..
9/17/18
1894
views
4
comments
0
Shahanshah Alam
Level 9
Mohali
Question about the task
Positive number
Java Syntax
,
Level 4
,
Lesson 7
Under discussion
help
what is wrong in this? help please
9/18/18
1587
views
4
comments
0
Khurram
Level 16
Lahore
Question about the task
Checking the order
Java Syntax
,
Level 7
,
Lesson 9
Resolved
Last condition is not verified. Can anyone please check what's wrong with the code
package com.codegym.task.task07.task0718; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; /* Checking the order */ public class Solution { public static void main(String[] args) throws IOException { //write your
9/15/18
1667
views
2
comments
0
Khurram
Level 16
Lahore
Question about the task
Crossing the road blindly
Java Syntax
,
Level 4
,
Lesson 4
Resolved
what seems to be the problem here?
i have copied the exact code and it runs perfectly fine in IntelliJ, but here it is not accepting the solution, can anyone suggest what the problem might be
9/8/18
2187
views
2
comments
0
Neha Anjum
Level 6
Hyderabad
Question about the task
Implement the fight method
Java Syntax
,
Level 5
,
Lesson 5
Resolved
Help please...
public class Cat { public String name; public int age; public int weight; public int strength; public static void main(String[] args) { Cat cat1 = new Cat(); cat1.age = 4; cat1.strength = 20; cat1.weight = 20; cat1.name = "Cat1";
9/18/18
2579
views
4
comments
0
DuesVultKek
Level 7
Jacksonville
Question about the task
Multiplication table
Java Syntax
,
Level 3
,
Lesson 6
Resolved
Help me please
The code is perfect except the lines printed are 11. Give my code a try (Don't verify it, instead run it) and you'll see what I mean. And if you do, there's a space above the 1 2 3 ... 9 10 which is somehow I don't know how to remove that one. Please let us help each other.
8/26/18
2079
views
4
comments
0
Sandeep
Level 3
Question about the task
Parenthetical brainteaser
Java Syntax
,
Level 3
,
Lesson 4
Resolved
can anybody help me ! Am getting output as 539
package com.codegym.task.task03.task0306; /* Parenthetical brainteaser */ public class Solution { public static void main(String[] args) { System.out.println((1+(2*3+4))*5+6*(7+8*9)+10); } }
8/15/18
2559
views
3
comments
0
Chinmay Sawant
Level 0
Mumbai
Question about the task
Bugs and features
Java Syntax
,
Level 0
,
Lesson 8
Resolved
How to solve these?
PLEASE help me out
8/13/18
2061
views
9
comments
0
Anonymous #297745
Level 3
Jaurian
Question about the task
Choose healthy food! Choose fruit!
Java Syntax
,
Level 1
,
Lesson 8
Archived
Need help
Please help me to solve this code System.out.println("Two roads diverged in a yellow wood,"); System.out.println("And sorry I could not travel both"); System.out.println("And be one traveler, long I stood"); System.out.print(" ");
9/14/18
1654
views
4
comments
0
Neha Anjum
Level 6
Hyderabad
Question about the task
Rule of the triangle
Java Syntax
,
Level 4
,
Lesson 4
Resolved
Why am i getting this error
import java.io.*; public class Solution { public static void main(String[] args) throws Exception { BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(System.in)); int a = Integer.parseInt(bufferedReader.readLine()); int b = Integer.parseInt(buffer
9/17/18
2049
views
9
comments
0
Manimegalai
Level 3
Kanchipuram
Question about the task
Hello, StarCraft!
Java Syntax
,
Level 3
,
Lesson 4
Under discussion
Whats wrong in my code
public class Solution { public static void main(String[] args) { Zerg z1=new Zerg(); z1.name="aa"; Zerg z2=new Zerg(); z2.name="aa"; Zerg z3=new Zerg(); z3.name="aa"; Zerg z4=new Zerg(); z4.name="aa"; Zerg z5=new Zerg();
9/17/18
2299
views
3
comments
0
sohaila
Level 2
Karachi
Under discussion
i cant find the error although the output text is same but cant meet the last condition. recommendation is typo error. conditions are:Write a program that displays "It's not a bug—it's a feature." Example output: It's not a bug—it's a feature. Requirements: 1. The program should output text. 2. T
package com.codegym.task.task01.task0106; /* Bugs and features */ public class Solution { public static void main(String[] args) { System.out.print("It's not a bug"-it's a feature."); } }
9/17/18
1590
views
3
comments
0
Anonymous #220266
Level 0
Hyderabad
Question about the task
No comments needed
Java Syntax
,
Level 0
,
Lesson 8
Under discussion
Help me to solve
It is right or wrong
8/27/18
1624
views
6
comments
0
Anonymous #260075
Level 2
Mumbai
Question about the task
Where does a Person come from?
Java Syntax
,
Level 2
,
Lesson 2
Under discussion
i didn't get it plz help.
public class Solution { public static void main(String[] args){ Person Person = new Person();//write your code here } public static class Person { String name; int age; int weight; int money;//write your code here
9/16/18
2166
views
1
comment
0
Anonymous #260075
Level 2
Mumbai
Question about the task
Display the square of a number
Java Syntax
,
Level 1
,
Lesson 3
Under discussion
how to solve this code.i didn't get output.plz reply.
public class Solution { public static int number = 25; public static void main(String[] args) { int number = (25); System.out.print(number*number); } }
9/7/18
1659
views
3
comments
0
Shahanshah Alam
Level 9
Mohali
Question about the task
Sorting three numbers
Java Syntax
,
Level 4
,
Lesson 6
Under discussion
help
what is wrong in this code
9/16/18
1751
views
4
comments
0
Madhu Prabha
Level 7
Gurgaon
Question about the task
Deep and pure love
Java Syntax
,
Level 3
,
Lesson 8
Resolved
Missing spaces
I'm not getting the output.Help please?
8/15/18
5324
views
2
comments
0
Ryon
Level 9
Manila
Question about the task
Shortest or longest
Java Syntax
,
Level 7
,
Lesson 6
Resolved
Not showing any output
package com.codegym.task.task07.task0712; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; /* Shortest or longest */ public class Solution { public static void main(String[] args) throws Exception { //write you
9/16/18
1618
views
1
comment
0
gery
Level 9
Islamabad
Under discussion
verfication failed but runs fine
BufferedReader b = new BufferedReader(new InputStreamReader(System.in)); int a = Integer.parseInt(b.readLine()); int b1 = Integer.parseInt(b.readLine()); if (a
9/14/18
1569
views
3
comments
0
Navaneeth H
Level 4
Canton
Question about the task
Where does a Person come from?
Java Syntax
,
Level 2
,
Lesson 2
Under discussion
Can we create two public class in the same Solution.java file.!!!
Can we create two public class in the same Solution.java file.!!!
9/12/18
1679
views
3
comments
0
Zubin Nair
Level 7
New Delhi
Question about the task
Task about algorithms
Java Syntax
,
Level 5
,
Lesson 12
Archived
Fourth requirement is not satisfied
Fourth requirement is not satisfied here What is the problem here ?? And the recommendation from the mentor was that I have used too many methods in the class but i have used only one method that is max What is the problem here ?? Pls reply asap
9/14/18
1781
views
3
comments
0
Vikas
Level 3
Delhi
Question about the task
As simple as 2+2
Java Syntax
,
Level 1
,
Lesson 8
Resolved
Java Syntax, Level 1, Lesson 8
now what i have 2 do i tried all methods but i'm not able to get answer plz help me to get answer.
7/31/18
2401
views
7
comments
0
mane
Level 2
Question about the task
Square of a number
Java Syntax
,
Level 1
,
Lesson 8
Archived
how to solve
how to solve
8/1/18
2074
views
12
comments
0
Show more
1
...
368
369
370
371
372
373
374
Please enable JavaScript to continue using this application.