CodeGym
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
  • ddi
    Level 18
    Dortmund
    Question about the task Mastering the static block
    Java Core, Level 5, Lesson 12
    Resolved
    What am i missing? Help needed!I don´t understand what am it missing... if anyone could help me.
    • 18.09.2019
    • 1018views
    • 7comments
    0
  • MecoS
    Level 16
    Question about the task Minimum of two numbers
    Java Syntax, Level 2, Lesson 8
    Under discussion
    To resolve the question i evaluate both solution in min method but nothingpublic static int min(int a, int b) { int m2 = Math.min(a, b); // int m2; // if(a > 0 || b > 0) // { // if(a > b) // m2=a; // else // m2=b; // } // else // { // if(a > b)
    • 17.09.2019
    • 976views
    • 1comment
    0
  • Naveen Muralidoss
    Level 9
    Newark
    Question about the task Predictions
    Java Syntax, Level 3, Lesson 8
    Resolved
    Can't understand the validator how it works........................Expected Result : Nick will receive 10000 in 5 years. Program prints the same : Nick will receive 10000 in 5 years. Still have issue with last point
    • 18.09.2019
    • 1137views
    • 2comments
    0
  • Eduardo
    Level 23
    Coyoacan
    Question about the task The humble programmer
    Java Syntax, Level 3, Lesson 8
    Resolved
    Stuck again with typoHi, This program seemed simpler than the previous one, however I can't fulfill the last condition (The mentor suggested a typo error). Last time it was due to the order of the inputs but in this case it is a single input so I can't find a logical explanation. And on different topic, if I try to run
    • 30.09.2018
    • 1989views
    • 7comments
    0
  • Tara Edwards
    Level 6
    Question about the task Even and odd digits
    Java Syntax, Level 6, Lesson 5
    Under discussion
    Not sure why I keep getting an error on this if (a%2) == 0 {Help with error?
    • 17.09.2019
    • 1075views
    • 3comments
    0
  • Niladri pradhan
    Level 33
    Mumbai
    Question about the task MVC (part 6)
    Java Multithreading, Level 4, Lesson 14
    Under discussion
    Probelm in EditUsersView please help
    • 18.09.2019
    • 1128views
    • 1comment
    0
  • imantas
    Level 8
    Frome
    Question about the task Shortest or longest
    Java Syntax, Level 7, Lesson 6
    Under discussion
    Code does the job, altgough task requirements are not met, anyone know why? Please help, anyone know why task requirements are not met? Thanks.
    • 18.09.2019
    • 934views
    • 1comment
    0
  • harshshah
    Level 9
    Gandhinagar
    Question about the task You can't have too much of a good thing
    Java Syntax, Level 4, Lesson 10
    Archived
    Not able to pass one error !!Code is running completely fine don't know where is error in the code.
    • 27.07.2019
    • 1273views
    • 5comments
    0
  • Serg
    Level 23
    Tyumen
    Question about the task Describing numbers
    Java Syntax, Level 4, Lesson 7
    Archived
    The code works, but does not pass verification. Why? package com.codegym.task.task04.task0427; import java.io.*; public class Solution { public static void main(String[] args) throws Exception { BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(System.in)); int a = Integer.parseInt(bufferedReader.readLin
    • 30.04.2019
    • 1466views
    • 3comments
    0
  • ddi
    Level 18
    Dortmund
    Question about the task Shuffled just in time
    Java Syntax, Level 7, Lesson 12
    Resolved
    How should i print?I am missing the last parameter: Display the list, each value on a new line. how should i do it?
    • 24.06.2019
    • 1448views
    • 4comments
    1
  • vengadesh
    Level 5
    chennai
    Question about the task Roy G. Biv…
    Java Syntax, Level 3, Lesson 6
    Resolved
    why sir you created pls explain that one...... Red red = new Red(); red.Red(); why sir you created pls explain that one...... Red red = new Red(); red.Red(); public class Solution { public static void main(String[] args) { //write your code here Red red = new Red(); red.Red(); Orange orange = new Orange();
    • 26.04.2019
    • 1767views
    • 3comments
    0
  • Николай
    Level 7
    Mariupol'
    Question about the task Implement the fight method
    Java Syntax, Level 5, Lesson 5
    Under discussion
    why it doesn't work ? can help me anybody ?package javaRush; public class Cat { public int age; public int weight; public int strength; public Cat() { } public boolean fight(Cat anotherCat) { if (this.age <= anotherCat.age & this.weight > anotherCat.weight & this.strength > anotherCat.stren
    • 05.05.2019
    • 1719views
    • 3comments
    0
  • Swapnil
    Level 5
    Kolkata
    Question about the task The Three "Muscateers"
    Java Syntax, Level 5, Lesson 5
    Under discussion
    What is the difference between the two block of codes? Cat c1 = new Cat(); Cat c2 = new Cat(); Cat c3 = new Cat(); c1.name = "To"; c1.age= 8; c1.weight= 10; c1.strength = 85; c2.name = "Tm"; c2.age= 1; c2.weight= 60; c2.strength = 5; c3.name = "Tom";
    • 02.05.2019
    • 1557views
    • 6comments
    2
  • Candice Brazil
    Level 6
    Ocala
    Question about the task Getters and setters for the Dog class
    Java Syntax, Level 5, Lesson 5
    Under discussion
    Compiles and prints correctlyI'm not certain what I'm doing wrong here. The code has no errors while compiling, and correctly prints the names and ages of the associated dog objects. Note: It also fails to pass when I change the "return this.name;" and "return this.age" statements to "return name;" and "return age;" so tha
    • 27.03.2019
    • 2194views
    • 7comments
    0
  • Ashwin
    Level 6
    Bangalore
    Question about the task Getters and setters for the Dog class
    Java Syntax, Level 5, Lesson 5
    Under discussion
    why is this not working? it is showing make sure it has getAge and getName and i do, so it should work right?why is this not working? it is showing make sure it has getAge and getName and i do, so it should work right?
    • 17.03.2019
    • 1539views
    • 3comments
    0
  • Antonia
    Level 10
    Question about the task Creating a cat
    Java Syntax, Level 5, Lesson 5
    Under discussion
    why???
    • 10.07.2019
    • 1589views
    • 2comments
    1
  • Laurence Chadwell
    Level 4
    San Antonio
    Question about the task Arithmetic mean
    Java Syntax, Level 5, Lesson 5
    Under discussion
    I need some help on this oneCan anyone tell if I am on the right track with this one please?
    • 17.09.2019
    • 864views
    • 2comments
    0
  • Nikhil Raut
    Level 10
    Pune
    Question about the task Cat relations
    Java Syntax, Level 6, Lesson 11
    Resolved
    please help!The line about the father (third line) must match the conditions. although output looks correct to me.
    • 12.09.2019
    • 1466views
    • 2comments
    0
  • Abhishek Rangari
    Level 22
    Nagpur
    Question about the task Counting words
    Java Core, Level 9, Lesson 5
    Under discussion
    Last condition is not getting satisfiedGuys could you please help me on this part, last condition is not getting satisfied.
    • 25.11.2018
    • 1575views
    • 3comments
    0
  • Wojtek
    Level 23
    Solec-Zdroj
    Question about the task Dividing by zero
    Java Syntax, Level 9, Lesson 11
    Under discussion
    Why 2nd condition is failed?need help
    • 24.01.2019
    • 1491views
    • 4comments
    0
  • 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!
    • 16.09.2019
    • 1089views
    • 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
    • 17.09.2019
    • 940views
    • 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
    • 20.10.2018
    • 1615views
    • 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?
    • 17.09.2019
    • 1133views
    • 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?
    • 07.04.2019
    • 2016views
    • 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.
    • 16.09.2019
    • 1038views
    • 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?
    • 31.08.2019
    • 1118views
    • 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.
    • 15.09.2019
    • 1769views
    • 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.2018
    • 2065views
    • 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.
    • 09.09.2019
    • 1341views
    • 1comment
    0
  • 1
  • ...
  • 277
  • 278
  • 279
  • 280
  • 281
  • ...
  • 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