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
Aryan Yadav
Level 4
bikaner
Question about the task
Printing strings
Java Syntax
,
Level 3
,
Lesson 5
Under discussion
help
what mistake i am doing
9/10/18
1847
views
2
comments
0
Maria Habib
Level 5
Jhelum
Question about the task
Printing strings
Java Syntax
,
Level 3
,
Lesson 5
Under discussion
:(
why it shows error?
9/15/18
1373
views
3
comments
0
Maria Habib
Level 5
Jhelum
Question about the task
Printing strings
Java Syntax
,
Level 3
,
Lesson 5
Under discussion
;(
still showing error
9/15/18
1521
views
3
comments
0
Xuhaib
Level 7
Lahore
Question about the task
Creating cats
Java Syntax
,
Level 5
,
Lesson 9
Resolved
What's wrong?
what have i missed ?
11/2/18
1756
views
2
comments
0
Jacqueline Lim
Level 9
Makati
Question about the task
We don't need repeats
Java Syntax
,
Level 8
,
Lesson 8
Resolved
How???
What's the problem with my code?
11/1/18
2430
views
7
comments
0
Djami
Level 3
Algiers
Question about the task
Bugs and features
Java Syntax
,
Level 0
,
Lesson 8
Under discussion
The last condition !!
The last condition is not fulfilled in any case. 32 characters? How to solve this question?
11/2/18
1550
views
3
comments
0
anotherLearner
Level 18
Barcelona
Question about the task
Census
Java Syntax
,
Level 8
,
Lesson 8
Resolved
Solved but got a doubt
It is assumed that the key can not be repeated within a map, so how can we search for several equal last-names? I had to put all different last names to complete the exercise...
10/26/18
2048
views
1
comment
0
Tayyab Mubeen
Level 16
Lahore
Question about the task
We don't need repeats
Java Syntax
,
Level 8
,
Lesson 8
Resolved
how i can remove duplicates first name..???
any specific method t compare values of map please help
10/13/18
1898
views
3
comments
0
Harika Yantrapragada
Level 7
Hyderabad
Resolved
how can we differentiate b/w a constructor and a method?
how can we differentiate b/w a constructor and a method?
10/31/18
1734
views
2
comments
0
Vince Sesto
Level 10
Auckland
Question about the task
Adding
Java Syntax
,
Level 4
,
Lesson 16
Resolved
Unsure Why It Is Not Calculating Correctly?
I am getting the following when I try to get this code verified: "Be sure that the program calculates the amount correctly." When I run my program everything seems to match the conditions set by the instructor and everything calculates correctly...How do I get more information on what is needed her
10/25/18
2443
views
8
comments
0
Harika Yantrapragada
Level 7
Hyderabad
Question about the task
Plan to conquer the world
Java Syntax
,
Level 3
,
Lesson 8
Resolved
it says "Be sure that you haven't mixed up the order of reading in the name and number from the keyboard. Check the conditions." what's wrong with my code?
10/31/18
1858
views
22
comments
0
errorCode
Level 9
Makati
Question about the task
Let's make the code do something useful!
Java Syntax
,
Level 9
,
Lesson 11
Under discussion
Whats wrong with my code?
I think my logic is correct
10/31/18
1468
views
1
comment
0
Swati
Level 8
Pune
Question about the task
Plan to conquer the world
Java Syntax
,
Level 3
,
Lesson 8
Resolved
please help me in the task at earliest.
Giving me task failed to pass testing bcoz reason is -Carefully check the displayed text. It looks like you made a typo.and i m not getting the mistake.
10/26/18
1702
views
5
comments
0
Sindhura
Level 15
Delhi
Question about the task
Bridges
Java Core
,
Level 4
,
Lesson 8
Under discussion
Not verifying..Please help
package com.codegym.task.task14.task1409; /* Bridges */ public class Solution { public static void main(String[] args) { println(new WaterBridge()); println(new SuspensionBridge()); } public static Object println(Object o){ if (o instanceof WaterBridge){
10/20/18
1637
views
1
comment
0
Somya Gupta
Level 4
Vrindavan
Question about the task
Predictions
Java Syntax
,
Level 3
,
Lesson 8
Under discussion
plzz wats wrong
8/28/18
1613
views
2
comments
0
Austin
Level 3
Houston
Question about the task
Plan to conquer the world
Java Syntax
,
Level 3
,
Lesson 8
Under discussion
Is this a bug why I am failing or am I doing something wrong?
The program is perfectly working, I am not sure why it is not passing me on the last criteria...
10/30/18
1483
views
5
comments
0
kapil
Level 12
delhi
Question about the task
Remove and insert
Java Syntax
,
Level 7
,
Lesson 6
Resolved
my code is correct otherway but wrong another way>>>>>please help
for(int i = 0; i < 13; i++){ arr.add(0, arr.get(12)); //String d = arr.get(12); //arr.remove(12); //arr.add(0, d); } ......>>>> in above lines of code i used first statement inside loop and result was as per requirement......replacing of
10/30/18
1499
views
4
comments
0
Ravi Kumar
Level 5
Hyderabad
Question about the task
Plan to conquer the world
Java Syntax
,
Level 3
,
Lesson 8
Under discussion
query on order of data input
Enter the number and name from the keyboard. Display the following string: will take over the world in years. Mwa-ha-ha! Here's an example: Kevin will take over the world in 8 years. Mwa-ha-ha! The order in which the data is input matters a lot. ................ solution is worked for define ag
10/30/18
1493
views
2
comments
0
WonderWoman
Level 8
Bangalore
Question about the task
Name register
Java Syntax
,
Level 4
,
Lesson 2
Under discussion
My code hasn't qualified for Condition #5, but still compiled and ran successfully, completing the task.
My code hasn't qualified for Condition #5, but still compiled and ran successfully, completing the task. Please execute to see the output of the print lines. Unable to attach the code snippet, since the task has already been solved.
9/5/18
2172
views
5
comments
0
Md Sait
Level 4
Hyderabad
Under discussion
I forgot input process Logic and i am not able to understand it now, please help me
i am not able to understand the logic of these process, please help me to understand what these lines doing here step by step { InputStream c = System.in; Reader c1 = new InputStreamReader(c); BufferedReader bf = new BufferedReader(c1); name=bf.readLine();
10/29/18
1373
views
2
comments
2
Mohit Swain
Level 9
Bhubaneswar
Question about the task
Pay raise
Java Syntax
,
Level 2
,
Lesson 2
Under discussion
What is the diffrence? between the two plus signs?see gap and no gap, Code gym compiler is showing different colours of plus sign in both cases.
public class Main { public static void main(String[] args) { int a; System.out.println(a+1000); System.out.println(a + 1000); } }
10/28/18
1784
views
4
comments
0
nithya lmk
Level 4
Bangalore
Question about the task
Number of days in the year
Java Syntax
,
Level 4
,
Lesson 4
Under discussion
I cant seem to find out the error
public static void main(String[] args) throws Exception { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); String syr = reader.readLine(); int nyr = Integer.parseInt(syr); if( (nyr%4 == 0) && (nyr% 100 != 0)) {
8/28/18
1971
views
3
comments
0
Vijay Rangan
Level 5
Jakarta
Question about the task
Plan to conquer the world
Java Syntax
,
Level 3
,
Lesson 8
Resolved
it's not even getting execute
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 herez InputStream inputStream = System.in; Reader InputStreamReader = new
10/5/18
1667
views
6
comments
0
arindam mitra
Level 5
Gwalior
Question about the task
No comments needed
Java Syntax
,
Level 0
,
Lesson 8
Resolved
During compilation error occurs
public class Solution { public static void main(String[] args) { //int a,b; int x = 2; int y = 12; x = y - x ; y = y - x ; x = x + y ; // x = x * 3; // y = x + y; // x = y - x; // y = y - x; // int a = y;
10/24/18
1495
views
2
comments
0
arindam mitra
Level 5
Gwalior
Question about the task
My young friend
Java Syntax
,
Level 0
,
Lesson 4
Resolved
What is wrong in this code?
/* My young friend */ public class Solution { public static void main(String[] args) { //int x,y,z; int x = 3126; int y = 8; int z = x - y; // String s = "my friend's birth year is " + "z"; System.out.print("z"); } }
10/23/18
1876
views
2
comments
0
kapil
Level 12
delhi
Resolved
below code solution not being verified
Decent pay Using a loop to display the following phrase one hundred times: "I will never work for peanuts. Amigo" Display each value on a new line. Requirements: 1. The program should not read text from the keyboard. 2. The program should display text on the screen. 3. The program should display t
10/24/18
1417
views
1
comment
0
niki4etoo
Level 8
Ruse
Question about the task
Playing Javarella
Java Syntax
,
Level 7
,
Lesson 9
Under discussion
Where I made a mistake ?
When I run the code, it seems that the output is proper.
9/11/18
1615
views
5
comments
0
Neha Anjum
Level 6
Hyderabad
Question about the task
A name is a name
Java Syntax
,
Level 4
,
Lesson 16
Resolved
Whats the error for..??
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)); String name = reader.readLine(); int dd = Integer.parseInt(rea
9/17/18
2505
views
5
comments
0
Hackaholic5069
Level 2
Wasilla
Under discussion
why is this not read correctly by the compiler?
for task "display the square of a number" i run public class Solution { public static int number = 25; public static void main(String[] args) { int a = 5; int b = a * a ; System.out.println(b); } }; and it says that it is not a square... what is wrong here the
10/26/18
1369
views
1
comment
0
Usman Jutt
Level 4
Pir Mahal
Question about the task
Plan to conquer the world
Java Syntax
,
Level 3
,
Lesson 8
Under discussion
this is the answer when i run it.Plz help to solve it."null wil take over the world in null years. Mwa-ha-ha"?
help me
10/26/18
1856
views
7
comments
0
Show more
1
...
361
362
363
364
365
...
374
Please enable JavaScript to continue using this application.