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
Ask a question
Java 25
All quests
All levels
Any status
Questions about tasks
Hot
hidden #10424566
Level 7
Question about the task
Task about algorithms
Java Syntax
,
Level 5
,
Lesson 12
Archived
Can't understand how to solve the last bit
Kindly help
2/11/19
1887
views
8
comments
0
Ronaldo M
Level 2
Chennai
Question about the task
CodeGym. Learn once - use anywhere
Java Syntax
,
Level 1
,
Lesson 4
Under discussion
What is wrong in my code ? and why does it not match with the task
I cant identify my error
8/24/18
1581
views
5
comments
0
Mohamad
Level 4
Question about the task
Escaping characters
Java Syntax
,
Level 3
,
Lesson 6
Resolved
I did not understand what does that mean or what to do with it can someone explain this to me please....
Display the following text (two lines): This is a Windows path: "C:\Program Files\Java\jdk1.8.0_172\bin" This is a Java string: \"C:\\Program Files\\Java\\jdk1.8.0_172\\bin\" Hint: \” – Insert a double quote character in the text at this point. \\ – Insert a backslash character in the text at this
11/15/18
2258
views
3
comments
0
Bryce Lindley
Level 9
Olympia
Resolved
Wont compile without errors.
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 here InputStream inputStream = System.in; Reader inputStreamR
2/12/19
1288
views
3
comments
0
Jane
Level 3
Cape Town
Question about the task
The humble programmer
Java Syntax
,
Level 3
,
Lesson 8
Under discussion
Screen output 83?
Hi Why does this code return screen output 83? (see screenshot of code) Later I tried the same code but to return a string and I get an error : com/codegym/task/task03/task0320/Solution.java:14: error: incompatible types: int cannot be converted to java.lang.String String name = r
2/14/19
1480
views
1
comment
0
William Leininger
Level 5
Vancouver, WA
Question about the task
Crossing the road blindly
Java Syntax
,
Level 4
,
Lesson 4
Under discussion
I'm lost why both buffered reader and scanner don't verify.
package com.codegym.task.task04.task0416; /* Crossing the road blindly */ import java.util.Scanner; import java.io.*; public class Solution { public static void main(String[] args) throws Exception { //write your code here BufferedReader reader = new BufferedReader(new Input
2/10/19
2133
views
3
comments
0
Abhishek Raj Gupta
Level 4
Sonipat
Under discussion
plugin is install in intellij.but everytime it shows "The CodeGym server is being unavailable. Wait a little, restart IntelliJ IDEA and try again" what should i do ???
Intelij is unable to sync with godegym server
2/14/19
1511
views
1
comment
0
Jan kirk
Level 19
Venkatagiri
Question about the task
Dividing is good
Java Syntax
,
Level 3
,
Lesson 1
Under discussion
Installation of CodeGym plugin
Hi All After having successfully installed Intelli IDEA and SDK 11, and the CodeGym plugin : I click on the task list button, but only completed tasks show up, how do I get the others ? Regards Jan Kirk
2/14/19
1685
views
1
comment
0
Joy Majumdar
Level 16
Kolkata
Question about the task
R or L
Java Syntax
,
Level 7
,
Lesson 9
Under discussion
Canot get it
How to make it check the all index ? package com.codegym.task.task07.task0716; import java.util.ArrayList; /* R or L */ public class Solution { public static void main(String[] args) throws Exception { ArrayList list = new ArrayList(); list.add("rose"); // 0 list.ad
1/28/19
1362
views
2
comments
0
anotherLearner
Level 18
Barcelona
Question about the task
CRUD
Java Core
,
Level 7
,
Lesson 10
Resolved
I think my logic is correct but i dont know how to make it work.
I never worked with main(String[] args) before! Help will be apreciated, thanks!
1/24/19
2310
views
6
comments
2
Jeff Lamb
Level 3
Littleton
Question about the task
Don't feel like it? Do it anyway.
Java Syntax
,
Level 1
,
Lesson 8
Resolved
"The main method should call the sqr method with 5 as an argument."
I am having trouble with one error. "The main method should call the sqr method with 5 as an argument." This is what I got so far. int a = 5; sqr(5); //Note that I tried it sqr(a) but same error. System.out.println(sqr(a)); I am stumped as to how to resolve this. I am sure
2/13/19
1645
views
2
comments
0
Juan Gallardo
Level 10
Edmonton
Question about the task
Shuffled just in time
Java Syntax
,
Level 7
,
Lesson 12
Resolved
Not sure what the problem is
11/12/18
2714
views
8
comments
0
Dreni Mujaj
Level 7
Peja
Question about the task
Ascending numbers
Java Syntax
,
Level 6
,
Lesson 11
Under discussion
LAST CONDITION??
I dont know anyway how to complete the last condition??
1/25/19
1464
views
5
comments
0
Deepak Rana
Level 4
Bazpur
Question about the task
Our first converter!
Java Syntax
,
Level 2
,
Lesson 2
Under discussion
what is double ?
just tell me what is double and its function
9/20/18
1754
views
7
comments
0
Abhishek Raj Gupta
Level 4
Sonipat
Question about the task
Plan to conquer the world
Java Syntax
,
Level 3
,
Lesson 8
Under discussion
help
System.out.println(name+" will take over the world in "+year+" years. Mwa-ha-ha!");
2/13/19
1496
views
1
comment
0
Abhishek Raj Gupta
Level 4
Sonipat
Question about the task
Plan to conquer the world
Java Syntax
,
Level 3
,
Lesson 8
Under discussion
how to do
import java.io.*; import java.util.Scanner; public class Solution { public static void main(String[] args) throws Exception { Scanner scanner = new Scanner(System.in); String name = scanner.next(); int years = scanner.nextInt(); System.out.print(name.nex
2/13/19
1385
views
1
comment
0
Simona Da Boom
Level 2
Plovdiv
Question about the task
Choose healthy food! Choose fruit!
Java Syntax
,
Level 1
,
Lesson 8
Archived
I don;t realize where's the problem.
package com.codegym.task.task01.task0135; /* Two roads diverged in a yellow wood */ public class Solution { public static void main(String[] args) { String apple = "Apple"; // 0String porridge = "Porridge"; // String sausage = "Sausage"; String peach = "Peach";
2/12/19
1468
views
3
comments
0
Patricio
Level 3
Santiago
Under discussion
Help me please!! Why is this failing?
package com.codegym.task.task02.task0216; /* Minimum of three numbers */ public class Solution { public static int min(int a, int b, int c) { //write your code here int min3 = 0; if(a < b && a < c ){ min3=a; } else if(b < a &am
2/13/19
1575
views
3
comments
0
hidden #10424566
Level 7
Question about the task
Controlling body weight
Java Syntax
,
Level 6
,
Lesson 8
Resolved
help please
I can't seem to see the problem with my code yet there is an error for : normal and overweight displays
2/13/19
2551
views
2
comments
0
hidden #10424566
Level 7
Question about the task
Even and odd digits
Java Syntax
,
Level 6
,
Lesson 5
Under discussion
Help
Can't get what is wrong
2/12/19
1448
views
2
comments
0
AshsihArun
Level 0
Delhi
Under discussion
Please explain me this c#.net code...
schedule.cs using System; using System.Collections.Generic; using System.Drawing; using System.Drawing.Drawing2D; using System.Windows.Forms; namespace Scheduling { public class Schedule { private int[] jobSchedule; private int[] macSchedule; int j, p, m; fl
2/13/19
2354
views
1
comment
0
Rajasekhar
Level 9
Palo Alto
Question about the task
A programmer creates a person
Java Syntax
,
Level 5
,
Lesson 7
Under discussion
Static class can not be created as object
Static class can not be created as object rght,how this task was completed by creating object for static class,please some one explain
2/9/19
1471
views
1
comment
0
DASARI SRIHARSHA
Level 2
hyderabad
Question about the task
Square of a number
Java Syntax
,
Level 1
,
Lesson 8
Archived
what was the error here? can any one rectify it...plzz
what is wrong with my code??
1/11/19
1601
views
7
comments
0
Hadiqa
Level 8
Lahore
Question about the task
In decreasing order
Java Syntax
,
Level 7
,
Lesson 12
Resolved
Please help me find the error.
I can't figure out why this code is not working correctly.
2/12/19
1786
views
1
comment
0
Dino
Level 13
Zagreb
Question about the task
Functionality is not enough!
Java Syntax
,
Level 10
,
Lesson 11
Resolved
Can you help me? Last condition not verifying..
Can you help me? Last condition not verifying..
2/7/19
2064
views
2
comments
0
Raisa Toscano
Level 27
Tepic
Question about the task
Display a list of keys
Java Syntax
,
Level 8
,
Lesson 3
Resolved
why it prints null?
12/27/18
2008
views
2
comments
0
Balen Asangbeh
Level 23
Douala
Question about the task
Method in a try-catch
Java Syntax
,
Level 9
,
Lesson 11
Under discussion
please what is wrong with the code
package com.codegym.task.task09.task0921; import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.List; /* Method in a try-catch */ public class Solution { public static void main(String[] args) { readData(); } public st
2/12/19
1420
views
1
comment
0
SWAPNIL SHUKLA
Level 7
Baddi
Question about the task
Plan to conquer the world
Java Syntax
,
Level 3
,
Lesson 8
Under discussion
help me out!!
The code is not compiling
2/11/19
1469
views
3
comments
0
Hadiqa
Level 8
Lahore
Question about the task
The end
Java Syntax
,
Level 7
,
Lesson 12
Resolved
Please help me find the error
The output of my code is not correct. It skips some of the strings and I can't find what the problem is.
2/11/19
1924
views
2
comments
1
hidden #10424566
Level 7
Question about the task
Console-based piggy bank
Java Syntax
,
Level 5
,
Lesson 12
Under discussion
Need assistance to tackle this question
Kindly help.
2/11/19
1289
views
4
comments
0
Show more
1
...
345
346
347
348
349
...
374
Please enable JavaScript to continue using this application.