Promocja
Nauka
Kursy
Zadania
Ankiety & quizy
Gry
Pomoc
Harmonogram
Społeczność
Użytkownicy
Forum
Czat
Artykuły
Historie sukcesu
Aktywność
Opinie
Subskrypcje
Jasny motyw
Pomoc w zadaniach
Opinie
O nas
Start
Rozpocznij naukę
Rozpocznij naukę teraz
Wszystkie pytania
Zadaj pytanie
Java 25
Wszystkie zadania
Wszystkie poziomy
Dowolny status
Pytania o zadania
Gorące
Robert
Poziom 20
Debica
Pytanie o zadanie
UnsupportedFileName
Java Core
,
Poziom 8
,
Lekcja 8
Rozwiązane
Behavior of default FileInputStream?
Hello, 2nd.Req. is not meet. Line 14 is deleted. Line 15 is uncomment. What should I do? What is a default behavior, FileInputStream. @Overide methods from FileInputStream?
19.08.2024
249
wyświetlenia
8
komentarze
0
Klaudia
Poziom 19
Pytanie o zadanie
Sprawdzanie kolejności
Java Syntax
,
Poziom 7
,
Lekcja 9
Rozwiązane
Still sth is wrong
What's wrong with my code? It compiles and the results are proper, but 3. and 4. requirement's aren't completed. Could anybody help? ;)
5.03.2020
1160
wyświetlenia
7
komentarze
0
Daniel
Poziom 22
Kraków
Pytanie o zadanie
Usuń i wstaw
Java Syntax
,
Poziom 7
,
Lekcja 6
Rozwiązane
where is the mistake?
Hi, where is the problem with my code? :D
3.03.2020
1460
wyświetlenia
4
komentarze
0
Paweł
Poziom 8
Warsaw
Pytanie o zadanie
Na szczycie listy
Java Syntax
,
Poziom 7
,
Lekcja 6
Rozwiązane
Program powinien dodawać linie do początku listy.
Program powinien dodawać linie do początku listy. Nie rozumiem o co w tym chodzi.
24.02.2020
1725
wyświetlenia
9
komentarze
0
Marcin
Poziom 8
Warsaw
Pytanie o zadanie
Odległość między dwoma punktami
Java Syntax
,
Poziom 6
,
Lekcja 8
W trakcie dyskusji
The task failed to pass testing!
Zadanie nie przeszło pomyślnie testu. Podstawiałem dla sprawdzenia liczby i wydaje się, że liczy poprawnie, jednak coś jest nie tak jak powinno. Będę wdzięczny za pomoc.
17.01.2020
1950
wyświetlenia
3
komentarze
0
Robert
Poziom 20
Debica
Pytanie o zadanie
Maksymalna liczba bajtów
Java Core
,
Poziom 8
,
Lekcja 3
Rozwiązane
I need to talk about this max number of byte :S
Hello Mates, Because that byte. Byte has always 1. So if my file consists of bytes, then it looks like "house of bricks". File is house. Byte is like brick. = [1] House = [1][1][1][1][1][1][1][1][1][1] So there is Requirements: "Program powinien wyświetlać maksymalną liczbę bajtów odczytaną z p
8.08.2024
248
wyświetlenia
7
komentarze
0
Robert
Poziom 20
Debica
Pytanie o zadanie
CRUD
Java Core
,
Poziom 7
,
Lekcja 10
Rozwiązane
I don't quite understand what this task is about.
Hey Mates! I don't quite understand what this task is about. My input is keyboard input (or not keyboard input) “-c” or a whole set of arguments “-c name sex bd”. Or “-c Smith m 08 09 2000”. And then it adds smith to the allPeople list? And I do the rest by analogy?
31.07.2024
215
wyświetlenia
6
komentarze
0
Tomek
Poziom 1
Poland
Pytanie o zadanie
Odczytywanie i zapisywanie pól statycznych do pliku
Java Core
,
Poziom 10
,
Lekcja 2
W trakcie dyskusji
What I did wrong?
I have no idea :(
1.08.2024
202
wyświetlenia
1
komentarz
0
Robert
Poziom 20
Debica
Pytanie o zadanie
Zsynchronizowany prezydent
Java Core
,
Poziom 7
,
Lekcja 4
Rozwiązane
Why we should check object == null, and why OurPresident.class is argument?
Hello mates, Why we should check object == null, and why OurPresident.class is argument in synchronized block. What means Class.class <= this small class after dot. I admit I haven't read all the CG material yet maybe there explained? static { synchronized (OurPresident.class) {
18.07.2024
246
wyświetlenia
3
komentarze
0
Will
Poziom 1
Pytanie o zadanie
Miłe słowo dla nauczyciela
Java Syntax
,
Poziom 0
,
Lekcja 4
W trakcie dyskusji
Jak naprawić błąd kompilatora?
Wykonałem zadanie które nie zostało sprawdzone przez błąd kompilatora, co to jest i jak to naprawić?
17.10.2021
526
wyświetlenia
4
komentarze
0
Adam Kamiński
Poziom 0
Pytanie o zadanie
Miłe słowo dla nauczyciela
Java Syntax
,
Poziom 0
,
Lekcja 4
W trakcie dyskusji
jak co dlaczego
co jest źle bo nie kumam
30.11.2020
522
wyświetlenia
2
komentarze
0
Konrad Kiełboń
Poziom 2
Pytanie o zadanie
Oblicz obwód koła
Java Syntax
,
Poziom 2
,
Lekcja 2
W trakcie dyskusji
zrobiłem ale chciałbym zrozumieć
hej, zrobiłem zadanie poprawnie i wiem dobrze co zrobiłem, nie rozumiem tylko początku kodu, chciałbym żeby słowo po słowie ktoś mi wytłumaczył metody bo narazie widzę to jako zmienna string o wartości 5 a potem nie wiem dlaczego to już nie string tylko int,
25.06.2024
208
wyświetlenia
1
komentarz
0
Dawid
Poziom 13
Pytanie o zadanie
Zadanie z algorytmami
Java Syntax
,
Poziom 9
,
Lekcja 11
W trakcie dyskusji
3rd requirement does not met
Can anyone tell me where is error here? output seems fine so why it gives me error? please heeeeelp i want to move on :(
5.06.2024
189
wyświetlenia
2
komentarze
0
Jiyongie
Poziom 41
Zielona Gora
Pytanie o zadanie
My first serialization into XML
Java Collections
,
Poziom 3
,
Lekcja 8
W trakcie dyskusji
I cannot get JAXB to work on my Intellij
So in lesson 7 CG says that "you dont need to download JAXB, it's part of JDK" and all I'm getting when I open this task in intellij are "cannot resolve symbol jaxbexception" and so on. I tried downloading plugins, but they're either for the Ultimate version of Intellij or I'm getting errors when I
1.06.2024
222
wyświetlenia
1
komentarz
0
Krystian
Poziom 2
Poland
Pytanie o zadanie
Numeral system converter
Java Multithreading
,
Poziom 10
,
Lekcja 2
Rozwiązane
I need some help
it seems to work properly, I have a problem with verifying the number system,
30.05.2024
258
wyświetlenia
7
komentarze
0
NiceHatMate
Poziom 20
Poland
Pytanie o zadanie
Najdłuższa sekwencja
Java Syntax
,
Poziom 8
,
Lekcja 6
W trakcie dyskusji
Co tu jest źle? Czy ja do Choroszczy zaraz pojade?
Co tu jest źle? nie zalicza mi 1 i ostatniego punktu. Sprawdzałem pod wieloma kątami i zawsze działa jak powinno więc o co chodzi?
14.05.2024
182
wyświetlenia
3
komentarze
0
Msaters
Poziom 20
Legnica
Pytanie o zadanie
Kto mnie wywołał?
Java Syntax
,
Poziom 9
,
Lekcja 2
Rozwiązane
what to do here ?I have no idea
And if u know how do those stacks work I would be really glad if you could tell me how , I now idea of stack I know how it should work but I just not know what this code mean for example StackTraceElement[] stack = Thread.currentThread().getStackTrace(); ? if smb could tell me in easy way with easy
31.03.2020
1804
wyświetlenia
6
komentarze
0
Dawid
Poziom 13
Pytanie o zadanie
Zadanie z algorytmami
Java Syntax
,
Poziom 8
,
Lekcja 11
Nowy
whaaa?
I just don't quite understand what i did.. All i changed is this public static void sortuj(String[] tablica) { Arrays.sort(tablica); isWiekszeOd(tablica[0], tablica[1]); I saw in help section people are doing it differently going though all words in tab and comparing it
7.05.2024
214
wyświetlenia
0
komentarze
0
Jiyongie
Poziom 41
Zielona Gora
Pytanie o zadanie
Archiver (part 15)
Java Multithreading
,
Poziom 7
,
Lekcja 15
W trakcie dyskusji
Why is codegym changing my code?
I'm really confused... I wrote some code for the previous part of this task, it was validated, then when I opened the next part of this task my code was gone and replaced with codegym generated code. I'm really confused why it's happening? If my code was correct (passed validation in the previous pa
30.04.2024
226
wyświetlenia
1
komentarz
0
Tomek
Poziom 1
Poland
Pytanie o zadanie
Śledzenie zmian
Java Core
,
Poziom 9
,
Lekcja 11
W trakcie dyskusji
Where is the problem?
I got problem - I don't know where I made mistake.
14.04.2024
212
wyświetlenia
5
komentarze
0
Tomek
Poziom 1
Poland
Pytanie o zadanie
Słowa z liczbami
Java Core
,
Poziom 9
,
Lekcja 11
W trakcie dyskusji
I use FileWriter, but I still got message that I don't
Maybe my approach is wrong?
20.04.2024
195
wyświetlenia
2
komentarze
0
Dawid
Poziom 5
Pytanie o zadanie
Liczba dodatnia
Java Syntax
,
Poziom 4
,
Lekcja 7
Rozwiązane
Why version 1 is good but second no :D ?
I have problem with 3 i 5 points with version 2 Version 1 package pl.codegym.task.task04.task0428; /* Liczba dodatnia */ import java.io.*; import java.util.ArrayList; public class Solution { public static void main(String[] args) throws Exception { //tutaj wpisz swój kod B
28.04.2023
791
wyświetlenia
3
komentarze
0
Michał Szymanowski
Poziom 19
Pytanie o zadanie
Koty
Java Core
,
Poziom 4
,
Lekcja 4
Rozwiązane
Hey, below you have my code, i wonder why it is not correct. Could you look on it and give me a clue, how to solve it correctly? The solution number (1) and number (2) are incorrect. Thanks for your time. I copied my code in text because below it do not have attached my comments ( in editor CodeGym)
package pl.codegym.task.task14.task1404; /* Koty */ import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.ArrayList; public class Solution { public static void main(String[] args) throws Exception { BufferedReader reader = new BufferedReader(new InputStre
27.07.2021
1082
wyświetlenia
6
komentarze
0
mariusz
Poziom 6
wałbrzych
Pytanie o zadanie
Rysowanie prostokąta
Java Syntax
,
Poziom 4
,
Lekcja 13
Rozwiązane
I give up:(
Someone can tell me what's wrong :/
7.07.2020
1051
wyświetlenia
7
komentarze
0
Tomasz Sknadaj
Poziom 18
Skoczów
Pytanie o zadanie
Zadanie z algorytmami
Java Syntax
,
Poziom 5
,
Lekcja 12
Rozwiązane
Something is wrong
Few day ago i found out that i still didn't finish this task. So i try to do it and i don't know why but this task doesn't work. I don't get any detalied information about verification of my program right here and also on IntelliJ... I don't know what is going on. A few minutes ago i finish another
15.06.2020
1073
wyświetlenia
5
komentarze
0
JaKuba
Poziom 14
Płock
Pytanie o zadanie
Metoda w try-catch
Java Syntax
,
Poziom 9
,
Lekcja 11
W trakcie dyskusji
Would anyone like to explain?
Would anyone like to explain?
30.11.2023
372
wyświetlenia
4
komentarze
0
SzafirHusky
Poziom 4
Bochnia
Pytanie o zadanie
Cena jabłek
Java Syntax
,
Poziom 4
,
Lekcja 1
Rozwiązane
Proszę o wytłumaczenie kodu
Nie rozumiem jak to działa - proszę o wytłumaczenie kodu krok po kroku.
12.04.2024
261
wyświetlenia
1
komentarz
0
SzafirHusky
Poziom 4
Bochnia
Pytanie o zadanie
Plan podboju świata
Java Syntax
,
Poziom 3
,
Lekcja 8
Rozwiązane
Dlaczego nie wyświetla imienia?
Dlaczego nie zgłasza błędu ale po uruchomieniu nie wyświetla imienia? Proszę o wytłumaczenie.
7.04.2024
205
wyświetlenia
2
komentarze
0
Tomek
Poziom 1
Poland
Pytanie o zadanie
Wybieranie numerów
Java Core
,
Poziom 9
,
Lekcja 5
Rozwiązane
Any suggestion why it doesn't meet the 5-th requirements?
I have tested with the value from excercise description, and in my opinion it works
3.04.2024
224
wyświetlenia
3
komentarze
0
Msaters
Poziom 20
Legnica
Pytanie o zadanie
Zsynchronizowany prezydent
Java Core
,
Poziom 7
,
Lekcja 4
W trakcie dyskusji
I have no idea
I have no idea what should I put in this synchronized( here ) , what should I put there ? and why ?
25.04.2020
1159
wyświetlenia
1
komentarz
0
Pokaż więcej
1
2
3
4
5
...
59
Please enable JavaScript to continue using this application.