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
Sourav Kumar Rana
Level 9
Delhi
Question about the task
Drawing lines
Java Syntax
,
Level 4
,
Lesson 13
Under discussion
solution
package com.codegym.task.task04.task0438; /* Drawing lines */ public class Solution { public static void main(String[] args) throws Exception { for(int i=0;i<10;i++) { System.out.print("8"); }//write your code here for(int i=0;i<10;i++) {
1/14/19
1550
views
2
comments
0
Mohammed Aabid Chouhan
Level 2
Mumbai
Question about the task
Contract
Java Syntax
,
Level 1
,
Lesson 6
Under discussion
I can't find unlock next lesson on level 1 lesson 6. I don't know why this is happening everytime
I can't find unlock next lesson on level 1 lesson 6. I don't know why this is happening everytime
1/18/19
1340
views
3
comments
0
manoj deo
Level 3
Jakarta
Question about the task
Print three times
Java Syntax
,
Level 2
,
Lesson 8
Resolved
help me
whats the problem?
9/21/18
1894
views
2
comments
0
Mohammed Amine EL AMRANI
Level 11
Rabat
Question about the task
Number of letters
Java Syntax
,
Level 10
,
Lesson 11
Under discussion
I didn't understand the question
Hello, Could someone explain me the question because i didn't understand it, and give me an exemple : Enter 10 strings from the keyboard and count the number of different letters in them (for the 26 lowercase letters of the English alphabet). Display the results on the screen in alphabetical orde
1/18/19
1290
views
1
comment
0
Avinash Rana
Level 7
Kolkata
Under discussion
The object ive of this project is to process the results of an examination held in a s chool . All the students were tested in 5 subjects - English, Mathematics, Physics, Chemistry and Computers. The marks scored b y the students has been provided in the file - results.txt. The objective is t
can anyone help me with this?
1/18/19
1407
views
1
comment
0
Meshack
Level 8
Thika
Question about the task
Closest to 10
Java Syntax
,
Level 4
,
Lesson 4
Resolved
Help
Kindly help, the second call to displayClosestToTen() function doesn't display anything,
1/18/19
1492
views
2
comments
0
Jane
Level 3
Cape Town
Question about the task
Our first converter!
Java Syntax
,
Level 2
,
Lesson 2
Under discussion
Rusty Math Help
Hi there, So I didn't have a hard time trying to put the code together, but I had a hard time with converting the formula. I haven't been in math class in over a decade, so can someone please explain to me how to get from TC = (TF - 32) * 5/9 to TF = ... Thank you
1/17/19
1352
views
5
comments
0
Laxmidhar Mishra
Level 12
Mumbai
Question about the task
Pay raise
Java Syntax
,
Level 2
,
Lesson 2
Under discussion
Hi, Am facing error as It looks like you made a typo or forgot to add 1000.How to correct it.
package 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 a=a+1000; System.out.println("Your salary is: "
1/13/19
1546
views
3
comments
0
Wojtek
Level 23
Solec-Zdroj
Question about the task
In decreasing order
Java Syntax
,
Level 7
,
Lesson 12
Under discussion
What is wrong here?
help
1/14/19
2139
views
7
comments
0
Wojtek
Level 23
Solec-Zdroj
Question about the task
R or L
Java Syntax
,
Level 7
,
Lesson 9
Under discussion
need help
output: lyre love love rose Why rose is in output?
1/11/19
1856
views
3
comments
1
srikanth
Level 10
Bangalore
Under discussion
which statement in this code is not satisfying task conditions ?
{ public static void main(String[] args) throws Exception { //write your code here BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); String number=reader.readLine(); int num=Integer.parseInt(number);
1/17/19
1319
views
1
comment
0
Dreni Mujaj
Level 7
Peja
Question about the task
Arithmetic mean
Java Syntax
,
Level 5
,
Lesson 5
Under discussion
Please help me.I'm stuck for hours
It can't compile.Its says 1)"cannot find symbol symbol: class BufferedReader location: class com.codegym.task.task05.task0507.Solution: Solution.java, line: 11, column: 8" 2)cannot find symbol symbol: class BufferedReader location: class com.codegym.task.task05.task0507.Solution: Solution.java, l
1/17/19
1531
views
1
comment
0
Vijay Rangan
Level 5
Jakarta
Question about the task
Positive number
Java Syntax
,
Level 4
,
Lesson 7
Under discussion
cant compile
cant compile this program
11/30/18
1432
views
5
comments
0
Arvind Prakhar
Level 7
Dhanbad
Question about the task
Longest string
Java Syntax
,
Level 7
,
Lesson 6
Archived
2 errors
My first two condition is not full filled .But why its not getting full filled instead i have initiated the ArrayList and took input from user.So why its showing error
12/22/18
1848
views
3
comments
0
Varunkumar
Level 3
Chennai
Question about the task
Square of a number
Java Syntax
,
Level 1
,
Lesson 8
Archived
How to call a method in java??
https://codegym.cc/tasks/com.codegym.task.task01.task0127
1/16/19
1488
views
2
comments
0
WatWat
Level 9
Vancouver
Question about the task
Shortest or longest
Java Syntax
,
Level 7
,
Lesson 6
Under discussion
Ran with correct output an no errors why is it not being verified
Not being verified. Please look at my code
10/14/18
1605
views
3
comments
0
Rad
Level 8
Maidstone
Question about the task
Shortest or longest
Java Syntax
,
Level 7
,
Lesson 6
Under discussion
i need help
i did some mistakes in my code,please help me how to correct it
11/8/18
1404
views
3
comments
0
Zbigniew
Level 23
Dabrowa Tarnowska
Question about the task
Shortest or longest
Java Syntax
,
Level 7
,
Lesson 6
Resolved
More efficient way of solving this task
I've managed to solve this task with the code below, but it does't seem to be most efficient way to do this. What's the most compact way of solving this task? I would appreciate if somebody could post his/hers code with short explanation. Pointing out my mistakes and explaining them is also welcome.
1/6/19
2449
views
3
comments
0
Sarvesh
Level 11
Bangalore
Question about the task
Display right away
Java Syntax
,
Level 3
,
Lesson 3
Under discussion
Could you help me find my mistake here in the below code for the task.
package com.codegym.task.task03.task0302; /* Display right away */ public class Solution { // write your code here public static void main(String[] args) { printString("Hello, Amigo!"); } public static void printString(String s);{ System.out.println("s"); }
1/6/19
1786
views
5
comments
0
Sabine Meijran-Prins
Level 7
Enschede
Question about the task
Minimum of three numbers
Java Syntax
,
Level 2
,
Lesson 8
Resolved
Something wrong with my code..
Do you know what is wrong with this code? public class Solution { public static int min(int a, int b, int c) { int m2; if ((a < b) && (a < c)){ m2 = a; } if ((b < a) && (b < c)){ m2 = b; } if ((c < a) &
11/29/18
1598
views
5
comments
0
Sravya
Level 3
Hyderabad
Question about the task
Pay raise
Java Syntax
,
Level 2
,
Lesson 2
Under discussion
why i'm getting typo error?
why i'm getting typo error??
1/9/19
1420
views
4
comments
0
MP
Level 8
Wietzendorf
Question about the task
Minimum of four numbers
Java Syntax
,
Level 2
,
Lesson 8
Resolved
Just a question about the functions
Hello there, I have a short question about this task. I did solve it but I'm curious - are they both not have the same name (min)? Isn't that a little confusing for the compiler? What is the difference between them so the compiler knows how to handle it? Sorry if that question might be dumb :)
1/15/19
1363
views
5
comments
0
Joy Majumdar
Level 16
Kolkata
Question about the task
One large array and two small ones
Java Syntax
,
Level 7
,
Lesson 4
Resolved
What is wrong here ?
Point out
1/15/19
1925
views
2
comments
0
Mohammed Amine EL AMRANI
Level 11
Rabat
Question about the task
Cat relations
Java Syntax
,
Level 6
,
Lesson 11
Under discussion
key "Cat"
Hello, public static class Cat { private String name; private Cat mother; private Cat father; } What does it mean the keyword " Cat " before mother/father ?
12/19/18
1415
views
3
comments
0
Aditya Ashtikar
Level 8
Kaul
Question about the task
Cat relations
Java Syntax
,
Level 6
,
Lesson 11
Resolved
Provided conditions were a typo, a single verification criteria not met
Don't see it, just don't see it! Someone please help it won't verify, I don't know if it's a typo(which was earlier and took like 30 minutes for me to get, seriously the conditions defined are a typo) or some code problem. Either way, someone please provide some insight.
8/6/18
2503
views
4
comments
0
Wojtek
Level 23
Solec-Zdroj
Question about the task
Task about algorithms
Java Syntax
,
Level 5
,
Lesson 12
Archived
Can you help me?
i don't have idea how to reslove it.
1/4/19
1647
views
2
comments
0
gery
Level 9
Islamabad
Question about the task
Calculator
Java Syntax
,
Level 6
,
Lesson 8
Resolved
correction needed in division method
public static int plus(int a, int b) { //write your code here return (a + b); } public static int minus(int a, int b) { //write your code here return (a - b); } public static int multiply(int a, int b) { //write your code here return
9/19/18
3670
views
3
comments
2
Sushant
Level 4
goa
Question about the task
Family relations
Java Syntax
,
Level 2
,
Lesson 2
Resolved
Family relations
HELP TO FIND THE SOLUTION.
8/3/18
2966
views
6
comments
0
Somya Gupta
Level 4
Vrindavan
Question about the task
Family relations
Java Syntax
,
Level 2
,
Lesson 2
Resolved
what is the answerof 3 and 4
package com.codegym.task.task02.task0204; /* Family relations */ public class Solution { public static void main(String[] args) { //write your code here Man man= new Man(); Woman woman= new Woman(); woman.husband=Man; Man.wife=Woman;
8/18/18
2539
views
3
comments
0
Sushant
Level 4
goa
Question about the task
The great purge
Java Syntax
,
Level 1
,
Lesson 8
Resolved
can any one help me out from this task.
can any one help
8/2/18
1820
views
5
comments
0
Show more
1
...
351
352
353
354
355
...
374
Please enable JavaScript to continue using this application.