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
  • Divakar Reddy
    Level 15
    Nandyal
    Question about the task Drawing a rectangle
    Java Syntax, Level 4, Lesson 13
    Under discussion
    whats problem with my code
    • 28.06.2019
    • 1152views
    • 4comments
    0
  • nagabenang
    Level 6
    Bekasi
    Question about the task Positive number
    Java Syntax, Level 4, Lesson 7
    Resolved
    0 0 0 is read as 0 not nothingSo my code is as follows: if (a > 0) a = 1; if (b > 0) b = 1; if (c > 0) c = 1; if (a < 0 && b < 0 && c < 0) System.out.print(0); else System.out.print(a + b + c); The question is, why the program insist that number 0 is there when the code clearly states that the
    • 25.06.2019
    • 1351views
    • 1comment
    0
  • Kisszol
    Level 15
    Toeroekbalint
    Question about the task Catching custom exceptions
    Java Syntax, Level 9, Lesson 8
    Resolved
    Mi ne scias kila mia solvo ne validas, I don't know why my solution is not validatedLa solvo aperas funkcii, sed la sistemo ne akceptas gxin. Kial ? The solution seems to be working, but the system does not accept it. Why ?
    • 26.03.2019
    • 2085views
    • 3comments
    0
  • Mikayla Pace
    Level 27
    Salt Lake City
    Question about the task Task about algorithms
    Java Syntax, Level 5, Lesson 12
    Archived
    Why isn't my code printing?I keep getting a number format exception on my parseInt areas of code, saying that I am trying to convert null to an int. I input number in the input area of the screen, why won't it read my input?
    • 25.06.2019
    • 1469views
    • 6comments
    0
  • Paola Violeta Lopez
    Level 2
    Bethlehem
    Question about the task Pay raise
    Java Syntax, Level 2, Lesson 2
    Under discussion
    I do not know how to solve this, please help me with explanationspackage 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 int a = System.out.println(Your salary is: dol
    • 26.06.2019
    • 985views
    • 1comment
    0
  • ddi
    Level 18
    Dortmund
    Question about the task In decreasing order
    Java Syntax, Level 7, Lesson 12
    Under discussion
    How do i use the Arrays.sort?He does not recognize the arrays.sort, what am i missing?
    • 25.06.2019
    • 1218views
    • 1comment
    0
  • JGO
    Level 4
    San Jose
    Question about the task Minimum of four numbers
    Java Syntax, Level 2, Lesson 8
    Resolved
    confused about returning am i using the wrong method in this code or is there a way i can edit the code without clearing the code ?
    • 05.01.2019
    • 1733views
    • 12comments
    0
  • JeRiF94
    Level 22
    Baku
    Question about the task Most frequent bytes
    Java Core, Level 8, Lesson 3
    Under discussion
    Help MEDiscuss please this one , I think I am right conclusion.
    • 03.06.2019
    • 1318views
    • 3comments
    0
  • senthamil
    Level 18
    Korampallam
    Question about the task Writing to a file from the console
    Java Core, Level 3, Lesson 11
    Under discussion
    how to give file name on console how to give file name on console I am giving like "d:\test.txt" but error is coming
    • 27.06.2019
    • 1341views
    • 1comment
    0
  • Jacob
    Level 6
    Warsaw
    Question about the task Maximum of four numbers
    Java Syntax, Level 4, Lesson 6
    Under discussion
    Last conditionNo idea how to pass the last condition.
    • 26.06.2019
    • 1095views
    • 2comments
    1
  • Robert
    Level 1
    Lombard
    Question about the task Overloading constructors
    Java Core, Level 5, Lesson 12
    Resolved
    Stuck in a subSolutionI can not figure out why this is not passing any requirements for the subSolution class. Any ideas?
    • 25.06.2019
    • 1419views
    • 1comment
    0
  • Jacob Warren
    Level 8
    Tampa
    Question about the task Console-based piggy bank
    Java Syntax, Level 5, Lesson 12
    Resolved
    Don't really understand what is wrong with this code.To me, this code looks right, but the checker keeps saying that it's wrong and I have no idea where to go from​ here.
    • 25.05.2019
    • 1652views
    • 4comments
    0
  • abhishek karumuri
    Level 8
    Columbus
    Question about the task Jen or Jen?
    Java Syntax, Level 4, Lesson 6
    Under discussion
    Got the output correct - Still Requirements were not satisfied ??Hi Folks, I could not figure out whats the problem here in my code. I get the output when I enter same names and different names. However, it states one of the requirement is missing.
    • 26.06.2019
    • 1513views
    • 2comments
    0
  • Angeget
    Level 22
    Potsdam
    Question about the task Working with dates
    Java Syntax, Level 8, Lesson 11
    Resolved
    Need help!No idea why the last requirement is still not fufilled. Help please
    • 14.01.2019
    • 2282views
    • 2comments
    2
  • Henk
    Level 19
    Pretoria
    Question about the task Take your turn!
    Java Core, Level 6, Lesson 13
    Resolved
    Here's a tip: you can add a class wide String variable in the class Read3StringsThey show you where you should add your code, and normally if you code outside of that, this marks the task incorrect. In this case, I couldn't see how I can print a string from one function (the RUN method) in another method (printResult) if it wasn't visible to the whole class.
    • 29.05.2019
    • 1376views
    • 0comments
    2
  • Voris
    Level 10
    Tashkent
    Question about the task Playing Javarella
    Java Syntax, Level 7, Lesson 9
    Under discussion
    Can't find what's wrong. Error: class, interface, or enum expectedpublic class Solution { public static void main(String[] args) throws Exception { BufferedReader bf = new BufferedReader(new InputStreamReader(System.in)); ArrayList list = new ArrayList(); ArrayList three = new ArrayList(); ArrayList two = new ArrayList(
    • 24.06.2019
    • 1479views
    • 3comments
    0
  • Nehal Abubakar
    Level 7
    Karachi
    Question about the task Plan to conquer the world
    Java Syntax, Level 3, Lesson 8
    Under discussion
    Plz help me outHelp me out plzz with the lasr error.
    • 25.08.2018
    • 1444views
    • 4comments
    0
  • x3m
    Level 9
    Lund
    Question about the task Duplicating words
    Java Syntax, Level 7, Lesson 9
    Under discussion
    what is wronghello what is wrong with my solution
    • 26.06.2019
    • 1119views
    • 2comments
    0
  • stjepang
    Level 8
    Sveti Iija
    Question about the task Kind Emma and the summer holidays
    Java Syntax, Level 8, Lesson 8
    Under discussion
    What is wrong with createMap() method? Help please !What is wrong with createMap() method? Help please !
    • 26.06.2019
    • 1200views
    • 1comment
    0
  • Online Learner
    Level 6
    Question about the task Seasons on Terra
    Java Syntax, Level 4, Lesson 4
    Resolved
    can you tell me what i did wrong with this codehelp it out
    • 25.06.2019
    • 1564views
    • 2comments
    0
  • Thango Ö
    Level 9
    Chennai
    Question about the task HashMap of 10 pairs
    Java Syntax, Level 8, Lesson 3
    Under discussion
    Why i got this err..? Anyone thr to help me out?
    • 30.01.2019
    • 1410views
    • 6comments
    0
  • Augusto
    Level 13
    Callao
    Question about the task HashSet of plants
    Java Syntax, Level 8, Lesson 3
    Under discussion
    HashSet variable missingWhat is wrong? First it wouldn't compile until I changed the import line for import java.util.*; and now I need to declare a hashSet variable that it is there...
    • 20.06.2019
    • 1549views
    • 3comments
    0
  • Prakash
    Level 1
    Mumbai
    Under discussion
    What is the insufficient dark mattersinsufficient dark matters means? And use
    • 25.04.2019
    • 1312views
    • 1comment
    0
  • Sameer
    Level 8
    Basna
    Question about the task In decreasing order
    Java Syntax, Level 7, Lesson 12
    Under discussion
    What's wrong here? the output is correct every time but it's not getting accepted.
    • 25.06.2019
    • 1157views
    • 1comment
    0
  • Online Learner
    Level 6
    Question about the task Rule of the triangle
    Java Syntax, Level 4, Lesson 4
    Resolved
    what's wrong with this code i try to much time but note getting result
    • 25.06.2019
    • 1235views
    • 1comment
    0
  • William Hoang
    Level 10
    Hanoi
    Question about the task Drawing a rectangle
    Java Syntax, Level 4, Lesson 13
    Under discussion
    I don't know why I write wrong code :(I don't know why I write wrong code :( it requires to draw an n x m rectangle of eight. i write a code (drawLine) to draw top and bot of rectangle. i write a code (drawSpace) to draw left and right of rectangle. and a code (rectangle) to draw completely rectangle. My code run ok. i try 2x4 , 3x5 ,
    • 25.06.2019
    • 1191views
    • 1comment
    0
  • Marilyn Free
    Level 4
    Pensacola
    Question about the task Product of 10 numbers
    Java Syntax, Level 3, Lesson 4
    Under discussion
    I'm not sure what to do from here...any suggestions?I'm
    • 01.11.2018
    • 2118views
    • 11comments
    0
  • Online Learner
    Level 6
    Resolved
    why i did not ask a question about a taskthe erroe will show invalid request
    • 24.06.2019
    • 833views
    • 0comments
    0
  • vivek mankar
    Level 9
    Nagpur
    Question about the task Streets and houses
    Java Syntax, Level 7, Lesson 4
    Archived
    I am not getting this ..what's the problem ??
    • 16.06.2019
    • 1173views
    • 4comments
    0
  • Serg
    Level 23
    Tyumen
    Question about the task Hippodrome (part 1)
    Java Multithreading, Level 1, Lesson 16
    Resolved
    I do not understand why I have mistakes?I do not understand why I have mistakes? Two public classes are created in separate files. What is the problem?
    • 25.06.2019
    • 1138views
    • 1comment
    0
  • 1
  • ...
  • 305
  • 306
  • 307
  • 308
  • 309
  • ...
  • 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