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
All quests
All levels
Any status
Questions about tasks
Hot
Anonymous #10428383
Level 12
Seattle
Question about the task
Plan to conquer the world
Java Syntax
,
Level 3
,
Lesson 8
Under discussion
why IntelliJ or CodeGym IDE do not hold/accept the imput command line ? Its 100% tested correctly on cmd windows w/ notepad.
// all 3 samples are tested 100% right .. import java.io.*; //import java.util.Scanner; public class Console1{ public static void main(String[] args) throws Exception { /* Scanner scanner = new Scanner(System.in); System.out.print("Enter a name: "); String name = scanner.nextLine();
03.03.2019
1612
views
5
comments
0
Milan
Level 15
Veliko Srediste
Question about the task
Closest to 10
Java Syntax
,
Level 4
,
Lesson 4
Resolved
Everything is OK but Verify does not confirm this
In conditions say: Write the displayClosestToTen method. The method should display the argument that is nearest to 10. For example, given the numbers 8 and 11, 11 is closest to ten. If both numbers are equally close to 10, then display either of them. I wrote the code for the underlined part ( verif
26.02.2019
1580
views
8
comments
0
past cham
Level 6
Delhi
Question about the task
Plan to conquer the world
Java Syntax
,
Level 3
,
Lesson 8
Under discussion
how to print kalvin
import java.io.*; import java.util.*; public class Solution { public static void main(String[] args) throws Exception { //write your code here Scanner ob = new Scanner(System.in); int age = ob.nextInt(); String name = ob.nextLine();
15.03.2019
1616
views
1
comment
0
leo yorokobi
Level 19
Bangalore
Question about the task
User, loser, coder and programmer
Java Core
,
Level 4
,
Lesson 8
Under discussion
Not able to pass validation
Not able to pass validation
15.03.2019
1162
views
3
comments
0
Wojtek
Level 23
Solec-Zdroj
Question about the task
Spaces
Java Core
,
Level 8
,
Lesson 11
Under discussion
What is wrong here?
need help
15.03.2019
1358
views
1
comment
0
Muthu Raghavendra
Level 2
Mumbai
Question about the task
A few more corrections
Java Syntax
,
Level 1
,
Lesson 4
Under discussion
Im not able to get the desired output
public class Solution { public static void main(String[] args) { String s1 = "\"Coding"; String s2 = "in"; String s3 = "Java\"."; System.out.println(s1 + " " + s2 + " " + s3); } }
09.03.2019
1433
views
2
comments
0
Nikit Kumar
Level 2
Bangalore
Question about the task
We solemnly publish and declare these variables...
Java Syntax
,
Level 1
,
Lesson 3
Under discussion
Need Solution
Declare int variables called a and b. In the same line in which the variables are declared, immediately assign them different values. The values can be any integers. Couldn't understand. Please provide solution for this task
16.11.2018
1644
views
4
comments
0
tony
Level 20
Nis
Question about the task
Three methods and a maximum
Java Core
,
Level 2
,
Lesson 4
Resolved
What I have done wrong
pls, help
13.03.2019
1256
views
2
comments
0
Serhii Yevtushok
Level 17
Kharkov
Question about the task
Remove and insert
Java Syntax
,
Level 7
,
Lesson 6
Under discussion
What's wrong? Help me please!
5
14.03.2019
1131
views
1
comment
0
Supriya Mishra
Level 10
Bangalore
Under discussion
Whenever trying new lesson my points are decreasing is it supposed to be ?
Whenever trying new lesson my points are decreasing is it supposed to be ?
14.03.2019
1508
views
1
comment
0
Sam Hemadi
Level 2
Den Haag
Question about the task
Family relations
Java Syntax
,
Level 2
,
Lesson 2
Resolved
What is wrong with my solution.
package com.codegym.task.task02.task0204; /* Family relations */ public class Solution { public static void main(String[] args) { //write your code here Man man = new man(); Woman woman = new woman(); woman.husband = man; man.wife = woman;
13.03.2019
1982
views
2
comments
0
shilpa keshri
Level 15
Mumbai
Question about the task
Playing Javarella
Java Syntax
,
Level 7
,
Lesson 9
Under discussion
Whats the mistake.
Why my two condition's are notpassing????
14.03.2019
1043
views
1
comment
0
jesussnow37
Level 11
Choisy-le-Roi
Question about the task
Chain letter
Java Syntax
,
Level 4
,
Lesson 13
Resolved
about my code
i dont get it what am i doing wrong can anibody give me a tip or something thank you
13.03.2019
1424
views
1
comment
0
Kisszol
Level 15
Toeroekbalint
Question about the task
Min and max in arrays
Java Syntax
,
Level 7
,
Lesson 12
Resolved
Programo funkcias bone sed la sistemo ne akceptas gxin. Program works well, but the System does not accept it
Esperanto Kial la sistemo ne akceptas mian solvon ? Gxi funkcias bone. English: Why the system does not accept my solution ? It works fine.
13.03.2019
1656
views
2
comments
0
Nitin
Level 5
Question about the task
A name is a name
Java Syntax
,
Level 4
,
Lesson 16
Resolved
The programm is correct but it is showing Typo error?
13.03.2019
1549
views
1
comment
0
Kisszol
Level 15
Toeroekbalint
Question about the task
Shuffled just in time
Java Syntax
,
Level 7
,
Lesson 12
Resolved
Funkcias bone sed sistemo ne akceptas gxin ! Works correctly but system does not accept it !
Globalo Esperanto : Saluton ! Mia programo funkcias bone, sed la sistemo ne akceptas gxin, kaj mi ne scias kial. Cxu vi havas ideon pri tio? local English: Hi ! Mi program works well, but have system errors and i don't know why. Do you have any idea ?
12.03.2019
1899
views
2
comments
0
Nastya Varennikova
Level 11
Sumy
Question about the task
Somehow average
Java Syntax
,
Level 4
,
Lesson 16
Resolved
The program should display the middle number of the three numbers. RECOMMENDATION FROM YOUR MENTOR Test the program with the numbers 3, 2, and 1. Expected output: 2
What the error?
11.03.2019
2500
views
1
comment
0
Kisszol
Level 15
Toeroekbalint
Question about the task
Crossing the road blindly
Java Syntax
,
Level 4
,
Lesson 4
Resolved
Esperanto -> Mi testis kaj funkciis, sed la programo ne akceptas gxin , english -> I tested and works but the program does not accept it
Saluton, Esperanto ->Mi testis la programon kaj gxi funkcias, sed la programo ne akceptas gxin. Mi ne scias kial. Bovolu helpu min. English -> I tested my program it works, but the program does not accept it and I don't know why. Please help me. One language above all -> Esperanto.
22.02.2019
1973
views
2
comments
0
LeSa
Level 4
Pozarevac
Question about the task
Crossing the road blindly
Java Syntax
,
Level 4
,
Lesson 4
Under discussion
crosstown traffic
cant solve HELP, but the code works! Is it solution to calculate like real time = 60 ??
07.03.2019
1260
views
4
comments
0
hidden #10426237
Level 7
Question about the task
Describing numbers
Java Syntax
,
Level 4
,
Lesson 7
Archived
Last condition is not satisfying.
HELP NEDDED.
24.02.2019
1501
views
2
comments
0
Joy Majumdar
Level 16
Kolkata
Question about the task
Only for the rich
Java Syntax
,
Level 8
,
Lesson 8
Resolved
What is wrong here ?
Please show
08.03.2019
1504
views
6
comments
0
Anwaar ul haq
Level 6
Islamabad
Question about the task
Product of 10 numbers
Java Syntax
,
Level 3
,
Lesson 4
Resolved
Confused !
I'm getting this 362880 that is correct as I googled it. but condition says ain't right as it is not more than three million. Any suggestions?
24.09.2018
2637
views
12
comments
0
Jeff Jeffy
Level 15
Irvine
Question about the task
Do we have a pair?
Java Syntax
,
Level 4
,
Lesson 4
Resolved
Logic should be correct, but failing verification
Seems to be an issue here: else if((a==b)&&(b==c)){ System.out.println(a+" "+b+" "+c); }
11.03.2019
1518
views
3
comments
0
Abdullah Cevizli
Level 12
Gebze
Question about the task
A programmer creates a person
Java Syntax
,
Level 5
,
Lesson 7
Resolved
what is wrong with that ?
probably i didnt understand putting reference
18.01.2019
1761
views
2
comments
1
Adeleye Yusuff Adewuyi
Level 1
Brooklyn
Question about the task
Square of a number
Java Syntax
,
Level 1
,
Lesson 8
Archived
I need someone to help me solve this coding challenge.
Square of a number Write a program that displays the square of 5 on the screen. Requirements: 1. The program should output text. 2. The main method should call the sqr method with 5 as an argument. 3. The main method should display the result of the sqr method. 4. Don't change the sqr method. 5.
20.01.2019
1490
views
5
comments
0
Jeff Jeffy
Level 15
Irvine
Question about the task
Rule of the triangle
Java Syntax
,
Level 4
,
Lesson 4
Resolved
Pretty sure my math is right
09.03.2019
1393
views
1
comment
0
Clau Dia
Level 24
Mendoza
Question about the task
Threads and bytes
Java Core
,
Level 8
,
Lesson 11
Under discussion
Where should I close the FileInputStream?
Hi! The last condition does not validate even if I close the FileInputStream in line 52. I also tried closing it in the while loop of the main method. I wrote "if (rd.fis != null) { rd.fis.close(); }" after I added data to my map, but that didn't work either. Any suggestions for solving this task?
23.02.2019
1596
views
2
comments
0
Hashirama
Level 26
Port-Harcourt
Question about the task
Tracking changes
Java Core
,
Level 9
,
Lesson 11
Resolved
Okay so I've understood the program enough to write something, but I don't understand why....?
Uncomment lines 23, 60 and 61 to test the program and see. Maybe you could find where I got it wrong. Recommendation from the mentor was: Be sure that the lines list has the REMOVED label with the required lines in the correct places.
06.03.2019
1862
views
6
comments
2
Andrei Stratu
Level 18
Iasi
Question about the task
Task about algorithms
Java Syntax
,
Level 5
,
Lesson 12
Archived
What is wrong with my code
Can you please tell me what is wrong with me code?
10.03.2019
1301
views
1
comment
0
arvindsid
Level 10
Chennai
Question about the task
Cat and Dog objects: 50,000 each
Java Syntax
,
Level 6
,
Lesson 5
Under discussion
How to resolve the "Time out program ran too long" error
need help in resolving the timeout program ran too long error"
16.09.2018
1870
views
5
comments
1
Show more
1
...
338
339
340
341
342
...
371
Please enable JavaScript to continue using this application.