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
  • 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
    • 20.05.2019
    • 1547views
    • 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?
    • 21.05.2019
    • 1452views
    • 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;(
    • 20.09.2018
    • 2950views
    • 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
    • 22.04.2019
    • 1333views
    • 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
    • 12.05.2019
    • 1590views
    • 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
    • 21.05.2019
    • 1642views
    • 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
    • 21.05.2019
    • 1285views
    • 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
    • 19.05.2019
    • 1219views
    • 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();
    • 20.05.2019
    • 1222views
    • 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?
    • 20.05.2019
    • 1337views
    • 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
    • 25.04.2019
    • 2889views
    • 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.
    • 25.01.2019
    • 1873views
    • 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.
    • 19.03.2019
    • 1623views
    • 8comments
    0
  • Swati
    Level 8
    Pune
    Question about the task Method quartet
    Java Syntax, Level 8, Lesson 6
    Resolved
    verification gives errorplease help
    • 30.01.2019
    • 1824views
    • 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
    • 21.05.2019
    • 1333views
    • 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] =
    • 20.05.2019
    • 1496views
    • 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?
    • 20.05.2019
    • 1489views
    • 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?
    • 20.05.2019
    • 1605views
    • 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(
    • 16.05.2019
    • 2045views
    • 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)
    • 20.05.2019
    • 1163views
    • 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?
    • 17.05.2019
    • 1660views
    • 2comments
    0
  • satish
    Level 15
    kadapa
    Question about the task Drawing a rectangle
    Java Syntax, Level 4, Lesson 13
    Under discussion
    what is errorwhats the problem in my code
    • 21.05.2019
    • 1398views
    • 1comment
    0
  • dean
    Level 8
    Deutschland
    Question about the task Longest string
    Java Syntax, Level 7, Lesson 6
    Archived
    My code not pass...What's wrong here it seems just fine to me...?
    • 21.05.2019
    • 1378views
    • 3comments
    0
  • Darko Jakimovski
    Level 18
    Kriva Palanka
    Question about the task Task about algorithms
    Java Syntax, Level 5, Lesson 12
    Archived
    It verified, then updated for some reason, and won't update again (with the same code) for some reasonWHY
    • 17.12.2018
    • 1388views
    • 6comments
    0
  • ann
    Level 4
    Dusseldorf
    Question about the task The humble programmer
    Java Syntax, Level 3, Lesson 8
    Resolved
    I have a typo The program compiles, but it doesn't verify
    • 04.12.2018
    • 2248views
    • 4comments
    0
  • Eduardo
    Level 23
    Coyoacan
    Question about the task Predictions
    Java Syntax, Level 3, Lesson 8
    Resolved
    Can't fing typoHi, please some advice, the mentor suggests that i have a typo, but I can't see it. Thanks.
    • 30.09.2018
    • 2209views
    • 5comments
    1
  • Kisszol
    Level 15
    Toeroekbalint
    Question about the task Plan to conquer the world
    Java Syntax, Level 3, Lesson 8
    Resolved
    I have tried everything, but the System always complainsSaluton Kollegoj, I have created the program eg. and the system complains, however I get exactly the String it's requires: What is the problem with my code ? The systams tells: Checked the program displays only the required string and nothing else. ************************************************
    • 21.02.2019
    • 2275views
    • 5comments
    1
  • Suhas Digambare
    Level 7
    Kolhapur
    Question about the task Plan to conquer the world
    Java Syntax, Level 3, Lesson 8
    Resolved
    task03.task0318 - Plan to conquer the worldi tried it both way by using Scanner and BufferedReader but it doesnt work i've got following error java.lang.NumberFormatException: Solution.java, method main, line: 17 Error converting a string to a number (invalid format). plz help me how to solve
    • 29.10.2018
    • 2762views
    • 15comments
    0
  • parth shah
    Level 3
    Mumbai
    Question about the task Display right away
    Java Syntax, Level 3, Lesson 3
    Under discussion
    what exactly codegym is trying to explain here ? i have just printed s here in the called method & its verified too. it looks like i m missing some point here which they are explaining
    • 01.12.2018
    • 1650views
    • 6comments
    0
  • hemant
    Level 8
    prayagraj
    Question about the task Don't feel like it? Do it anyway.
    Java Syntax, Level 1, Lesson 8
    Resolved
    is there any smaller way than using System.out.println() 16 timesis there any smaller way than using System.out.println() 16 times
    • 30.03.2019
    • 1499views
    • 10comments
    0
  • 1
  • ...
  • 320
  • 321
  • 322
  • 323
  • 324
  • ...
  • 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