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
hidden #10424566
Level 7
Question about the task
Pay raise
Java Syntax
,
Level 2
,
Lesson 2
Under discussion
Please help my code puts the right output but there is still an error
1/30/19
1252
views
2
comments
0
Dilip Sahu
Level 2
Mumbai
Under discussion
The value assigned to the variable age must be 15.
public class Solution { public static void main(String[] args) { String name = "I'm"; String name1 = "again!"; int ag = 2; int age = ag + 13; //int money = 500; //int weight = 70; System.out.println(name+" "+age+" "+name1); } }
1/30/19
1392
views
1
comment
0
anotherLearner
Level 18
Barcelona
Question about the task
Checking the order
Java Syntax
,
Level 7
,
Lesson 9
Resolved
Cannot verify 4th condition
Cannot verify 4th condition
10/22/18
1747
views
3
comments
0
Alex Balandinos
Level 18
Lusaka
Question about the task
Plan to conquer the world
Java Syntax
,
Level 3
,
Lesson 8
Resolved
Hey there tried another way still get the same error..can anyone help me find the solution
1/29/19
2148
views
3
comments
0
Ranjit Kumar Rajbanshi
Level 4
Kolkata
Question about the task
Don't feel like it? Do it anyway.
Java Syntax
,
Level 1
,
Lesson 8
Under discussion
i did this task all correct but its show u r failed
why?
1/30/19
1421
views
2
comments
0
Pawan Harde
Level 4
Mumbai
Question about the task
Cats in the Universe
Java Syntax
,
Level 4
,
Lesson 2
Resolved
cant get the last condition
need HELPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP
10/2/18
1808
views
5
comments
0
Alex Balandinos
Level 18
Lusaka
Question about the task
Plan to conquer the world
Java Syntax
,
Level 3
,
Lesson 8
Under discussion
Hi there. Am getting an error saying the display text should fully match the text given. Ive done everything right so far..just that 1 mistake am making any suggestions will be very helpful.
1/29/19
1457
views
5
comments
0
Jason Ahn
Level 4
Ottawa
Question about the task
Describing numbers
Java Syntax
,
Level 4
,
Lesson 7
Archived
Help please
I left 'else' statement blank. Even if I put 'else' statement and not write System.out.println, it won't work..Someone please help me thanks
1/24/19
1484
views
5
comments
0
Mukesh Vudayagiri
Level 10
Ferokh
Question about the task
Man and woman
Java Syntax
,
Level 5
,
Lesson 12
Resolved
What's wrong here. Help
I have created two objects of each type. But, the compiler is showing an error (Be sure that you are creating 2 Man objects.). What's wrong here. Someone, please help. with an explanation.
8/29/18
2364
views
4
comments
0
Tatoo Mindine
Level 4
Douala
Question about the task
Multiplication table
Java Syntax
,
Level 3
,
Lesson 6
Under discussion
link to study loops
i need a link on how to do loops please haven't touched that yet and i really want to complete this task using loops as suggested by Diego
1/26/19
1407
views
4
comments
0
Myles Thompson
Level 4
Richardson
Question about the task
Plan to conquer the world
Java Syntax
,
Level 3
,
Lesson 8
Resolved
Why does it keep telling me that "The displayed text must contain the entered name"?
It keeps saying "The displayed text must contain the entered name" and that I made a typo. But it does. When I type in the number and the name into the console, it prints out exactly what it said to print out. Does anyone know what I'm missing?
1/28/19
1810
views
4
comments
0
Mohit Swain
Level 9
Bhubaneswar
Question about the task
Cat relations
Java Syntax
,
Level 6
,
Lesson 11
Under discussion
feedback for my solutions
ok I had done this assignment but could not get the true meaning of the question. plz see my code in the link below and note . that i had taken the help of two more classes of Father and Mother, is it possible to do it without taking those classes? my code on cat relations
1/27/19
2010
views
1
comment
0
Joyonta Saha
Level 31
Question about the task
A scary fairy tale
Java Syntax
,
Level 9
,
Lesson 11
Under discussion
Would Anyone please explain the problem more clearly?
A scary fairy tale 1. Once there were five classes: red riding hood, grandmother, pie, woodcutter, and wolf. 2. Each class has 2 fields: ArrayList killed and ArrayList ate. 3. The necessary objects have been created (hood, grandmother, ...). 4. Arrange the relationships correctly according to who at
9/5/18
2111
views
4
comments
0
Sabine Meijran-Prins
Level 7
Enschede
Question about the task
Even and odd digits
Java Syntax
,
Level 6
,
Lesson 5
Under discussion
Any hint would be appreciated..
Any hint would be appreciated..
1/27/19
1575
views
3
comments
0
tony
Level 20
Nis
Question about the task
What's today's date?
Java Syntax
,
Level 9
,
Lesson 11
Under discussion
Pls help, what is going on here
When I run code in Eclipse or here in CodeGym everything works correct, but when I want to verify it, then CG displays an error.
12/31/18
1706
views
1
comment
1
Sindhura
Level 15
Delhi
Question about the task
Method in a try-catch
Java Syntax
,
Level 9
,
Lesson 11
Under discussion
whats wrong here..Its sating unreported exception.I am already keeping that part in try block
package com.codegym.task.task09.task0921; import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.List; import java.io.*; /* Method in a try-catch */ public class Solution { public static void main(String[] args) { readData();
10/9/18
1928
views
6
comments
0
Patson
Level 4
Kampala
Question about the task
Multiplication table
Java Syntax
,
Level 3
,
Lesson 6
Under discussion
how do i split the out put into individual lines? thank you
thank you
1/25/19
1755
views
5
comments
0
Daniel Njuguna
Level 14
Kiambu
Under discussion
Help...Please.
import java.io.BufferedReader; import java.io.InputStreamReader; /* Ascending numbers */ public class Solution { public static void main(String[] args) throws Exception { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); int[]list=new int[5];
1/26/19
1340
views
1
comment
0
Niket
Level 8
Kolkata
Question about the task
Fixing the mistakes of youth
Java Syntax
,
Level 6
,
Lesson 11
Resolved
Getting this error - "Error converting a string to a number (invalid format)."
What to do? I am completely clueless..!
1/25/19
1959
views
7
comments
0
Wojtek
Level 23
Solec-Zdroj
Question about the task
Task about algorithms
Java Syntax
,
Level 9
,
Lesson 11
Under discussion
What is wrong here?
need hint
1/25/19
2146
views
9
comments
0
Arjun Kiruthivasan
Level 14
Chennai
Question about the task
Catching custom exceptions
Java Syntax
,
Level 9
,
Lesson 8
Under discussion
WHERE AM I WRONG??
PLS HELP!!
9/23/18
1889
views
3
comments
0
Sameh Tantawy
Level 2
Rania
Question about the task
Square of a number
Java Syntax
,
Level 1
,
Lesson 8
Archived
What the problem when calling the method?
public class Solution { public static void main(String[] args) { int a = sqr(5); System.out.println("the square of 5" + a); } public static int sqr(int a) { return a * a; } } ================================================ What is the problem here … I call
1/26/19
1383
views
2
comments
0
Siddhartha De
Level 8
Kolkata
Question about the task
Maximum in an array
Java Syntax
,
Level 7
,
Lesson 4
Resolved
Run shows no error, but output is always 0
Run shows no error, but output is always 0
1/25/19
2382
views
2
comments
0
Dedcom
Level 19
Lahore
Question about the task
Functionality is not enough!
Java Syntax
,
Level 10
,
Lesson 11
Resolved
whats wrong with this code
wheres the problem
1/24/19
2071
views
2
comments
0
Aditya Sinha
Level 17
Bangalore
Question about the task
Vowels and consonants
Java Syntax
,
Level 9
,
Lesson 11
Under discussion
Passing in Intellij but failing in codegym
Not able to figure what is the issue.It is working fine for the testcase given in question
1/25/19
1694
views
3
comments
0
Azhar Iqbal
Level 18
Multan
Question about the task
Task about algorithms
Java Syntax
,
Level 5
,
Lesson 12
Archived
Very frustrating question still not verifying.
IS there any error. or Bug
10/10/18
1693
views
4
comments
0
Fairoz Logde
Level 14
Mumbai
Question about the task
Stack trace revisited
Java Syntax
,
Level 9
,
Lesson 2
Under discussion
Why is my code not Compiling
package com.codegym.task.task09.task0902; /* Stack trace revisited */ import java.lang.StackTraceElement; public class Solution { public static void main(String[] args) throws Exception { method1(); } public static String method1() { method2(); return Thread.
12/29/18
1850
views
2
comments
0
Marina
Level 18
Chisinau
Question about the task
Day of the week
Java Syntax
,
Level 4
,
Lesson 4
Resolved
Can someone help me please?
I can't understand why my program doesn't work.
1/24/19
1392
views
2
comments
0
Taiwo
Level 6
Abuja
Question about the task
Describing numbers
Java Syntax
,
Level 4
,
Lesson 7
Archived
Has anyone pass verification?
Has anyone pass verification for this task? I have been unable to due to one issue - If the number is even and has three digits, display "even three-digit number".
1/6/19
2147
views
4
comments
0
Mom Meme
Level 19
Boston
Question about the task
Maximum in an array
Java Syntax
,
Level 7
,
Lesson 4
Under discussion
This is dysfunctional for some reason.
The code doesn't get the minimum I'll either show the last number I typed or it'll just show0.
12/19/18
1804
views
5
comments
0
Show more
1
...
349
350
351
352
353
...
374
Please enable JavaScript to continue using this application.