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
  • Stephen Haokip
    Level 8
    imphal
    Question about the task Do we have a pair?
    Java Syntax, Level 4, Lesson 4
    Under discussion
    plis help me with the fourth conditioni m pretty sure its right. but it didnt pass the testing
    • 6/1/20
    • 597views
    • 2comments
    0
  • Jhoal
    Level 22
    Berlín
    Question about the task Closest to 10
    Java Syntax, Level 4, Lesson 4
    Under discussion
    helpwhat I'm doing wrong? I'm having problem with the last requirement
    • 6/2/20
    • 475views
    • 2comments
    0
  • Serg
    Level 23
    Tyumen
    Question about the task Even and odd digits
    Java Syntax, Level 6, Lesson 5
    Under discussion
    How to fix the error?How to fix the error? package com.codegym.task.task06.task0606; import java.io.*; import java.util.Scanner; public class Solution { public static int even; public static int odd; public static void main(String[] args)throws Exception { Scanner in=new Scanner(System
    • 5/18/19
    • 1552views
    • 6comments
    0
  • Angel Stefan Arjoca
    Level 26
    Bucharest
    Question about the task Kind Emma and the summer holidays
    Java Syntax, Level 8, Lesson 8
    Resolved
    Date type, but String? I don't have any idea how to continue! How i must code to use the Data type in if(condition) to eliminate the 6, 7 and 8 month? 😞
    • 6/1/20
    • 799views
    • 2comments
    0
  • Swati
    Level 8
    Pune
    Question about the task Checking the order
    Java Syntax, Level 7, Lesson 9
    Resolved
    verification errorI am trying to display index.still giving verification error.please help.
    • 1/2/19
    • 2085views
    • 5comments
    1
  • Anthony Chalk
    Level 30
    London
    Question about the task Inverted words
    Java Multithreading, Level 2, Lesson 9
    Resolved
    Please helpWorks with the task example as well as with repeated pairs, not sure why it's failing
    • 5/31/20
    • 701views
    • 2comments
    0
  • Alban
    Level 14
    Kukes
    Question about the task Constructor
    Java Syntax, Level 5, Lesson 9
    Under discussion
    helpp please!Please help; can someone to give me more detailed information
    • 5/18/20
    • 1050views
    • 5comments
    0
  • dhanush
    Level 30
    Chennai
    Question about the task Task about algorithms
    Java Syntax, Level 5, Lesson 12
    Resolved
    helpcan anyone explain this concept and a solution for my problem I can't understand
    • 6/1/20
    • 801views
    • 2comments
    0
  • Martzehh
    Level 9
    Ottawa
    Question about the task Task about algorithms
    Java Syntax, Level 5, Lesson 12
    Resolved
    So what am I missing?My code absolutely works. I've tested this a dozen times with both negative and positive numbers. Copy and paste this into intelliJ and try it for yourself. Why isn't the 5th condition being satisfied?
    • 6/1/20
    • 522views
    • 2comments
    0
  • Dinesh
    Level 7
    Delhi
    Question about the task Rule of the triangle
    Java Syntax, Level 4, Lesson 4
    Under discussion
    What are the key differences in between (logical AND & short circuit AND &&) ( logical OR | and short circuit ||) and how they are working with respect to my programimport java.util.Scanner; public class Solution { public static void main(String[] args) throws Exception { //write your code here Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); int c = sc.nextInt(); if(a< (b+c
    • 6/1/20
    • 564views
    • 1comment
    0
  • Stephen Haokip
    Level 8
    imphal
    Question about the task Crossing the road blindly
    Java Syntax, Level 4, Lesson 4
    Under discussion
    guys the last two conditions are not satisfyplease any help or comment will be much appreciated. thank you
    • 6/1/20
    • 699views
    • 2comments
    0
  • Jannessa Markovich
    Level 8
    Orlando
    Question about the task StringHelper class
    Java Syntax, Level 6, Lesson 8
    Under discussion
    Having a hard time with this one. Can't figure out why the last two tasks aren't accepting it. It prints the words on repeat but I am missing something according to the last list.
    • 6/1/20
    • 439views
    • 1comment
    0
  • Stephen Haokip
    Level 8
    imphal
    Question about the task Crossing the road blindly
    Java Syntax, Level 4, Lesson 4
    Under discussion
    guys i need helpwhat is wrong here... first two conditions are met. but the last 3 conditions are not
    • 6/1/20
    • 437views
    • 2comments
    0
  • Denis
    Level 22
    Kharkiv
    Question about the task Be gone, all that is unnecessary!
    Java Core, Level 5, Lesson 4
    Under discussion
    what is wrongpls help
    • 6/26/19
    • 1401views
    • 3comments
    1
  • Hania
    Level 4
    Warsaw
    Question about the task Escaping characters
    Java Syntax, Level 3, Lesson 6
    Under discussion
    Why isn't it working?package com.codegym.task.task03.task0316; /* Escaping characters */ public class Solution { public static void main(String[] args) { System.out.print("This is a Windows path:"); System.out.print(" \"C:\\Program"); System.out.print("Files\\Java\\jdk1.8.0_172\\bin\"\n");
    • 5/20/20
    • 700views
    • 2comments
    0
  • Henry
    Level 6
    Stuttgart
    Question about the task Create a Rectangle class
    Java Syntax, Level 5, Lesson 9
    Under discussion
    What am i supposed to do?I do not understand what is expected of me to do.I cant paint a picture in my head to even think of a solution. How many constructor am i suppose to create? Am i supposed to create a copy constructor and pass Rectangle as an argument? I do not understand what it means that the class must have at le
    • 6/1/20
    • 546views
    • 1comment
    0
  • Nehal Abubakar
    Level 7
    Karachi
    Question about the task Even to the moon!
    Java Syntax, Level 2, Lesson 8
    Resolved
    I'm right but it's saying that you are wrongPlzzzz help me out with the formula only that am i putting the formula wrong or is there something else.
    • 8/9/18
    • 3895views
    • 16comments
    0
  • Kritika Kumari
    Level 11
    Mumbai
    Question about the task HashMap of 10 pairs
    Java Syntax, Level 8, Lesson 3
    Under discussion
    Whats the error?The program is showing correct output but not fulfilling 3rd condition.What is the error in the program?
    • 4/24/20
    • 1201views
    • 3comments
    0
  • dhanush
    Level 30
    Chennai
    Question about the task Man and woman
    Java Syntax, Level 5, Lesson 12
    Resolved
    helpdonno what's worng with this code it looks everything is fine but some error occurs :(
    • 5/31/20
    • 634views
    • 2comments
    0
  • Ryan
    Level 16
    Ashburn
    Question about the task Maximum in an array
    Java Syntax, Level 7, Lesson 4
    Resolved
    Negative Numbers - Works but doesn't passI'm not sure why this is not passing but it keeps telling me "Be sure that the max method works correctly with negative numbers". Well it does but I'm still not passing so I'm not sure what else to do. Here is my code: package com.codegym.task.task07.task0701; import java.io.BufferedReader; impor
    • 6/1/20
    • 748views
    • 1comment
    0
  • Kron1K
    Level 26
    AUS
    Question about the task The isomorphs are coming
    Java Core, Level 2, Lesson 12
    Resolved
    Output is correct, task wont completeOutput is correct, task wont complete. Please help :)
    • 6/12/19
    • 1683views
    • 3comments
    1
  • Stephen Haokip
    Level 8
    imphal
    Question about the task Rule of the triangle
    Java Syntax, Level 4, Lesson 4
    Under discussion
    help... i think i m rightbut the condition tell me otherwise. plis tell me whats wrong with my code
    • 5/31/20
    • 576views
    • 1comment
    0
  • Niladri pradhan
    Level 33
    Mumbai
    Question about the task Tetris (part 16)
    Java Collections, Level 2, Lesson 15
    Under discussion
    First two conditions not verifyingHow to check for boundary conditions
    • 3/8/20
    • 959views
    • 2comments
    0
  • Dinesh
    Level 7
    Delhi
    Question about the task Rule of the triangle
    Java Syntax, Level 4, Lesson 4
    Under discussion
    I am unable to get the second the Error argument in the error message while working on IDE IntelliJIDEAWhile working on the Intelli J idea I noticed about the Error in which I was unable to understand the second argument in the Error the first one displays the line number. But what does this second argument stand for? Error:(19, 40) java: ')' expected Error:(19, 44) java: not a statement Error:
    • 5/29/20
    • 436views
    • 1comment
    0
  • Johannes
    Level 27
    Centurion, Pretoria
    Question about the task Contextual advertising
    Java Core, Level 9, Lesson 11
    Resolved
    Works but last condition not satisfied ?Can't see what I'm missing ? Debugged etc, it works.
    • 4/19/20
    • 1250views
    • 2comments
    0
  • Kamal Khastagir
    Level 11
    kolkata
    Question about the task Expressing ourselves more concisely
    Java Syntax, Level 7, Lesson 6
    Archived
    :/ why is it not working?I have tried doing it like the last problem. I can't figure out how to pass the conditions
    • 5/10/20
    • 1083views
    • 3comments
    0
  • Chakshu Gupta
    Level 9
    Delhi
    Question about the task Playing Javarella
    Java Syntax, Level 7, Lesson 9
    Under discussion
    Unable to get pass these two conditions.Where am I wrong?
    • 5/31/20
    • 621views
    • 1comment
    0
  • Neha Anjum
    Level 6
    Hyderabad
    Question about the task The required number
    Java Syntax, Level 2, Lesson 5
    Resolved
    What do I do ?? Display is 19...but error pops-up to comment more lines public class Solution { public static void main(String[] args) { int x = 1; int y = 0; y = y + x; x = x * 2; y = y + x; x = x * 2; y = y + x; //x = x * 2; y = y + x; x = x * 2; y = y + x; Syste
    • 9/12/18
    • 2127views
    • 8comments
    0
  • Ratiu Gabriel
    Level 10
    Satu Mare
    Question about the task Even and odd digits
    Java Syntax, Level 6, Lesson 5
    Under discussion
    The displayed text must match the task conditions.The program works perfectly fine , but still the last req isn't met.It is something wrong with the output ?
    • 5/31/20
    • 595views
    • 1comment
    0
  • BLANC
    Level 12
    Paris
    Question about the task Even and odd digits
    Java Syntax, Level 6, Lesson 5
    Under discussion
    hello guys!! Belove my code. I don't understand. When I enter an input, my code returns the right number of even and the right number of odd. But I have red cross. So I am lost since 5 hours on this task....package com.codegym.task.task06.task0606; import java.io.*; /* Even and odd digits */ public class Solution { public static int even; public static int odd; public static void main(String[] args) throws IOException { BufferedReader reader = new BufferedReader(new InputStre
    • 5/30/20
    • 767views
    • 2comments
    0
  • 1
  • ...
  • 187
  • 188
  • 189
  • 190
  • 191
  • ...
  • 374
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 © 2026 CodeGym
MastercardVisa
Programmers Are Made, Not Born © 2026 CodeGym