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
  • Kim Ledford Wilson
    Level 4
    Cleveland
    Question about the task Minimum of four numbers
    Java Syntax, Level 2, Lesson 8
    Under discussion
    Below is my code: I just can't get it. I'm missing something help please!package com.codegym.task.task02.task0217; /* Minimum of four numbers */ public class Solution { public static int min(int a, int b, int c, int d) { //write your code here this.min(a,b); int a1 = (); int a2 = 0; int a3; if (c<=d) { a2 =
    • 13.02.2019
    • 1568views
    • 3comments
    0
  • Wojtek
    Level 23
    Solec-Zdroj
    Question about the task GCD
    Java Core, Level 4, Lesson 8
    Resolved
    What is wrong here?need hint
    • 18.02.2019
    • 1635views
    • 1comment
    0
  • tony
    Level 20
    Nis
    Question about the task OOP: Cars
    Java Core, Level 5, Lesson 2
    Under discussion
    pls helpPlease help me to figure out what is wrong with my code. I tested it in Eclipse and I got correct output
    • 16.02.2019
    • 1344views
    • 2comments
    0
  • Jarrett “Psalm 91:4” Ridlinghafer
    Level 2
    Tucson
    Under discussion
    How to verify my account?Hi, I've got a notice that I need to verify my account via email however I never received an email from codeGym...is there a way to have it resent or something? Thanks!
    • 17.02.2019
    • 1257views
    • 1comment
    0
  • shaan mohd khan
    Level 13
    Jhansi
    Question about the task In decreasing order
    Java Syntax, Level 7, Lesson 12
    Resolved
    help me...tried a lot but not able to complete the task public class Solution { public static void main(String[] args) throws Exception { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); int[] array = new int[20]; for (int i = 0; i < 20; i++) { array[i] = Integer.parseInt(reader.rea
    • 09.02.2019
    • 2070views
    • 2comments
    0
  • Gurpreet Grewal
    Level 4
    Mumbai
    Question about the task Minimum of four numbers
    Java Syntax, Level 2, Lesson 8
    Under discussion
    how to compareHow to compare min(int a, int b) and min(int c, int d) ?
    • 18.02.2019
    • 1426views
    • 1comment
    0
  • hidden #10425441
    Level 3
    Question about the task Plan to conquer the world
    Java Syntax, Level 3, Lesson 8
    Under discussion
    I think I have a problem with my intellIJ, can somebody help me with these error messages? Why is the word "Exception" grey? Thank youWhy is the word "Exception" grey? And how do I fix that "missing Javadoc" error?
    • 18.02.2019
    • 2004views
    • 1comment
    0
  • Gurpreet Grewal
    Level 4
    Mumbai
    Question about the task Family relations
    Java Syntax, Level 2, Lesson 2
    Resolved
    Variable is wrongIs this a correct way to declare variable ? public Woman wife;
    • 17.02.2019
    • 1626views
    • 2comments
    0
  • Angeget
    Level 22
    Potsdam
    Question about the task Robot wars
    Java Core, Level 3, Lesson 11
    Resolved
    No idea i am confused and i do not understand why this is not working - please helpNo idea i am confused and i do not understand why this is not working - please help
    • 26.01.2019
    • 1846views
    • 2comments
    0
  • Oleg Vanyushkin
    Level 18
    St.-Petersburg
    Question about the task Shortest or longest
    Java Syntax, Level 7, Lesson 6
    Under discussion
    Cant pass. Could you take a look why? It works fine for me.The validator expects me to fill my arrayList. I did. It works fine. Why? Could you look at this if you will, please?
    • 16.02.2019
    • 2153views
    • 4comments
    0
  • Philip Obiorah
    Level 16
    Port - Harcourt
    Question about the task Longest sequence
    Java Syntax, Level 8, Lesson 6
    Resolved
    How do I fix this.Recommendation : Be sure that the length of the longest sequence is calculated correctly when it is located at the end of the list of entered numbers. It returns 2 when tried with 2 4 14 4 8 8 4 12 12 12 please how do I fix this ?
    • 14.02.2019
    • 1354views
    • 2comments
    0
  • C. Chiang
    Level 18
    Bryan
    Question about the task Sorting even numbers from a file
    Java Core, Level 3, Lesson 11
    Archived
    Can not pass verify, need help!display too many lines condition is the one I really can not pass
    • 16.02.2019
    • 1609views
    • 2comments
    0
  • SandeepK
    Level 2
    Kuliyapitiya
    Under discussion
    Did not understand the logic behind the display of 12 first and followed by 2. public class Solution { public static void main(String[] args) { int x = 2; int y = 12; y = x + y; x = y - x; y = y - x; System.out.println(x); System.out.println(y); } }
    • 16.02.2019
    • 1321views
    • 1comment
    0
  • Kisszol
    Level 15
    Toeroekbalint
    Resolved
    Is https://codegym.cc free of charge ?Hi ! Is this course free of charge ? Should I pay for it ?
    • 16.02.2019
    • 1994views
    • 0comments
    0
  • Alex Balandinos
    Level 18
    Lusaka
    Question about the task Arithmetic mean
    Java Syntax, Level 5, Lesson 5
    Under discussion
    When entering 4231-1 am getting 0.0 need help can't work my way around it
    • 15.02.2019
    • 1544views
    • 5comments
    0
  • Zbigniew
    Level 23
    Dabrowa Tarnowska
    Question about the task OOP: Fix inheritance problems
    Java Core, Level 5, Lesson 2
    Resolved
    I don't understand the taskThe task seems to be complicated. I don't understand the logic of it. 1) How can the containsBones() method return an Object and simultaneously a String "Yes"? 2) What return type should the BodyPart's containsBones() method have? 3) What Object does it need to return? 4) Do i understand correctl
    • 14.02.2019
    • 1582views
    • 2comments
    0
  • Wojtek
    Level 23
    Solec-Zdroj
    Question about the task Janitorial services
    Java Core, Level 4, Lesson 8
    Under discussion
    Where did i mistake?need hint
    • 15.02.2019
    • 1172views
    • 1comment
    0
  • hidden #10424566
    Level 7
    Question about the task Task about algorithms
    Java Syntax, Level 5, Lesson 12
    Archived
    Can't understand how to solve the last bitKindly help
    • 11.02.2019
    • 1682views
    • 8comments
    0
  • Ronaldo M
    Level 2
    Chennai
    Question about the task CodeGym. Learn once - use anywhere
    Java Syntax, Level 1, Lesson 4
    Under discussion
    What is wrong in my code ? and why does it not match with the taskI cant identify my error
    • 24.08.2018
    • 1453views
    • 5comments
    0
  • Mohamad
    Level 4
    Question about the task Escaping characters
    Java Syntax, Level 3, Lesson 6
    Resolved
    I did not understand what does that mean or what to do with it can someone explain this to me please....Display the following text (two lines): This is a Windows path: "C:\Program Files\Java\jdk1.8.0_172\bin" This is a Java string: \"C:\\Program Files\\Java\\jdk1.8.0_172\\bin\" Hint: \” – Insert a double quote character in the text at this point. \\ – Insert a backslash character in the text at this
    • 15.11.2018
    • 2039views
    • 3comments
    0
  • Bryce Lindley
    Level 9
    Olympia
    Resolved
    Wont compile without errors. package com.codegym.task.task03.task0318; /* Plan to conquer the world */ import java.io.*; public class Solution { public static void main(String[] args) throws Exception { //write your code here InputStream inputStream = System.in; Reader inputStreamR
    • 12.02.2019
    • 1169views
    • 3comments
    0
  • Jane
    Level 3
    Cape Town
    Question about the task The humble programmer
    Java Syntax, Level 3, Lesson 8
    Under discussion
    Screen output 83?Hi Why does this code return screen output 83? (see screenshot of code) Later I tried the same code but to return a string and I get an error : com/codegym/task/task03/task0320/Solution.java:14: error: incompatible types: int cannot be converted to java.lang.String String name = r
    • 14.02.2019
    • 1338views
    • 1comment
    0
  • William Leininger
    Level 5
    Vancouver, WA
    Question about the task Crossing the road blindly
    Java Syntax, Level 4, Lesson 4
    Under discussion
    I'm lost why both buffered reader and scanner don't verify. package com.codegym.task.task04.task0416; /* Crossing the road blindly */ import java.util.Scanner; import java.io.*; public class Solution { public static void main(String[] args) throws Exception { //write your code here BufferedReader reader = new BufferedReader(new Input
    • 10.02.2019
    • 1875views
    • 3comments
    0
  • Abhishek Raj Gupta
    Level 4
    Sonipat
    Under discussion
    plugin is install in intellij.but everytime it shows "The CodeGym server is being unavailable. Wait a little, restart IntelliJ IDEA and try again" what should i do ???Intelij is unable to sync with godegym server
    • 14.02.2019
    • 1365views
    • 1comment
    0
  • Jan kirk
    Level 19
    Venkatagiri
    Question about the task Dividing is good
    Java Syntax, Level 3, Lesson 1
    Under discussion
    Installation of CodeGym pluginHi All After having successfully installed Intelli IDEA and SDK 11, and the CodeGym plugin : I click on the task list button, but only completed tasks show up, how do I get the others ? Regards Jan Kirk
    • 14.02.2019
    • 1533views
    • 1comment
    0
  • Joy Majumdar
    Level 16
    Kolkata
    Question about the task R or L
    Java Syntax, Level 7, Lesson 9
    Under discussion
    Canot get itHow to make it check the all index ? package com.codegym.task.task07.task0716; import java.util.ArrayList; /* R or L */ public class Solution { public static void main(String[] args) throws Exception { ArrayList list = new ArrayList(); list.add("rose"); // 0 list.ad
    • 28.01.2019
    • 1249views
    • 2comments
    0
  • anotherLearner
    Level 18
    Barcelona
    Question about the task CRUD
    Java Core, Level 7, Lesson 10
    Resolved
    I think my logic is correct but i dont know how to make it work.I never worked with main(String[] args) before! Help will be apreciated, thanks!
    • 24.01.2019
    • 2181views
    • 6comments
    2
  • Jeff Lamb
    Level 3
    Littleton
    Question about the task Don't feel like it? Do it anyway.
    Java Syntax, Level 1, Lesson 8
    Resolved
    "The main method should call the sqr method with 5 as an argument." I am having trouble with one error. "The main method should call the sqr method with 5 as an argument." This is what I got so far. int a = 5; sqr(5); //Note that I tried it sqr(a) but same error. System.out.println(sqr(a)); I am stumped as to how to resolve this. I am sure
    • 13.02.2019
    • 1510views
    • 2comments
    0
  • Juan Gallardo
    Level 10
    Edmonton
    Question about the task Shuffled just in time
    Java Syntax, Level 7, Lesson 12
    Resolved
    Not sure what the problem is
    • 12.11.2018
    • 2530views
    • 8comments
    0
  • Dreni Mujaj
    Level 7
    Peja
    Question about the task Ascending numbers
    Java Syntax, Level 6, Lesson 11
    Under discussion
    LAST CONDITION??I dont know anyway how to complete the last condition??
    • 25.01.2019
    • 1343views
    • 5comments
    0
  • 1
  • ...
  • 342
  • 343
  • 344
  • 345
  • 346
  • ...
  • 372
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