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
  • dean
    Level 8
    Deutschland
    Question about the task Duplicating words
    Java Syntax, Level 7, Lesson 9
    Under discussion
    java heap memoryerror
    • 5/22/19
    • 1881views
    • 9comments
    0
  • dean
    Level 8
    Deutschland
    Question about the task R or L
    Java Syntax, Level 7, Lesson 9
    Under discussion
    why i fall most tests?why i fall most tests?
    • 5/22/19
    • 1719views
    • 11comments
    0
  • Deepak Joshi
    Level 17
    Nainital
    Question about the task Longest sequence
    Java Syntax, Level 8, Lesson 6
    Under discussion
    What is the reason?
    • 5/1/19
    • 1475views
    • 1comment
    0
  • Jishnujith
    Level 7
    Bengaluru
    Question about the task Shuffled just in time
    Java Syntax, Level 7, Lesson 12
    Resolved
    Whats wrong with code? I'm getting output correctly, but not verifyingI'm getting output correctly, but not verifying
    • 5/22/19
    • 1736views
    • 2comments
    0
  • Deepak Chandra
    Level 16
    Visakhapatnam
    Question about the task We don't need repeats
    Java Syntax, Level 8, Lesson 8
    Resolved
    Help please!I need some help
    • 5/22/19
    • 1931views
    • 2comments
    0
  • satish
    Level 15
    kadapa
    Question about the task Task about algorithms
    Java Syntax, Level 5, Lesson 12
    Archived
    why we should use Integer.MIN_VALUEwhat is the use of Integer.MIN_VALUE
    • 5/22/19
    • 1405views
    • 1comment
    0
  • hidden #10455345
    Level 2
    Question about the task The great purge
    Java Syntax, Level 1, Lesson 8
    Resolved
    Can someone please explain me what am I doing wrong?I checked my code like a 1000 times, but still get an error "You need to comment out the unused variables." I thought I did comment them out. Does anybody see my mistake?
    • 5/22/19
    • 1485views
    • 1comment
    2
  • dean
    Level 8
    Deutschland
    Question about the task Cat relations
    Java Syntax, Level 6, Lesson 11
    Under discussion
    What am i missing here? package com.codegym.task.task06.task0621; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; /* Cat relations */ public class Solution { public static void main(String[] args) throws IOException { BufferedReader reader = new BufferedReader(
    • 5/22/19
    • 1568views
    • 5comments
    0
  • Aastha Khanna
    Level 5
    Question about the task Minimum of four numbers
    Java Syntax, Level 2, Lesson 8
    Under discussion
    What is wrong with this code?public class Solution { public static int min(int a, int b, int c, int d) { //write your code here int m1,m,x; m1=min(a,b); m=min(c,d); x=min(m1,m); System.out.print(x); } public static int min(int a, int b) { //write your code her
    • 5/21/19
    • 1161views
    • 2comments
    0
  • Cheikh Sambakhe
    Level 4
    Louga
    Under discussion
    Can someone explain me why it's not coming? Issues with my code and my understanding of objects and classesHello Guys, I've just done that exercise. But don't really understand why the code below is coming. package com.codegym.task.task03.task0315; /* Roy G. Biv… */ public class Solution { public static void main(String[] args) { //write your code here //Creation objects
    • 5/20/19
    • 1716views
    • 3comments
    0
  • arun et
    Level 11
    Chennai
    Question about the task You can't buy friends
    Java Syntax, Level 5, Lesson 9
    Under discussion
    I Have no idea what is wrong?
    • 5/21/19
    • 1580views
    • 3comments
    0
  • Maria Habib
    Level 5
    Jhelum
    Question about the task Don't think about seconds…
    Java Syntax, Level 3, Lesson 8
    Resolved
    whats the error;(
    • 9/20/18
    • 3115views
    • 5comments
    0
  • Satya Vath
    Level 31
    Vijayawada
    Question about the task Externalizable Person
    Java Core, Level 10, Lesson 7
    Under discussion
    Where is the ErrorI am Sure That It is Working Properly
    • 4/22/19
    • 1453views
    • 3comments
    0
  • Павел Артеменко
    Level 41
    Krasnodar
    Question about the task Chat (part 11)
    Java Multithreading, Level 6, Lesson 15
    Resolved
    Timeout on validationGetting timeout on validation, while debugging with JMeter keep getting exception in Connection constructor while calling socket.getInputStream(): java.io.EOFException at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2681) at java.io.ObjectInputStream$BlockDataInputS
    • 5/12/19
    • 1741views
    • 3comments
    0
  • dean
    Level 8
    Deutschland
    Question about the task Remove and insert
    Java Syntax, Level 7, Lesson 6
    Under discussion
    a question package com.codegym.task.task07.task0711; import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.ArrayList; /* Remove and insert */ public class Solution { public static void main(String[] args) throws Exception { //write your code here ArrayList
    • 5/21/19
    • 1765views
    • 7comments
    0
  • dean
    Level 8
    Deutschland
    Question about the task Shortest or longest
    Java Syntax, Level 7, Lesson 6
    Under discussion
    What am i missing here?thanks
    • 5/21/19
    • 1420views
    • 3comments
    0
  • Thomas
    Level 13
    Scottsdale
    Under discussion
    Hints --- AddTenPercent --- additional step to highlight the math ( number + percentage increase = new total ) I added an extra step to calculate to ADD the Percentage INCREASE onto the int value passed into the formula ( value + % increase = Total ) double pct = .10; double moreTotal = i * pct; double increase = moreTotal + i; // Consider this example: return 123
    • 5/19/19
    • 1338views
    • 1comment
    0
  • IrnBruKing
    Level 7
    Falls Church
    Under discussion
    A better way of doing it?Hello, Is there a better, more concise way of writing the code? Is there a way of shortening the below code? /* Hello, StarCraft! */ public class Solution { public static void main(String[] args) { Zerg z1 = new Zerg(); z1.name = "Drone"; Zerg z2 = new Zerg();
    • 5/20/19
    • 1344views
    • 1comment
    0
  • hidden #10444258
    Level 4
    Under discussion
    problem login ChromeI cannot login by Google Account in Chrome Browser. I am logged on Edge but I would like to use Chrome because of its Translate page option. When I try to login in with Google account i get this error: Error 404. Sorry, the page wasn't found. What can I do?
    • 5/20/19
    • 1482views
    • 2comments
    0
  • dean
    Level 8
    Deutschland
    Question about the task Create a Rectangle class
    Java Syntax, Level 5, Lesson 9
    Resolved
    How to create a copy of another rectangle passed in as an argument?hey this code doesn't work i know it something to do with th way i create a copy of another rectangle passed in as an argument ON LINE 36~.. what am i missing? thanks! package com.codegym.task.task05.task0520; /* Create a Rectangle class */ public class Rectangle { //write your code here
    • 4/25/19
    • 3072views
    • 15comments
    0
  • Hadiqa
    Level 8
    Lahore
    Question about the task To the top of the list
    Java Syntax, Level 7, Lesson 6
    Resolved
    Please help identifying the problem.When I run my code, it works perfectly fine. It also fulfills all the conditions but somehow it's not verifying.I can't see where the problem is. Please help to identify it.
    • 1/25/19
    • 2002views
    • 4comments
    0
  • Alexey
    Level 7
    Chernihiv
    Question about the task Longest string
    Java Syntax, Level 7, Lesson 6
    Archived
    not valid code(( help me pls.what i've done wrong? I cant understand. Help me please.
    • 3/19/19
    • 1770views
    • 8comments
    0
  • Swati
    Level 8
    Pune
    Question about the task Method quartet
    Java Syntax, Level 8, Lesson 6
    Resolved
    verification gives errorplease help
    • 1/30/19
    • 1933views
    • 4comments
    0
  • Johnson Jose
    Level 10
    Edinburgh
    Question about the task R or L
    Java Syntax, Level 7, Lesson 9
    Under discussion
    What is wrong with my fix method?I don't get why my logic doesn't work
    • 5/21/19
    • 1465views
    • 4comments
    0
  • Djole
    Level 41
    Belgrade
    Question about the task 2048 (part 6)
    Java Multithreading, Level 10, Lesson 15
    Resolved
    bugged??private boolean mergeTiles(Tile[] tiles){ //consolidateTiles(tiles); boolean madeChanges = false; for (int j = 0; j < 3; j++) { if (tiles[j].value == tiles[j + 1].value) { tiles[j] = new Tile(tiles[j].value * 2); tiles[j + 1] =
    • 5/20/19
    • 1637views
    • 2comments
    0
  • Павел Артеменко
    Level 41
    Krasnodar
    Question about the task This weird BigDecimal
    Java Multithreading, Level 9, Lesson 9
    Resolved
    Bugged?Or am I missed something?
    • 5/20/19
    • 1632views
    • 3comments
    0
  • Naizak
    Level 9
    Question about the task R or L
    Java Syntax, Level 7, Lesson 9
    Under discussion
    I can't find the problem.Why the remove method does not work?
    • 5/20/19
    • 1719views
    • 2comments
    0
  • Haither
    Level 4
    Bangalore
    Question about the task Task with percentages
    Java Syntax, Level 3, Lesson 3
    Resolved
    What is the issue here ????package com.codegym.task.task03.task0304; /* Task with percentages */ public class Solution { public static double addTenPercent(int i) { //write your code here double a = i*10/100; double tage = i + a; return tage; } public static void main(
    • 5/16/19
    • 2225views
    • 10comments
    0
  • Thomas
    Level 13
    Scottsdale
    Under discussion
    Level 3 Display The Right Way ---- Stuck --- please have a look -- -THXI have tried many different ways ... see commented out code public static void main(String[] args) { a = "Hello, "; b = "Amigo!"; printString("Hello, Amigo!"); // printString(s); // printString(a + b); } public static void printString(String s)
    • 5/20/19
    • 1300views
    • 1comment
    0
  • hidden #10451198
    Level 14
    Question about the task Crossing the road blindly
    Java Syntax, Level 4, Lesson 4
    Under discussion
    Thats isn't workingWhat here is wrong?
    • 5/17/19
    • 1804views
    • 2comments
    0
  • 1
  • ...
  • 322
  • 323
  • 324
  • 325
  • 326
  • ...
  • 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