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
  • hidden #10484120
    Level 13
    Question about the task Sorting three numbers
    Java Syntax, Level 4, Lesson 6
    Under discussion
    Program outputs correctly but not sure what is missingHey, When I run the program it outputs correctly but is still not passing the last requirement. Please let me know what I am missing. Thanks!
    • 9/16/19
    • 1193views
    • 4comments
    0
  • Emile
    Level 14
    Paris
    Under discussion
    Please can anybody help me to understand where my mistake is? public class Cat { //write your code here private String name =null; private int weight =1; private int age = 2; private String color = null; private String address = null; /*The class must have an initialize method that takes a name as an argument, but
    • 9/17/19
    • 1028views
    • 1comment
    0
  • Rad
    Level 8
    Maidstone
    Question about the task Adding
    Java Syntax, Level 4, Lesson 16
    Under discussion
    i need helpi did not get it please help me what was wrong in my code
    • 10/20/18
    • 1721views
    • 5comments
    0
  • theCalculator
    Level 3
    Warren
    Question about the task Print three times
    Java Syntax, Level 2, Lesson 8
    Under discussion
    My Solution Window Window Window File File File and the last condition fails any thoughts?My Solution Window Window Window File File File and the last condition fails any thoughts?
    • 9/17/19
    • 1226views
    • 3comments
    0
  • Bazsó Benjámin
    Level 20
    Szombathely
    Question about the task Vowels and consonants
    Java Syntax, Level 9, Lesson 11
    Resolved
    cant solve this help plshow can i fulfill the 4th condition?
    • 4/7/19
    • 2125views
    • 2comments
    1
  • Henry
    Level 6
    Stuttgart
    Question about the task Closest to 10
    Java Syntax, Level 4, Lesson 4
    Under discussion
    helloI have done the task using abs value but i would like someone to give me a hint with regards to the use of logical condition in solving this task. I tried using the AND and OR logical operator but i kept getting it wrong.
    • 9/16/19
    • 1153views
    • 1comment
    0
  • Bartek J.
    Level 13
    Zielona Góra
    Question about the task Make a family
    Java Syntax, Level 8, Lesson 11
    Under discussion
    Last statementSeems to output is good but can't pass last condition :\ Anybody can help?
    • 8/31/19
    • 1292views
    • 1comment
    0
  • Yash
    Level 15
    Sugar Hill
    Question about the task Only for the rich
    Java Syntax, Level 8, Lesson 8
    Resolved
    Help! I don't know what I'm doing.Line 41 : method remove in interface java.util.Iterator<E> cannot be applied to given types; required: no arguments found: java.lang.String reason: actual and formal argument lists differ in length.
    • 9/15/19
    • 1881views
    • 2comments
    0
  • ARYAN
    Level 4
    Pune
    Question about the task Crazy eights
    Java Syntax, Level 2, Lesson 5
    Under discussion
    not getting about variables....plz helpnot getting variable plz helppp
    • 12/12/18
    • 2173views
    • 7comments
    0
  • holybible
    Level 28
    Plovdiv
    Question about the task Prices 2
    Java Core, Level 8, Lesson 11
    Under discussion
    I don't get what the verifier wantsWhen I run the tests, everything is correct, but maybe the verifier wants something else. A little help could be of great use to me.
    • 9/9/19
    • 1445views
    • 1comment
    0
  • Adnan Razzaq
    Level 15
    Bamberg
    Question about the task Neo
    Java Core, Level 3, Lesson 11
    Under discussion
    please helpcan anyone explain how toString method() is called in main? why it is displaying this lineThe user's name is %s, id = %d"
    • 9/16/19
    • 1130views
    • 1comment
    0
  • I.A
    Level 7
    unknown city
    Question about the task Positive and negative numbers
    Java Syntax, Level 4, Lesson 4
    Archived
    why not its ok
    • 11/19/18
    • 1782views
    • 9comments
    0
  • Andrea
    Level 20
    Question about the task Census
    Java Syntax, Level 8, Lesson 8
    Resolved
    Issue With CreateMap - Has 10 Items but Validator doesn't think soThe mentor is saying "Check the createMap() method. The HashMap should consist of 10 entries that represent (last name, first name) pairs." However in looking at the createMap() method I have ten entries and they are not duplicate items, so I'm not seeing what is the issue is with how I declared an
    • 8/2/19
    • 1875views
    • 7comments
    2
  • Darko Jakimovski
    Level 18
    Kriva Palanka
    Question about the task Clew
    Java Core, Level 6, Lesson 13
    Under discussion
    Help me before I turn the lights offI checked out all previous problem with verifying this task of course and came to the conclusion that this is one of THOSE tasks
    • 5/29/19
    • 1479views
    • 12comments
    0
  • Au Ivan
    Level 17
    Hong Kong
    Question about the task Task about algorithms
    Java Syntax, Level 5, Lesson 12
    Archived
    Hi there, need help again...Thanks for dropping by. I think I get the correct ans, but the task isn't complete. Is that a bug or do I really made a mistake? Coz I have checked by times and read many ref... Please help and thanks in advance!
    • 8/30/19
    • 1385views
    • 1comment
    0
  • Au Ivan
    Level 17
    Hong Kong
    Question about the task Calculator
    Java Syntax, Level 6, Lesson 8
    Resolved
    Why don't we have to take absolute for the mins?it says "returns the difference between a and b", don't we have to take absolute value of it? Or it will be negative value if b>a.
    • 9/5/19
    • 1452views
    • 1comment
    0
  • Denis
    Level 22
    Kharkiv
    Question about the task OOP: Method overloading - Eliminating the superfluous
    Java Core, Level 5, Lesson 4
    Under discussion
    i need helpcant understand what is wrong
    • 6/26/19
    • 1291views
    • 1comment
    0
  • Mykhailo Kuvshynov
    Level 8
    Dnipro
    Question about the task Duplicating words
    Java Syntax, Level 7, Lesson 9
    Under discussion
    it says that i have an infinite loophow?
    • 9/6/19
    • 1557views
    • 2comments
    0
  • Denis
    Level 22
    Kharkiv
    Question about the task Serialization is prohibited
    Java Core, Level 10, Lesson 10
    Under discussion
    Help me plsI cant solve this
    • 6/30/19
    • 1568views
    • 1comment
    0
  • hidden #10426395
    Level 2
    Question about the task Uh... Happy New Year!
    Java Syntax, Level 1, Lesson 4
    Resolved
    Hope for your help guys! The task seemed to be easy but I don't know what to do. Who can give me some advice concerning my mistake?
    • 2/10/19
    • 1529views
    • 2comments
    1
  • Monika Gupta
    Level 2
    Kanpur
    Question about the task Uh... Happy New Year!
    Java Syntax, Level 1, Lesson 4
    Under discussion
    help package com.codegym.task.task01.task0115; /* Uh... Happy New Year! */ public class Solution { public static void main(String[] args) { // String s = "Merry"; // System.out.println("Christmas"); // System.out.println("Merry New"); // System.out.print("weekend");
    • 2/11/19
    • 1541views
    • 4comments
    0
  • Raj Mishra
    Level 2
    India
    Question about the task Crossing the road blindly
    Java Syntax, Level 4, Lesson 4
    Resolved
    Could not identify a scenario where my program would fail. Please help ?Could not identify a scenario where my program would fail. Please help? I have assumed the start of every hour is '00' minute and the program checks till '60' minutes. Could you please help if I have not created any scenario?
    • 9/11/19
    • 1709views
    • 3comments
    2
  • Ivan Robert Vecerina
    Level 8
    Warrington
    Question about the task Cat code won't compile
    Java Syntax, Level 7, Lesson 12
    Resolved
    Help!!! Result and outputs are correct but vefication fails.I don't understand what's wrong here, the output is correct....
    • 8/18/19
    • 1754views
    • 5comments
    2
  • Hoàng Trần
    Level 6
    Ha Noi
    Question about the task Parenthetical brainteaser
    Java Syntax, Level 3, Lesson 4
    Resolved
    Can somebody help me with this please? Can somebody help me with this please? It's so frustrating to find where i should put in the parentheses. You can give a hint, or even an answer, thank you in advance.
    • 7/20/19
    • 1751views
    • 11comments
    0
  • Yashi Gupta
    Level 17
    Delhi
    Question about the task Census
    Java Syntax, Level 8, Lesson 8
    Under discussion
    what's wrong with my code?2 requirements not met!
    • 9/13/19
    • 1112views
    • 2comments
    0
  • Marcin
    Level 22
    Edinburgh
    Question about the task Duplicating words
    Java Syntax, Level 7, Lesson 9
    Under discussion
    is that correct solution for display duplicated strings ? // Display result for (int i =0; i < result.size(); i++ ){ System.out.println(result.get(i)); System.out.println(result.get(i)); is that correct solution for display duplicated strings ?
    • 9/13/19
    • 1215views
    • 3comments
    0
  • Cristian
    Level 16
    Bucharest
    Question about the task Initializing cats
    Java Syntax, Level 5, Lesson 7
    Under discussion
    What is wrong with my code? Thank you!package com.codegym.task.task05.task0510; /* Initializing cats */ public class Cat { private String name; private int weight; private String color; private int age; private String address; public void initialize(String name) { this.name = name;
    • 9/12/19
    • 1370views
    • 5comments
    0
  • Lex Medeiros
    Level 18
    San Jose
    Question about the task Threads and bytes
    Java Core, Level 8, Lesson 11
    Under discussion
    Not sure why it is not validatingCan anyone point out why is the reason this is not validating? I am finding the most repeated byte and adding it to the resultsMap along with the file name.
    • 9/13/19
    • 1412views
    • 2comments
    0
  • iHappy Violence
    Level 7
    Saint Petersburg
    Question about the task Man and woman
    Java Syntax, Level 5, Lesson 12
    Under discussion
    Help me pleaseWhy not worked ???
    • 6/25/19
    • 1790views
    • 4comments
    0
  • Michael
    Level 10
    Dresden
    Question about the task Predictions
    Java Syntax, Level 3, Lesson 8
    Resolved
    Solution easy, but learning effect nullIt would be helpful if someone could explain the order of the name and number variables and why here the String variable has to be declared before the int variables.
    • 9/13/19
    • 1271views
    • 1comment
    0
  • 1
  • ...
  • 280
  • 281
  • 282
  • 283
  • 284
  • ...
  • 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