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
  • Sourav Kumar Rana
    Level 9
    Delhi
    Question about the task Drawing lines
    Java Syntax, Level 4, Lesson 13
    Under discussion
    solutionpackage com.codegym.task.task04.task0438; /* Drawing lines */ public class Solution { public static void main(String[] args) throws Exception { for(int i=0;i<10;i++) { System.out.print("8"); }//write your code here for(int i=0;i<10;i++) {
    • 1/14/19
    • 1550views
    • 2comments
    0
  • Mohammed Aabid Chouhan
    Level 2
    Mumbai
    Question about the task Contract
    Java Syntax, Level 1, Lesson 6
    Under discussion
    I can't find unlock next lesson on level 1 lesson 6. I don't know why this is happening everytimeI can't find unlock next lesson on level 1 lesson 6. I don't know why this is happening everytime
    • 1/18/19
    • 1340views
    • 3comments
    0
  • manoj deo
    Level 3
    Jakarta
    Question about the task Print three times
    Java Syntax, Level 2, Lesson 8
    Resolved
    help mewhats the problem?
    • 9/21/18
    • 1894views
    • 2comments
    0
  • Mohammed Amine EL AMRANI
    Level 11
    Rabat
    Question about the task Number of letters
    Java Syntax, Level 10, Lesson 11
    Under discussion
    I didn't understand the questionHello, Could someone explain me the question because i didn't understand it, and give me an exemple : Enter 10 strings from the keyboard and count the number of different letters in them (for the 26 lowercase letters of the English alphabet). Display the results on the screen in alphabetical orde
    • 1/18/19
    • 1290views
    • 1comment
    0
  • Avinash Rana
    Level 7
    Kolkata
    Under discussion
    The object ive of this project is to process the results of an examination held in a s chool . All the students were tested in 5 subjects - English, Mathematics, Physics, Chemistry and Computers. The marks scored b y the students has been provided in the file - results.txt. The objective is tcan anyone help me with this?
    • 1/18/19
    • 1407views
    • 1comment
    0
  • Meshack
    Level 8
    Thika
    Question about the task Closest to 10
    Java Syntax, Level 4, Lesson 4
    Resolved
    HelpKindly help, the second call to displayClosestToTen() function doesn't display anything,
    • 1/18/19
    • 1492views
    • 2comments
    0
  • Jane
    Level 3
    Cape Town
    Question about the task Our first converter!
    Java Syntax, Level 2, Lesson 2
    Under discussion
    Rusty Math HelpHi there, So I didn't have a hard time trying to put the code together, but I had a hard time with converting the formula. I haven't been in math class in over a decade, so can someone please explain to me how to get from TC = (TF - 32) * 5/9 to TF = ... Thank you
    • 1/17/19
    • 1352views
    • 5comments
    0
  • Laxmidhar Mishra
    Level 12
    Mumbai
    Question about the task Pay raise
    Java Syntax, Level 2, Lesson 2
    Under discussion
    Hi, Am facing error as It looks like you made a typo or forgot to add 1000.How to correct it.package com.codegym.task.task02.task0205; /* Pay raise */ public class Solution { public static void main(String[] args) { hackSalary(7000); } public static void hackSalary(int a) { //write your code here a=a+1000; System.out.println("Your salary is: "
    • 1/13/19
    • 1546views
    • 3comments
    0
  • Wojtek
    Level 23
    Solec-Zdroj
    Question about the task In decreasing order
    Java Syntax, Level 7, Lesson 12
    Under discussion
    What is wrong here?help
    • 1/14/19
    • 2139views
    • 7comments
    0
  • Wojtek
    Level 23
    Solec-Zdroj
    Question about the task R or L
    Java Syntax, Level 7, Lesson 9
    Under discussion
    need helpoutput: lyre love love rose Why rose is in output?
    • 1/11/19
    • 1856views
    • 3comments
    1
  • srikanth
    Level 10
    Bangalore
    Under discussion
    which statement in this code is not satisfying task conditions ?{ public static void main(String[] args) throws Exception { //write your code here BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); String number=reader.readLine(); int num=Integer.parseInt(number);
    • 1/17/19
    • 1319views
    • 1comment
    0
  • Dreni Mujaj
    Level 7
    Peja
    Question about the task Arithmetic mean
    Java Syntax, Level 5, Lesson 5
    Under discussion
    Please help me.I'm stuck for hoursIt can't compile.Its says 1)"cannot find symbol symbol: class BufferedReader location: class com.codegym.task.task05.task0507.Solution: Solution.java, line: 11, column: 8" 2)cannot find symbol symbol: class BufferedReader location: class com.codegym.task.task05.task0507.Solution: Solution.java, l
    • 1/17/19
    • 1531views
    • 1comment
    0
  • Vijay Rangan
    Level 5
    Jakarta
    Question about the task Positive number
    Java Syntax, Level 4, Lesson 7
    Under discussion
    cant compilecant compile this program
    • 11/30/18
    • 1432views
    • 5comments
    0
  • Arvind Prakhar
    Level 7
    Dhanbad
    Question about the task Longest string
    Java Syntax, Level 7, Lesson 6
    Archived
    2 errorsMy first two condition is not full filled .But why its not getting full filled instead i have initiated the ArrayList and took input from user.So why its showing error
    • 12/22/18
    • 1848views
    • 3comments
    0
  • Varunkumar
    Level 3
    Chennai
    Question about the task Square of a number
    Java Syntax, Level 1, Lesson 8
    Archived
    How to call a method in java??https://codegym.cc/tasks/com.codegym.task.task01.task0127
    • 1/16/19
    • 1488views
    • 2comments
    0
  • WatWat
    Level 9
    Vancouver
    Question about the task Shortest or longest
    Java Syntax, Level 7, Lesson 6
    Under discussion
    Ran with correct output an no errors why is it not being verifiedNot being verified. Please look at my code
    • 10/14/18
    • 1605views
    • 3comments
    0
  • Rad
    Level 8
    Maidstone
    Question about the task Shortest or longest
    Java Syntax, Level 7, Lesson 6
    Under discussion
    i need helpi did some mistakes in my code,please help me how to correct it
    • 11/8/18
    • 1404views
    • 3comments
    0
  • Zbigniew
    Level 23
    Dabrowa Tarnowska
    Question about the task Shortest or longest
    Java Syntax, Level 7, Lesson 6
    Resolved
    More efficient way of solving this taskI've managed to solve this task with the code below, but it does't seem to be most efficient way to do this. What's the most compact way of solving this task? I would appreciate if somebody could post his/hers code with short explanation. Pointing out my mistakes and explaining them is also welcome.
    • 1/6/19
    • 2449views
    • 3comments
    0
  • Sarvesh
    Level 11
    Bangalore
    Question about the task Display right away
    Java Syntax, Level 3, Lesson 3
    Under discussion
    Could you help me find my mistake here in the below code for the task. package com.codegym.task.task03.task0302; /* Display right away */ public class Solution { // write your code here public static void main(String[] args) { printString("Hello, Amigo!"); } public static void printString(String s);{ System.out.println("s"); }
    • 1/6/19
    • 1786views
    • 5comments
    0
  • Sabine Meijran-Prins
    Level 7
    Enschede
    Question about the task Minimum of three numbers
    Java Syntax, Level 2, Lesson 8
    Resolved
    Something wrong with my code..Do you know what is wrong with this code? public class Solution { public static int min(int a, int b, int c) { int m2; if ((a < b) && (a < c)){ m2 = a; } if ((b < a) && (b < c)){ m2 = b; } if ((c < a) &
    • 11/29/18
    • 1598views
    • 5comments
    0
  • Sravya
    Level 3
    Hyderabad
    Question about the task Pay raise
    Java Syntax, Level 2, Lesson 2
    Under discussion
    why i'm getting typo error?why i'm getting typo error??
    • 1/9/19
    • 1420views
    • 4comments
    0
  • MP
    Level 8
    Wietzendorf
    Question about the task Minimum of four numbers
    Java Syntax, Level 2, Lesson 8
    Resolved
    Just a question about the functionsHello there, I have a short question about this task. I did solve it but I'm curious - are they both not have the same name (min)? Isn't that a little confusing for the compiler? What is the difference between them so the compiler knows how to handle it? Sorry if that question might be dumb :)
    • 1/15/19
    • 1363views
    • 5comments
    0
  • Joy Majumdar
    Level 16
    Kolkata
    Question about the task One large array and two small ones
    Java Syntax, Level 7, Lesson 4
    Resolved
    What is wrong here ?Point out
    • 1/15/19
    • 1925views
    • 2comments
    0
  • Mohammed Amine EL AMRANI
    Level 11
    Rabat
    Question about the task Cat relations
    Java Syntax, Level 6, Lesson 11
    Under discussion
    key "Cat"Hello, public static class Cat { private String name; private Cat mother; private Cat father; } What does it mean the keyword " Cat " before mother/father ?
    • 12/19/18
    • 1415views
    • 3comments
    0
  • Aditya Ashtikar
    Level 8
    Kaul
    Question about the task Cat relations
    Java Syntax, Level 6, Lesson 11
    Resolved
    Provided conditions were a typo, a single verification criteria not metDon't see it, just don't see it! Someone please help it won't verify, I don't know if it's a typo(which was earlier and took like 30 minutes for me to get, seriously the conditions defined are a typo) or some code problem. Either way, someone please provide some insight.
    • 8/6/18
    • 2503views
    • 4comments
    0
  • Wojtek
    Level 23
    Solec-Zdroj
    Question about the task Task about algorithms
    Java Syntax, Level 5, Lesson 12
    Archived
    Can you help me?i don't have idea how to reslove it.
    • 1/4/19
    • 1647views
    • 2comments
    0
  • gery
    Level 9
    Islamabad
    Question about the task Calculator
    Java Syntax, Level 6, Lesson 8
    Resolved
    correction needed in division method public static int plus(int a, int b) { //write your code here return (a + b); } public static int minus(int a, int b) { //write your code here return (a - b); } public static int multiply(int a, int b) { //write your code here return
    • 9/19/18
    • 3670views
    • 3comments
    2
  • Sushant
    Level 4
    goa
    Question about the task Family relations
    Java Syntax, Level 2, Lesson 2
    Resolved
    Family relationsHELP TO FIND THE SOLUTION.
    • 8/3/18
    • 2966views
    • 6comments
    0
  • Somya Gupta
    Level 4
    Vrindavan
    Question about the task Family relations
    Java Syntax, Level 2, Lesson 2
    Resolved
    what is the answerof 3 and 4 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;
    • 8/18/18
    • 2539views
    • 3comments
    0
  • Sushant
    Level 4
    goa
    Question about the task The great purge
    Java Syntax, Level 1, Lesson 8
    Resolved
    can any one help me out from this task.can any one help
    • 8/2/18
    • 1820views
    • 5comments
    0
  • 1
  • ...
  • 351
  • 352
  • 353
  • 354
  • 355
  • ...
  • 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