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
Aleksander
Poziom 41
Pytanie o zadanie
Większa niż 10? Wcale do nas nie pasujesz!
Java Syntax
,
Poziom 8
,
Lekcja 8
Rozwiązane
Need help
Ehh, no idea how to do this. Any help please? :) Thanks
7.01.2020
1916
wyświetlenia
6
komentarze
0
NiceHatMate
Poziom 20
Poland
Pytanie o zadanie
Wybieranie numerów
Java Core
,
Poziom 9
,
Lekcja 5
Rozwiązane
What is wrong?
I tried it in my ide, and everything works at it should or maybe im not seeing something. String tekst = "12 text var2 14 8v 1 fss2 3sa123s s123" + "\n" + "231 23axd s 213132sd234r3"; String onlyDecimalsAndSpaces = tekst.replaceAll("[^\\d]+"," ").replaceAll("\\s+"," ").trim(); S
15.01.2025
140
wyświetlenia
2
komentarze
0
NiceHatMate
Poziom 20
Poland
Pytanie o zadanie
Liczenie słów
Java Core
,
Poziom 9
,
Lekcja 5
Rozwiązane
What is wrong here?
I don't dont quite get what is wrong.
13.01.2025
191
wyświetlenia
7
komentarze
0
NiceHatMate
Poziom 20
Poland
Pytanie o zadanie
Dostosowywanie wielu interfejsów
Java Core
,
Poziom 9
,
Lekcja 3
Rozwiązane
What is wrong?
What is wrong?
11.01.2025
146
wyświetlenia
1
komentarz
0
Paweł Mackiewicz
Poziom 32
Poland
Pytanie o zadanie
Algorytmy liczbowe
Java Core
,
Poziom 10
,
Lekcja 10
W trakcie dyskusji
Result is fine and quite fast, but i can't get it pass.
Hello. I get right solution, did it in pretty simple way, but validator didn't pass my solution. why is that?
3.01.2025
167
wyświetlenia
2
komentarze
0
NiceHatMate
Poziom 20
Poland
Pytanie o zadanie
Ceny 2
Java Core
,
Poziom 8
,
Lekcja 11
Rozwiązane
What is Wrong here?
Everything seems to work in my ide, but i don't know what is wrong here?
3.01.2025
177
wyświetlenia
4
komentarze
0
NiceHatMate
Poziom 20
Poland
Pytanie o zadanie
Ceny
Java Core
,
Poziom 8
,
Lekcja 11
Rozwiązane
What is wrong here?
Hi Guys! What is wrong here? Everything seems to work perfect in my ide, but i dont know why CG won't accept this task?
29.12.2024
167
wyświetlenia
3
komentarze
0
brajankw
Poziom 25
Poland
Pytanie o zadanie
Inverted words
Java Multithreading
,
Poziom 2
,
Lekcja 9
W trakcie dyskusji
What's wrong?
I think it should pass the tests. sout is not commented anymore and its still not working.
22.05.2023
819
wyświetlenia
9
komentarze
0
NiceHatMate
Poziom 20
Poland
Pytanie o zadanie
Dzielenie pliku
Java Core
,
Poziom 8
,
Lekcja 5
W trakcie dyskusji
What is wrong?
In my IDE everything works fine. What is wrong here?
23.12.2024
170
wyświetlenia
5
komentarze
0
NiceHatMate
Poziom 20
Poland
Pytanie o zadanie
Bankomat
Java Core
,
Poziom 7
,
Lekcja 10
W trakcie dyskusji
I don't understand the Problem.
I don't understand the problem—specifically, I don't understand what exactly I am supposed to fix. The task says, "At the moment of debiting the account, the money disappears." Well, maybe it's silly reasoning on my part, but during spending, the money should disappear, right? 😅 While tracking the
12.12.2024
192
wyświetlenia
3
komentarze
0
Jarek
Poziom 4
Pytanie o zadanie
Liczby dodatnie i ujemne
Java Syntax
,
Poziom 4
,
Lekcja 7
W trakcie dyskusji
Ostatni punktu w zadaniu.
Hej wiecie może dlaczego nie zalicza mi ostatniego punktu?
16.11.2020
679
wyświetlenia
3
komentarze
0
xSzymczok
Poziom 7
Poland
Pytanie o zadanie
Opisywanie liczb
Java Syntax
,
Poziom 4
,
Lekcja 7
Rozwiązane
Nie zalicza zadania
Co tutaj nie pasuje?
5.09.2023
320
wyświetlenia
6
komentarze
0
Damian Siadaczka
Poziom 20
Warszawa
Pytanie o zadanie
Dużo pieniędzy
Java Syntax
,
Poziom 10
,
Lekcja 11
Zarchiwizowane
I have no idea
I don't understand, why? maybe I don't understand the logic of the solution
12.02.2020
1541
wyświetlenia
8
komentarze
0
Msaters
Poziom 20
Legnica
Pytanie o zadanie
Prawidłowa odpowiedź: d = 5.5
Java Syntax
,
Poziom 10
,
Lekcja 11
W trakcie dyskusji
can smb help me ?
?
1.04.2020
1055
wyświetlenia
2
komentarze
0
hidden #11596567
Poziom 0
Nowy
wybrałem niewłaściwy kurs
Chciałbym kurs programowania na Androidzie, a wybrałem związany z nauką Javy. Jak mogę to zmienić?
22.11.2024
138
wyświetlenia
0
komentarze
0
NiceHatMate
Poziom 20
Poland
Pytanie o zadanie
Kto rano wstaje, temu Pan Bóg daje
Java Core
,
Poziom 6
,
Lekcja 13
Rozwiązane
I don't know what is wrong.
Basically, I have the same code in Eclipse, and everything works as it should, except the threads keep reading from the keyboard for a maximum of 1-2 lines even after displaying the results. However, here I get completely different results, despite the same input!
13.11.2024
195
wyświetlenia
3
komentarze
0
NiceHatMate
Poziom 20
Poland
Pytanie o zadanie
Zagramy?
Java Core
,
Poziom 6
,
Lekcja 13
Rozwiązane
Czemu wyskakuje mi że mam infinite loop i nie może sprawdzić zadania?
Czemu wyskakuje mi, że mam infinite loop gdy chcę sprawdzić zadanie, natomaist sama kompilacja kodu na stronie jak i w ide przechodzi normalnie, i nie ma żadnego infinite loop?
12.11.2024
161
wyświetlenia
4
komentarze
0
MaDo
Poziom 16
Warsaw
Pytanie o zadanie
Rejestr imion
Java Syntax
,
Poziom 4
,
Lekcja 2
W trakcie dyskusji
What am I doing bad?
I don't know the answear.
28.10.2024
146
wyświetlenia
1
komentarz
0
Dusiek
Poziom 9
Kraków
Nowy
Czemu nie działa mi metoda main?
Wytłumaczy mi ktoś może czemu może tak być że żaden kod mi się nie odpala a na stronie Codegym i na innych projektach IDE jest dobrze?
16.09.2024
170
wyświetlenia
0
komentarze
0
Tomek
Poziom 1
Poland
Pytanie o zadanie
Wprowadzenie do properties
Java Core
,
Poziom 10
,
Lekcja 2
W trakcie dyskusji
What I did wrong?
I think that all things I did. But requirenments are still not fulfilled
11.09.2024
170
wyświetlenia
1
komentarz
0
Robert
Poziom 20
Debica
Pytanie o zadanie
Tworzenie pliku
Java Core
,
Poziom 8
,
Lekcja 11
Rozwiązane
What I missed?
Hello, Mates. And I don't know what I do wrong? 2nd req. is in line 35 and there is whole path. 3rd. req all data should be in TreeSet list ??? Or I should use a different List. 4th req. Idk they want to use byte array or BufferedInputStream or for write BufferedOutputStream? 5th req. both are
8.09.2024
258
wyświetlenia
13
komentarze
0
gienek c.
Poziom 4
Lubin
Pytanie o zadanie
Suma 5 liczb
Java Syntax
,
Poziom 3
,
Lekcja 4
W trakcie dyskusji
Podpowiedź do rozwiązania
Gdyby, ktoś potrzebował podpowiedzi do rozwiązania. To najlepiej zrobić to w pętli czy to for, while czy do..while. Pętle potrzebują dwóch zmiennych Integer np. "i" oraz "suma". "i" to taki licznik. przed pętlą while i do..while ustawiamy i = 1 oraz suma = 0; bo w pętli "for"
8.03.2020
1300
wyświetlenia
0
komentarze
2
Robert
Poziom 20
Debica
Pytanie o zadanie
Częstotliwość występowania symboli
Java Core
,
Poziom 8
,
Lekcja 11
Rozwiązane
How to increase the map 'value'
Hello, It is possible to increase the 'value' in map. I have problem in line 36. I expect the result to be in order, sorted in the correct order.
2.09.2024
196
wyświetlenia
6
komentarze
0
Magda
Poziom 10
Poland
Pytanie o zadanie
HashMap kotów
Java Syntax
,
Poziom 8
,
Lekcja 3
W trakcie dyskusji
How can I fix it?
Programme doesn't show values
10.02.2023
372
wyświetlenia
4
komentarze
0
Robert
Poziom 20
Debica
Pytanie o zadanie
ABC
Java Core
,
Poziom 8
,
Lekcja 11
Rozwiązane
What I left out. Inappropriate char range?
Hey Mates! What I left out. Inappropriate char range? If 4th req is accepted, then 3rd should be too? 65-90 A-Z 97-122 a-z
24.08.2024
214
wyświetlenia
7
komentarze
0
Robert
Poziom 20
Debica
Pytanie o zadanie
Najczęściej występujące bajty
Java Core
,
Poziom 8
,
Lekcja 3
Rozwiązane
How should look like solution?
Hello. How should look like solution? I think how approach to beat this task. ex. my elements: 11 22 11 33 33 33 44 55 55 77 77 77 11 = 2 22 = 1 33 = 3 44 = 1 55 = 2 77 = 3 output: 11 33 55 77 or output: 11 11 33 33 33 55 55 77 77 77 With one is correct?
22.08.2024
155
wyświetlenia
2
komentarze
0
Paweł P
Poziom 8
warszawa
Pytanie o zadanie
Przestaw modyfikator statyczny
Java Syntax
,
Poziom 7
,
Lekcja 12
W trakcie dyskusji
4 modyfikatory statyczne
Witam kto wie jak to rozwizac public final static int A = 5; public final static int B = 2; public final static int C = A * B; public final static int D = A * B; // dodaem testowo public static void main(String[] args) { } public static int getValue(
26.05.2020
856
wyświetlenia
5
komentarze
0
Robert
Poziom 20
Debica
Pytanie o zadanie
Najrzadziej występujące bajty
Java Core
,
Poziom 8
,
Lekcja 3
Rozwiązane
I fail to see the reason for throwing out the exception.
My idea was, like, to put read bytes to an array list. Then take the first element to memory variable, and then iterate through the whole array to count repeated times. And after iterating, when repeated counter has value 1. I wanted to assign value from variable "memory" to “not Repeated list”,
10.08.2024
251
wyświetlenia
10
komentarze
0
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
217
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
1130
wyświetlenia
7
komentarze
0
Pokaż więcej
1
2
3
4
...
59
Please enable JavaScript to continue using this application.