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
Joyonta Saha
Level 31
Question about the task
Turnip
Java Core
,
Level 3
,
Lesson 11
Under discussion
How to pass TurnipStory.tell(plot);?
Need help!
9/20/18
2290
views
2
comments
0
David Sunil
Level 4
kakinada
Question about the task
Escaping characters
Java Syntax
,
Level 3
,
Lesson 6
Resolved
Help
8/14/18
1920
views
4
comments
0
krushika patel
Level 2
mumbai
Question about the task
Square of a number
Java Syntax
,
Level 1
,
Lesson 8
Archived
??
1. The program should output text. 2. The main method should call the sqr method with 5 as an argument. 3. The main method should display the result of the sqr method. 4. Don't change the sqr method. 5. The displayed text must match the task.
8/15/18
1716
views
5
comments
0
SAYAN SAMANTA
Level 10
Bangalore
Question about the task
Somehow average
Java Syntax
,
Level 4
,
Lesson 16
Resolved
where is the problem?
package com.codegym.task.task04.task0441; /* Somehow average */ import java.io.*; public class Solution { public static void main(String[] args) throws Exception { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); String sN1 = reader.readLine();
8/17/18
1884
views
1
comment
0
Sameen
Level 5
Resolved
Working with plugin
Can someone guide me on how to use intellJ IDEA for doing CodeGym tasks. Everything is installed, i just can't figure out how to use it for doing tasks. Explanation provided in the section "working with plugin" is not enough for me to understand. If someone could elaborate the one or two steps of th
8/10/18
1686
views
5
comments
0
krushika patel
Level 2
mumbai
Resolved
whats wrong??
public static int number = 25; public static void main(String[] args) { s=number*number; System.out.println("square of 25 is" +a);
8/10/18
1458
views
3
comments
0
Riya
Level 8
Karnal
Question about the task
Predictions
Java Syntax
,
Level 3
,
Lesson 8
Under discussion
give reason
why cannot find Symbol: class Scanner error
9/24/18
1656
views
1
comment
0
Masood
Level 6
Karachi
Question about the task
Roy G. Biv…
Java Syntax
,
Level 3
,
Lesson 6
Under discussion
Order is not correct
Getting the required output as follows, Red Orange Yellow Green Blue Indigo Violet Then why codegym is saying the order is not correct. Codegym please help!
8/31/18
1918
views
8
comments
0
Nirake_
Level 8
Mumbai
Question about the task
Declare variables
Java Syntax
,
Level 0
,
Lesson 4
Under discussion
what is the matter when it says that :
CLASS INTERFACE OR ENUM EXPECTED.
9/24/18
1563
views
1
comment
0
Arjun Kiruthivasan
Level 14
Chennai
Question about the task
Let's make the code do something useful!
Java Syntax
,
Level 9
,
Lesson 11
Under discussion
WHERE AM I WRONG??
pls tell me!!!
9/24/18
1884
views
2
comments
0
gery
Level 9
Islamabad
Question about the task
The end
Java Syntax
,
Level 7
,
Lesson 12
Resolved
unable to start
level 7, lesson 12, name: the end. **stuck at "how to take input untill user types 'the end'"..? public static void main(String[] args) throws IOException { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); ArrayList s = new ArrayList();
9/24/18
2108
views
12
comments
0
gery
Level 9
Islamabad
Resolved
where correction is necessary
public static void main(String[] args) { Thread.sleep(1000); for (int i = 30; i >= 0; i--) { System.out.println(i); Thread.sleep(1000); //write your code here } System.out.println("Boom!"); }
9/24/18
1794
views
8
comments
0
R@N@ AHM3D T@RIQ
Level 2
Lahore
Question about the task
Implement the print method
Java Syntax
,
Level 2
,
Lesson 1
Under discussion
How print method prinys each string 4 times in main method???
plz explain
9/20/18
3142
views
5
comments
0
gery
Level 9
Islamabad
Question about the task
Duplicating words
Java Syntax
,
Level 7
,
Lesson 9
Resolved
out of memory error on line 37
BufferedReader b = new BufferedReader(new InputStreamReader(System.in)); ArrayList s = new ArrayList(); for(int a=0; a<10; a++) { s.add(b.readLine()); } ArrayList result = doubleValues(s); for( String x: result)
9/23/18
1917
views
1
comment
0
shreya
Level 2
Question about the task
Choose healthy food! Choose fruit!
Java Syntax
,
Level 1
,
Lesson 8
Archived
I can't able to complete the task?
package com.codegym.task.task01.task0135; /* Two roads diverged in a yellow wood */ public class Solution { public static void main(String[] args) { System.out.println("Two roads diverged in a yellow wood,"); System.out.println("And sorry I could not travel both"); S
8/7/18
2435
views
5
comments
1
sowjanya sripada
Level 2
Hyderabad
Question about the task
Square of a number
Java Syntax
,
Level 1
,
Lesson 8
Archived
is anything missing ?
main method should display result of sqr method .need clarification.
9/21/18
1636
views
5
comments
0
Neha Anjum
Level 6
Hyderabad
Question about the task
Cat register
Java Syntax
,
Level 4
,
Lesson 2
Resolved
What am I missing..?
package com.codegym.task.task04.task0404; /* Cat register */ public class Cat { private static int catCount = 0; public void addNewCat(int catCount) { this.catCount = catCount; } public static void main(String[] args) { Cat cat = new Cat();
9/15/18
2431
views
5
comments
0
Shahanshah Alam
Level 9
Mohali
Question about the task
Create a Friend class
Java Syntax
,
Level 5
,
Lesson 7
Under discussion
help please...what is wrong in this code?
public class Friend { String name; int age; char sex; public void initialize(String name){ this.name = name; } public void initialize(String name , int age){ this.name = name; this.age = age; } public void initialize(String name , int age, char sex){ this.name =
9/22/18
1722
views
2
comments
0
Nirake_
Level 8
Mumbai
Question about the task
I think being a programmer is cool
Java Syntax
,
Level 0
,
Lesson 3
Under discussion
Dark matter not received
I was able to do my first program but I did not got the dark matter.
9/21/18
1684
views
2
comments
0
Khurram
Level 16
Lahore
Question about the task
Plan to conquer the world
Java Syntax
,
Level 3
,
Lesson 8
Resolved
whats wrong with this
what seems to be the problem?
9/3/18
2200
views
7
comments
0
Nirake_
Level 8
Mumbai
Under discussion
I DID NOT GOT MY DARK MATTER!!!!!!!!
I DID FINISHED MY 3 PROGRAMS AND NOE IT IS PROPERLY RUNNING BUT I DID NOT GOT THE DARK MATTER HOW WOULD I CONTINUE.......!!!!!
9/22/18
1644
views
1
comment
0
Deepak Rana
Level 4
Bazpur
Question about the task
Minimum of four numbers
Java Syntax
,
Level 2
,
Lesson 8
Under discussion
i already spent 1 hour nothing happens, dont want to waste more.....
package com.codegym.task.task02.task0217; /* Minimum of four numbers */ public class Solution { public static int min(int a, int b, int c, int d) { //write your code here int t; if(a
9/21/18
2052
views
2
comments
0
gery
Level 9
Islamabad
Question about the task
Longest string
Java Syntax
,
Level 7
,
Lesson 6
Archived
how Using a loop, find the longest string in the list.
so far 'm abl to write code upto this. condition 3 needs solution in this, i read other soutions but unable to understand them. BufferedReader b = new BufferedReader(new InputStreamReader(System.in)); ArrayList l = new ArrayList(); for(int i=0; i<5; i++) {
9/21/18
2231
views
4
comments
0
Neha Anjum
Level 6
Hyderabad
Question about the task
Task about algorithms
Java Syntax
,
Level 5
,
Lesson 12
Archived
problem here :P
package com.codegym.task.task05.task0532; import java.io.*; /* Task about algorithms */ public class Solution { public static void main(String[] args) throws Exception { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); int maximum = 5; /
9/21/18
1970
views
1
comment
0
manoj deo
Level 3
Jakarta
Question about the task
Minimum of three numbers
Java Syntax
,
Level 2
,
Lesson 8
Resolved
what to do next?
??
9/7/18
1912
views
11
comments
0
gery
Level 9
Islamabad
Question about the task
Maximum in an array
Java Syntax
,
Level 7
,
Lesson 4
Resolved
identify correction in arrays
i entered value in (system.in) both in vertical manner and horizontal manner and then click the run button, error and if i click without entering value, even then the same error.. public static void main(String[] args) throws Exception { int[] array = initializeArray(); int max = m
9/20/18
2282
views
3
comments
0
shreya
Level 2
Question about the task
Square of a number
Java Syntax
,
Level 1
,
Lesson 8
Archived
what's wrong with this code?
package com.codegym.task.task01.task0127; /* Square of a number */ public class Solution { public static void main(String[] args) { int a = sqr(5); System.out.println("the square of 5"+ a * a); } public static int sqr(int a) { return a * a; } }
8/7/18
2655
views
17
comments
2
Tayyab Mubeen
Level 16
Lahore
Resolved
What is more convenient..!!!!!
What is more convenient to use scanner class or bufferreader... am confused
9/19/18
1595
views
2
comments
0
stevenbadang
Level 1
Davao
Question about the task
Contract
Java Syntax
,
Level 1
,
Lesson 6
Resolved
how to check typo?
how to solve ..the system says that i have a typo error i think
8/5/18
2536
views
5
comments
0
Sawankumar
Level 1
Question about the task
Pay raise
Java Syntax
,
Level 2
,
Lesson 2
Resolved
what's wrong in this code..?
System.out.println("Your salary is: "+a+" dollars per month");
8/1/18
1914
views
5
comments
0
Show more
1
...
367
368
369
370
371
...
374
Please enable JavaScript to continue using this application.