CodeGym
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
  • 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
    • 1612views
    • 5comments
    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 thisIn 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
    • 1580views
    • 8comments
    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 kalvinimport 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
    • 1616views
    • 1comment
    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 validationNot able to pass validation
    • 15.03.2019
    • 1162views
    • 3comments
    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
    • 1358views
    • 1comment
    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 outputpublic 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
    • 1433views
    • 2comments
    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 SolutionDeclare 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
    • 1644views
    • 4comments
    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 wrongpls, help
    • 13.03.2019
    • 1256views
    • 2comments
    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
    • 1131views
    • 1comment
    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
    • 1508views
    • 1comment
    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
    • 1982views
    • 2comments
    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
    • 1043views
    • 1comment
    0
  • jesussnow37
    Level 11
    Choisy-le-Roi
    Question about the task Chain letter
    Java Syntax, Level 4, Lesson 13
    Resolved
    about my codei dont get it what am i doing wrong can anibody give me a tip or something thank you
    • 13.03.2019
    • 1424views
    • 1comment
    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 itEsperanto 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
    • 1656views
    • 2comments
    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
    • 1549views
    • 1comment
    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
    • 1899views
    • 2comments
    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
    • 2500views
    • 1comment
    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 itSaluton, 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
    • 1973views
    • 2comments
    0
  • LeSa
    Level 4
    Pozarevac
    Question about the task Crossing the road blindly
    Java Syntax, Level 4, Lesson 4
    Under discussion
    crosstown trafficcant solve HELP, but the code works! Is it solution to calculate like real time = 60 ??
    • 07.03.2019
    • 1260views
    • 4comments
    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
    • 1501views
    • 2comments
    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
    • 1504views
    • 6comments
    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
    • 2637views
    • 12comments
    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 verificationSeems to be an issue here: else if((a==b)&&(b==c)){ System.out.println(a+" "+b+" "+c); }
    • 11.03.2019
    • 1518views
    • 3comments
    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
    • 1761views
    • 2comments
    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
    • 1490views
    • 5comments
    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
    • 1393views
    • 1comment
    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
    • 1596views
    • 2comments
    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
    • 1862views
    • 6comments
    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 codeCan you please tell me what is wrong with me code?
    • 10.03.2019
    • 1301views
    • 1comment
    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
    • 1870views
    • 5comments
    1
  • 1
  • ...
  • 338
  • 339
  • 340
  • 341
  • 342
  • ...
  • 371
Learn
  • Registration
  • Java Course
  • Help with Tasks
  • Pricing
  • Java Syntax
Community
  • Users
  • Articles
  • Forum
  • Chat
  • Success Stories
  • Activity
  • Affiliate Program
Company
  • About us
  • Contacts
  • Reviews
  • Press Room
  • CodeGym for EDU
  • FAQ
  • Support
CodeGym CodeGym is an online course for learning Java programming from scratch. This course is a perfect way to master Java for beginners. It contains 1200+ tasks with instant verification and an essential scope of Java fundamentals theory. To help you succeed in education, we’ve implemented a set of motivational features: quizzes, coding projects, content about efficient learning, and a Java developer’s career.
Follow us
Interface language
English
Deutsch Español हिन्दी Français Português Polski বাংলা 简体中文 मराठी தமிழ் Italiano Bahasa Indonesia 繁體中文 Nederlands 日本語 한국어 Bulgarian Danish Hungarian Basa Jawa Malay Norwegian Romanian Swedish Telugu Thai Українська Filipino Turkish Azərbaycan Русский Vietnamese
Programmers Are Made, Not Born © 2025 CodeGym
MastercardVisa
Programmers Are Made, Not Born © 2025 CodeGym