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
  • Harika Yantrapragada
    Level 7
    Hyderabad
    Question about the task Plan to conquer the world
    Java Syntax, Level 3, Lesson 8
    Resolved
    it says "Be sure that you haven't mixed up the order of reading in the name and number from the keyboard. Check the conditions." what's wrong with my code?
    • 31.10.2018
    • 1696views
    • 22comments
    0
  • errorCode
    Level 9
    Makati
    Question about the task Let's make the code do something useful!
    Java Syntax, Level 9, Lesson 11
    Under discussion
    Whats wrong with my code?I think my logic is correct
    • 31.10.2018
    • 1348views
    • 1comment
    0
  • Swati
    Level 8
    Pune
    Question about the task Plan to conquer the world
    Java Syntax, Level 3, Lesson 8
    Resolved
    please help me in the task at earliest.Giving me task failed to pass testing bcoz reason is -Carefully check the displayed text. It looks like you made a typo.and i m not getting the mistake.
    • 26.10.2018
    • 1561views
    • 5comments
    0
  • Sindhura
    Level 15
    Delhi
    Question about the task Bridges
    Java Core, Level 4, Lesson 8
    Under discussion
    Not verifying..Please help package com.codegym.task.task14.task1409; /* Bridges */ public class Solution { public static void main(String[] args) { println(new WaterBridge()); println(new SuspensionBridge()); } public static Object println(Object o){ if (o instanceof WaterBridge){
    • 20.10.2018
    • 1497views
    • 1comment
    0
  • Somya Gupta
    Level 4
    Vrindavan
    Question about the task Predictions
    Java Syntax, Level 3, Lesson 8
    Under discussion
    plzz wats wrong
    • 28.08.2018
    • 1497views
    • 2comments
    0
  • Austin
    Level 3
    Houston
    Question about the task Plan to conquer the world
    Java Syntax, Level 3, Lesson 8
    Under discussion
    Is this a bug why I am failing or am I doing something wrong?The program is perfectly working, I am not sure why it is not passing me on the last criteria...
    • 30.10.2018
    • 1367views
    • 5comments
    0
  • kapil
    Level 12
    delhi
    Question about the task Remove and insert
    Java Syntax, Level 7, Lesson 6
    Resolved
    my code is correct otherway but wrong another way>>>>>please helpfor(int i = 0; i < 13; i++){ arr.add(0, arr.get(12)); //String d = arr.get(12); //arr.remove(12); //arr.add(0, d); } ......>>>> in above lines of code i used first statement inside loop and result was as per requirement......replacing of
    • 30.10.2018
    • 1372views
    • 4comments
    0
  • Ravi Kumar
    Level 5
    Hyderabad
    Question about the task Plan to conquer the world
    Java Syntax, Level 3, Lesson 8
    Under discussion
    query on order of data inputEnter the number and name from the keyboard. Display the following string: will take over the world in years. Mwa-ha-ha! Here's an example: Kevin will take over the world in 8 years. Mwa-ha-ha! The order in which the data is input matters a lot. ................ solution is worked for define ag
    • 30.10.2018
    • 1351views
    • 2comments
    0
  • WonderWoman
    Level 8
    Bangalore
    Question about the task Name register
    Java Syntax, Level 4, Lesson 2
    Under discussion
    My code hasn't qualified for Condition #5, but still compiled and ran successfully, completing the task. My code hasn't qualified for Condition #5, but still compiled and ran successfully, completing the task. Please execute to see the output of the print lines. Unable to attach the code snippet, since the task has already been solved.
    • 05.09.2018
    • 2004views
    • 5comments
    0
  • Md Sait
    Level 4
    Hyderabad
    Under discussion
    I forgot input process Logic and i am not able to understand it now, please help mei am not able to understand the logic of these process, please help me to understand what these lines doing here step by step { InputStream c = System.in; Reader c1 = new InputStreamReader(c); BufferedReader bf = new BufferedReader(c1); name=bf.readLine();
    • 29.10.2018
    • 1257views
    • 2comments
    2
  • Mohit Swain
    Level 9
    Bhubaneswar
    Question about the task Pay raise
    Java Syntax, Level 2, Lesson 2
    Under discussion
    What is the diffrence? between the two plus signs?see gap and no gap, Code gym compiler is showing different colours of plus sign in both cases.public class Main { public static void main(String[] args) { int a; System.out.println(a+1000); System.out.println(a + 1000); } }
    • 28.10.2018
    • 1638views
    • 4comments
    0
  • nithya lmk
    Level 4
    Bangalore
    Question about the task Number of days in the year
    Java Syntax, Level 4, Lesson 4
    Under discussion
    I cant seem to find out the error public static void main(String[] args) throws Exception { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); String syr = reader.readLine(); int nyr = Integer.parseInt(syr); if( (nyr%4 == 0) && (nyr% 100 != 0)) {
    • 28.08.2018
    • 1837views
    • 3comments
    0
  • Vijay Rangan
    Level 5
    Jakarta
    Question about the task Plan to conquer the world
    Java Syntax, Level 3, Lesson 8
    Resolved
    it's not even getting execute 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 herez InputStream inputStream = System.in; Reader InputStreamReader = new
    • 05.10.2018
    • 1512views
    • 6comments
    0
  • arindam mitra
    Level 5
    Gwalior
    Question about the task No comments needed
    Java Syntax, Level 0, Lesson 8
    Resolved
    During compilation error occurs public class Solution { public static void main(String[] args) { //int a,b; int x = 2; int y = 12; x = y - x ; y = y - x ; x = x + y ; // x = x * 3; // y = x + y; // x = y - x; // y = y - x; // int a = y;
    • 24.10.2018
    • 1389views
    • 2comments
    0
  • arindam mitra
    Level 5
    Gwalior
    Question about the task My young friend
    Java Syntax, Level 0, Lesson 4
    Resolved
    What is wrong in this code? /* My young friend */ public class Solution { public static void main(String[] args) { //int x,y,z; int x = 3126; int y = 8; int z = x - y; // String s = "my friend's birth year is " + "z"; System.out.print("z"); } }
    • 23.10.2018
    • 1759views
    • 2comments
    0
  • kapil
    Level 12
    delhi
    Resolved
    below code solution not being verifiedDecent pay Using a loop to display the following phrase one hundred times: "I will never work for peanuts. Amigo" Display each value on a new line. Requirements: 1. The program should not read text from the keyboard. 2. The program should display text on the screen. 3. The program should display t
    • 24.10.2018
    • 1281views
    • 1comment
    0
  • niki4etoo
    Level 8
    Ruse
    Question about the task Playing Javarella
    Java Syntax, Level 7, Lesson 9
    Under discussion
    Where I made a mistake ?When I run the code, it seems that the output is proper.
    • 11.09.2018
    • 1498views
    • 5comments
    0
  • Neha Anjum
    Level 6
    Hyderabad
    Question about the task A name is a name
    Java Syntax, Level 4, Lesson 16
    Resolved
    Whats the error for..??import java.io.*; public class Solution { public static void main(String[] args) throws Exception { //write your code here BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); String name = reader.readLine(); int dd = Integer.parseInt(rea
    • 17.09.2018
    • 2368views
    • 5comments
    0
  • Hackaholic5069
    Level 2
    Wasilla
    Under discussion
    why is this not read correctly by the compiler?for task "display the square of a number" i run public class Solution { public static int number = 25; public static void main(String[] args) { int a = 5; int b = a * a ; System.out.println(b); } }; and it says that it is not a square... what is wrong here the
    • 26.10.2018
    • 1257views
    • 1comment
    0
  • Usman Jutt
    Level 4
    Pir Mahal
    Question about the task Plan to conquer the world
    Java Syntax, Level 3, Lesson 8
    Under discussion
    this is the answer when i run it.Plz help to solve it."null wil take over the world in null years. Mwa-ha-ha"?help me
    • 26.10.2018
    • 1690views
    • 7comments
    0
  • Rad
    Level 8
    Maidstone
    Question about the task Improving functionality
    Java Syntax, Level 5, Lesson 12
    Resolved
    i need helpplease check last condition is not satisfied
    • 26.10.2018
    • 2049views
    • 1comment
    0
  • Swati
    Level 8
    Pune
    Question about the task Plan to conquer the world
    Java Syntax, Level 3, Lesson 8
    Resolved
    why giving me null value?can anyone help?I am getting null value,when i run this simple program.I am not getting where is problem?
    • 25.10.2018
    • 1657views
    • 3comments
    0
  • Guruprasad
    Level 1
    Bangalore
    Question about the task My young friend
    Java Syntax, Level 0, Lesson 4
    Under discussion
    Unable to find the logicpublic class Solution { public static void main(String[] args) { int x = 3126; int y= 8; int z=x-y; System.out.println("my friend's birth year" +z); } } Unable to find the logic
    • 25.10.2018
    • 1312views
    • 4comments
    0
  • Bilal Rao
    Level 2
    Lahore
    Question about the task We solemnly publish and declare these variables...
    Java Syntax, Level 1, Lesson 3
    Under discussion
    tell me solutionDeclare int variables called a and b. In the same line in which the variables are declared, immediately assign them different values. The values ​​can be any integers. Requirements: 1. Declare two int variables. 2. The variables must be named a and b. 3. The variables must be immediately assigned v
    • 26.10.2018
    • 1834views
    • 1comment
    0
  • Rad
    Level 8
    Maidstone
    Question about the task Man and woman
    Java Syntax, Level 5, Lesson 12
    Resolved
    i need helpwhat's wrong in my code, last condition is not satisfied give me solution
    • 26.10.2018
    • 1819views
    • 4comments
    0
  • Rad
    Level 8
    Maidstone
    Question about the task Console-based piggy bank
    Java Syntax, Level 5, Lesson 12
    Under discussion
    i need helpwhat is wrong in my code
    • 26.10.2018
    • 1465views
    • 3comments
    0
  • Ahmed Saeed
    Level 18
    Baunatal
    Question about the task Functionality is not enough!
    Java Syntax, Level 10, Lesson 11
    Under discussion
    Can anyone please tell me, why is it not Verifying?Can anyone please tell me, why is it not Verifying?
    • 25.10.2018
    • 1568views
    • 3comments
    0
  • sriharsha
    Level 1
    Hyderabad
    Question about the task 2 + 3 = 5
    Java Syntax, Level 0, Lesson 8
    Resolved
    pls helphow to print that command without add
    • 26.10.2018
    • 1481views
    • 4comments
    0
  • M suleman
    Level 20
    Lahore
    Question about the task Animal identification
    Java Core, Level 2, Lesson 2
    Under discussion
    plz explain how to pass an object argument from methodpublic class Solution { public static void main(String[] args) { System.out.println(getObjectType(new Cow())); System.out.println(getObjectType(new Dog())); System.out.println(getObjectType(new Whale())); System.out.println(getObjectType(new Pig())); } pu
    • 25.10.2018
    • 1830views
    • 1comment
    0
  • Swati
    Level 8
    Pune
    Question about the task More conversions
    Java Syntax, Level 3, Lesson 8
    Resolved
    error in return type intThe getFeetFromInches method must correctly return the number of full feet represented by the variable inches. What does this condition mean?giving me task failed for this condition.
    • 23.10.2018
    • 1923views
    • 3comments
    0
  • 1
  • ...
  • 359
  • 360
  • 361
  • 362
  • 363
  • ...
  • 371
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