CodeGym University
Learning
Course
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
All quests
All levels
Any status
Questions about tasks
Hot
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
15.11.2018
1822
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
12.02.2019
992
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
14.02.2019
1100
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
10.02.2019
1436
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
14.02.2019
1157
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
14.02.2019
1328
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
28.01.2019
1085
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!
24.01.2019
2009
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
13.02.2019
1300
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
12.11.2018
2325
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??
25.01.2019
1192
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
20.09.2018
1261
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!");
13.02.2019
1138
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
13.02.2019
1069
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";
12.02.2019
1186
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
13.02.2019
1049
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
13.02.2019
2255
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
12.02.2019
1195
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
13.02.2019
1945
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
09.02.2019
1125
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??
11.01.2019
1210
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.
12.02.2019
1498
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..
07.02.2019
1770
views
2
comments
0
Raisa Toscano
Level 22
Tepic
Question about the task
Display a list of keys
Java Syntax
,
Level 8
,
Lesson 3
Resolved
why it prints null?
27.12.2018
1686
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
12.02.2019
1082
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
11.02.2019
1142
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.
11.02.2019
1549
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.
11.02.2019
1028
views
4
comments
0
Aditya Ashtikar
Level 8
Kaul
Question about the task
Cat code won't compile
Java Syntax
,
Level 7
,
Lesson 12
Resolved
Help!
Couldn't understand what's wrong with this?
08.08.2018
1423
views
5
comments
0
SIDDHARTHA BISWAS
Level 9
Bhubaneshwar
Question about the task
Longest string
Java Syntax
,
Level 7
,
Lesson 6
Archived
its runing in IntelliJ but not here..whatsthe error help !
help
11.02.2019
956
views
2
comments
0
Show more
1
...
337
338
339
340
341
...
366
Please enable JavaScript to continue using this application.