Promotion
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
Nina
Level 3
Melbourne
Question about the task
Square of a number
Java Syntax
,
Level 1
,
Lesson 8
Archived
calling in main method
I failed. I tried much but I can not do it as I don't know how to call somtehing in main method and .. please show me how to do it. I can not find any similar example in the material. There was a similar task before this one that I failed it as well. Thanks this is my solution: package com.codegym.t
31.03.2019
1833
views
2
comments
0
Jeremiah Samuel Krakowski
Level 17
Austin, TX
Question about the task
Default values
Java Core
,
Level 5
,
Lesson 9
Under discussion
Code runs perfectly, but does not pass!
My code does what is asked, but is not passing for some reason.
31.03.2019
1269
views
2
comments
0
Khurram
Level 16
Lahore
Question about the task
Minimum and Maximum
Java Core
,
Level 1
,
Lesson 11
Under discussion
Please Help
The code seems to be working fine, but the verification system is not accepting the solution: Don't change the main - I haven't The program must return the correct result - It does :\
22.09.2018
1887
views
16
comments
0
Wilder
Level 4
Alajuela
Question about the task
Plan to conquer the world
Java Syntax
,
Level 3
,
Lesson 8
Under discussion
whats wrong with my code ??? :(
30.03.2019
1095
views
3
comments
0
Wojtek
Level 23
Solec-Zdroj
Question about the task
Counting words
Java Core
,
Level 9
,
Lesson 5
Under discussion
What is wrong?
Output seems to be good
28.03.2019
1437
views
12
comments
0
Iasu
Level 18
Question about the task
One large array and two small ones
Java Syntax
,
Level 7
,
Lesson 4
Under discussion
System.arraycopy() method dosent work in these one maybe?
In IntelliJ, it's running fine, but here it doesn't work! Am I missing something here..?
10.02.2019
1365
views
2
comments
0
Chitransh Derashri
Level 1
Noida
Question about the task
No comments needed
Java Syntax
,
Level 0
,
Lesson 8
Under discussion
the last condition is not fulfilled in any case.
how to solve this question.
25.10.2018
1278
views
4
comments
0
Filip
Level 4
Karlovac
Question about the task
2 + 3 = 5
Java Syntax
,
Level 0
,
Lesson 8
Resolved
2 plus 3 is equal to 5
Please help me, i got the problem with this task!
04.11.2018
3208
views
8
comments
1
cr!ms0nc0d3r
Level 9
Primus
Question about the task
Ascending numbers
Java Syntax
,
Level 6
,
Lesson 11
Resolved
Verification says I need last two requirements, but they are already met
This code works, however, I receive failures on the last two requirements on the verification.
28.03.2019
1573
views
2
comments
0
Vatsal Patel
Level 15
Naperville
Question about the task
Duplicating words
Java Syntax
,
Level 7
,
Lesson 9
Resolved
What am I doing wrong?
It does duplicate but it is failing.
28.03.2019
1665
views
1
comment
0
Thebe
Level 7
Benares
Question about the task
R or L
Java Syntax
,
Level 7
,
Lesson 9
Under discussion
why itr.hasNext() not working
Why is it going in infinite loop?
28.03.2019
2686
views
3
comments
0
T Merkel
Level 7
London
Under discussion
Task conditions in plain text - IntelliJ
Hey, I've just updated IntelliJ and Conditions.tcs files don't render as they used to - it's in plain text now. Has anybody got the same issue after updating?
29.03.2019
1179
views
2
comments
1
Andrei Stratu
Level 18
Iasi
Question about the task
R or L
Java Syntax
,
Level 7
,
Lesson 9
Under discussion
Code runs
I get the desired output but i cant pass it. Some help please?
28.03.2019
1069
views
2
comments
0
Ash Ka
Level 13
Calgary
Question about the task
Initializing cats
Java Syntax
,
Level 5
,
Lesson 7
Resolved
What's wrong here ?
What's wrong here ?
27.03.2019
1746
views
3
comments
0
gery
Level 9
Islamabad
Question about the task
20 words that start with the letter "L"
Java Syntax
,
Level 8
,
Lesson 8
Resolved
Hashset correction for, cannot convert boolean to string line#28
i read this article, but its not much help https://stackoverflow.com/questions/12014641/java-retrieving-an-element-from-a-hashset public static Set createSet() { //write your code here Set s = new HashSet(); //s.add s.add("Lsss"); s.add("Lsss"); s.a
30.09.2018
2630
views
8
comments
0
Nurali Khaydarov
Level 41
Tashkent
Question about the task
Reading and writing to a file: CodeGym
Java Core
,
Level 10
,
Lesson 2
Under discussion
Need help
What's wrong?
28.03.2019
1475
views
1
comment
0
Wojtek
Level 23
Solec-Zdroj
Question about the task
Picking out numbers
Java Core
,
Level 9
,
Lesson 5
Under discussion
Next time seems to be good outbut
need hint
28.03.2019
1433
views
1
comment
0
Ashutosh Sharma
Level 8
Delhi
Question about the task
Method quartet
Java Syntax
,
Level 8
,
Lesson 6
Under discussion
I am confused about my own solution code. Plz help
I have taken both ArrayList and LinkedList and compared their time consumed in get function, set function, Add Or Insert function and remove function. Is this a right way to solve this question?? Conditions are not getting fulfilled in this solution.
23.03.2019
1213
views
4
comments
0
GOPALSETTY DINESH
Level 0
VISAKHAPATNAM
Question about the task
2 + 3 = 5
Java Syntax
,
Level 0
,
Lesson 8
Under discussion
send me answer
package com.codegym.task.task01.task0108; /* 2 + 3 = 5 */ public class Solution { public static void main(String[] args) { int a = 3, b = 2; System.out.print("two"); System.out.print(b); System.out.print(" plus "); System.out.print(" minus ");
08.01.2019
1157
views
2
comments
0
Joy Majumdar
Level 16
Kolkata
Question about the task
Make a family
Java Syntax
,
Level 8
,
Lesson 11
Resolved
What's wrong ?
Why null pointer exception is thrown ?
28.03.2019
1900
views
2
comments
0
JD Rudie
Level 13
Oxford
Question about the task
R or L
Java Syntax
,
Level 7
,
Lesson 9
Under discussion
gives me the right result for the test cases, but won't verify
any idea what's wrong with this?
27.03.2019
979
views
5
comments
0
Mike McKenna
Level 25
Wilmington
Question about the task
Declare variables
Java Syntax
,
Level 0
,
Lesson 4
Under discussion
int ? = age;
That is my ? how do I make it equal ? I have figured out the string portion of the exercise . Thanks Mike
27.03.2019
3066
views
1
comment
0
Anjali Sharma
Level 6
Chennai
Question about the task
Pay raise
Java Syntax
,
Level 2
,
Lesson 2
Under discussion
Wrong compliation
int x = a + 1000; System.out.println("Your salary is:" x "dollars per month."); I wrote exactly the same answer and this is right I guess. still it is showing the error like this... com/codegym/task/task02/task0205/Solution.java:15: error: ')' expected System.out.println("Your s
30.09.2018
1537
views
14
comments
0
Abdur Rehman
Level 7
Faisalabad
Question about the task
Minimum of three numbers
Java Syntax
,
Level 2
,
Lesson 8
Resolved
what is wrong with my code
/* Minimum of three numbers */ public class Solution { public static int min(int a, int b, int c) { if ((a<=b) && (a<=c)); { return a; } if ((b<=a) && (b<=c)); { return b; } if ((c<=a
26.03.2019
1120
views
2
comments
0
Aibohphobia
Level 1
Fort Campbell
Under discussion
Twice now, (2) Lessons have given exercises that did not cover the material ..
Salutations All, On level 1, lessons 3 & 6 provided task requirements that was not covered in course material. I would think it was something I was doing wrong; however I read all the comments and it is clearly happening to others as well. Not sure if it is a "bug" or what the case just might
26.03.2019
848
views
1
comment
0
JD Rudie
Level 13
Oxford
Question about the task
Shortest or longest
Java Syntax
,
Level 7
,
Lesson 6
Under discussion
not really sure why this code doesn't pass... it passes all test cases i can think of
any ideas?
27.03.2019
1029
views
1
comment
0
Okanlawon Oluwatobi Damilare
Level 9
Banjul
Question about the task
Even and odd digits
Java Syntax
,
Level 6
,
Lesson 5
Under discussion
don't know why this code is not passing verification.
someone should please help.
26.03.2019
1082
views
2
comments
0
Thebe
Level 7
Benares
Question about the task
Task about algorithms
Java Syntax
,
Level 5
,
Lesson 12
Archived
How do I solve this
Why it doesn't produce maximum
16.01.2019
1615
views
4
comments
0
sirisha
Level 3
Bangalore
Question about the task
Pay raise
Java Syntax
,
Level 2
,
Lesson 2
Under discussion
can someone help me out to fix this
help me out to solve
04.02.2019
1156
views
7
comments
0
Bazsó Benjámin
Level 20
Szombathely
Question about the task
The end
Java Syntax
,
Level 7
,
Lesson 12
Resolved
help pls
how can i pass 2nd and 4th req?
26.03.2019
1526
views
7
comments
0
Show more
1
...
329
330
331
332
333
...
366
Please enable JavaScript to continue using this application.