Aktion
Lernen
Kurse
Aufgaben
Umfragen & Quizze
Spiele
Hilfe
Zeitplan für Motivation
Community
Benutzer
Forum
Chat
Artikel
Erfolgsstorys
Aktivität
Rezensionen
Abonnements
Helles Design
Hilfe zu Aufgaben
Rezensionen
Über uns
Start
Jetzt lernen
Jetzt lernen
Alle Fragen
Eine Frage stellen
Alle Quests
Alle Level
Beliebiger Status
Fragen zu Aufgaben
Angesagt
hidden #10625598
Level 23
Frage zur Aufgabe
Fakultät
Java Core
,
Level 5
,
Lektion 12
In der Diskussion
wie kann ich hier einen String zurückgeben?
11.06.2020
455
Aufrufe
0
Kommentare
0
Neurobot
Level 10
Göttingen
Frage zur Aufgabe
R oder L
Java Syntax
,
Level 7
,
Lektion 9
In der Diskussion
duplicating l doesn`t work?
who can tell me why my method for duplicating words with l or L is not working and how i can resolve it?
13.06.2020
366
Aufrufe
0
Kommentare
0
noctafrey
Level 2
Braunschweig
Frage zur Aufgabe
Die kleinste aus vier Zahlen
Java Syntax
,
Level 2
,
Lektion 8
In der Diskussion
Where is the failure ?
Where is my problem ? i dont get it . Pls help me /: last print will turn into "0" every time package de.codegym.task.task02.task0217; /* Die kleinste aus vier Zahlen */ public class Solution { public static int min(int a, int b, int c, int d) { int m = 0; min(a, b);
23.05.2020
628
Aufrufe
0
Kommentare
0
hidden #10625598
Level 23
Frage zur Aufgabe
Die geringstmögliche Anzahl von static-Modifikatoren verwenden
Java Syntax
,
Level 10
,
Lektion 11
In der Diskussion
sehe ich das richtig, a kann im static kontext aufgerufen werden weil es ein getter gibt? warum kann ich den static modificator nicht entfernen wenn ich einen getter für B einfüge?
public class Solution { public int A = 5; public int B = 5; public static int C = 5; public static int D = 5; public static void main(String[] args) { Solution solution = new Solution(); solution.A = 5; solution.B = 5 * B; solution.C = 5 * C * D;
29.05.2020
452
Aufrufe
0
Kommentare
0
Fabian
Level 9
Halle
Frage zur Aufgabe
Längste Sequenz
Java Syntax
,
Level 8
,
Lektion 6
In der Diskussion
Letze Bedingung falsch
Was ist falsch?
31.05.2020
744
Aufrufe
0
Kommentare
0
Max
Level 9
Frage zur Aufgabe
Quersumme einer dreistelligen Zahl
Java Syntax
,
Level 3
,
Lektion 12
In der Diskussion
Wenn ich den code verwende, der unten steht, kommt bei mir 0 raus. sollte da nicht 15 raus kommen?
Ich habe gegoogelt. Bei einigen Aufgaben hier muss man sich selbst Vorwissen aneignen. Das finde ich gut. Allerdings habe ich eine Lösung gefunden, die auch in der Frage vor mir empfohlen wurde. Also habe ich sie eingegeben. Anstatt 15 (Quersumme von 546 = 5+4+6) kommt 0 raus. Oder besser der
17.05.2020
730
Aufrufe
1
Kommentar
0
Ana
Level 22
Frage zur Aufgabe
Aufgabe zu Algorithmen
Java Syntax
,
Level 8
,
Lektion 11
Gelöst
Sorting works, last requirement failed
Hi I tested my code and everything works fine, however the last requirement isn't met. Thank you for your help!
04.01.2021
443
Aufrufe
2
Kommentare
0
Ana
Level 22
Frage zur Aufgabe
Das Ende
Java Syntax
,
Level 7
,
Lektion 12
Gelöst
OutOfMemory Exception
Hi I am getting an OutOfMemory Exception for line 18, but I don't know how to correct it? Thank you for your help
31.12.2020
516
Aufrufe
2
Kommentare
0
hidden #10618197
Level 16
Frage zur Aufgabe
Eine Datei einlesen
Java Core
,
Level 3
,
Lektion 11
Archiviert
The program shows too many rows? although that is the CodeGym solution
public class Solution { public static void main(String[] args) throws Exception { BufferedReader rd = new BufferedReader(new InputStreamReader(System.in)); String fileName = rd.readLine(); FileInputStream fileInputStream = new FileInputStream(fileName); Scanner s
03.01.2021
822
Aufrufe
4
Kommentare
0
Dnice
Level 2
Angeln
Frage zur Aufgabe
Vertrag
Java Syntax
,
Level 1
,
Lektion 6
In der Diskussion
Sieht jemand den Fehler?
Erkenne den Fehler nicht, weiß jemand weiter?
22.04.2020
726
Aufrufe
1
Kommentar
0
Max
Level 26
Nuremberg
Frage zur Aufgabe
Countdown beim Rennen
Java Core
,
Level 6
,
Lektion 10
In der Diskussion
Output is correct. Cant finde the mistake!
I think i have to work with the interrupted Exception. I tried to put the output "Unterbrochen!" and delet the if statment in main there but it still does not work.
22.04.2020
1031
Aufrufe
1
Kommentar
0
Pablo
Level 16
Bamberg
Frage zur Aufgabe
Eine Datei einlesen
Java Core
,
Level 3
,
Lektion 11
Archiviert
Please Help
I ran this program on eclipse and it worked fine. Codegym is telling me that it can't run this program and that I should use IntelliJ IDEA. I don't know what this means and this is the only way I could solve the problem.
28.04.2020
711
Aufrufe
1
Kommentar
0
xSioos
Level 8
Frage zur Aufgabe
Drei Zahlen sortieren
Java Syntax
,
Level 4
,
Lektion 6
In der Diskussion
Programm funktioniert aber es wird trotzdem ein Fehler angezeigt. Hilfe
Aufgabenstellung ist eigentlich erfüllt, aber anscheinend stimmt doch irgendwas nicht. Ich sehe es zumindestens nicht. Gerne Ratschläge posten :) g1 ist die höchste zahl und g3 die niedrigste. g2 dazwischen.
02.01.2021
445
Aufrufe
5
Kommentare
0
Ana
Level 22
Frage zur Aufgabe
Größer als 10? Du passt nicht gut zu uns
Java Syntax
,
Level 8
,
Lektion 8
Gelöst
Last requirement not met
Hi I have checked my code in the main method and I get the correct output back, however the last requirement is not met? When I checked the correct CodeGym solution, they initialized a new HashSet in the remove method and worked with a forEach-loop: public static HashSet<Integer> alleZ
02.01.2021
373
Aufrufe
2
Kommentare
0
Ana
Level 22
Frage zur Aufgabe
Katze-Code wird nicht kompiliert
Java Syntax
,
Level 7
,
Lektion 12
Gelöst
NullPointerException??
Hi As I always got a NullPointerException, I downloaded the correct solution from CodeGym. However I still get the NullPointerException for line 24, even with the CodeGym solution?? Thank you for your help.
01.01.2021
591
Aufrufe
7
Kommentare
0
myqms
Level 13
Landshut
Frage zur Aufgabe
GGT
Java Core
,
Level 4
,
Lektion 8
In der Diskussion
Why is this Solution too long ?
package de.codegym.task.task14.task1420; /* GGT */ import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Solution { public static void main(String[] args) throws Exception { BufferedReader buf = new BufferedReader(new InputStreamRead
05.04.2020
890
Aufrufe
0
Kommentare
0
Kristof
Level 17
Hamburg
Frage zur Aufgabe
Stacktrace mit 10 Aufrufen
Java Syntax
,
Level 9
,
Lektion 2
In der Diskussion
Where is my mistake? Condition 3 fails
Does anyone have a clue for me?
10.04.2020
816
Aufrufe
0
Kommentare
0
Ana
Level 22
Frage zur Aufgabe
Kürzeste oder längste
Java Syntax
,
Level 7
,
Lektion 6
Gelöst
Variable might not have been initialized...
Hi I get the error message that posMin and posMax might not have been initialized... What am I doing wrong? Thank you for your help!
31.12.2020
429
Aufrufe
2
Kommentare
0
RFCO
Level 17
Hanover
Frage zur Aufgabe
GGT
Java Core
,
Level 4
,
Lektion 8
In der Diskussion
Meets requirements...
.. but still wrong :( Why?
30.03.2020
713
Aufrufe
0
Kommentare
0
ion cretu
Level 16
Dusseldorf
Frage zur Aufgabe
Interplanetarischer Bauernhof
Java Core
,
Level 1
,
Lektion 6
In der Diskussion
Kann jemand mir helfen?
extends Animal
21.02.2020
772
Aufrufe
0
Kommentare
0
ion cretu
Level 16
Dusseldorf
Frage zur Aufgabe
Katzen-Kapselung mit private
Java Core
,
Level 1
,
Lektion 8
In der Diskussion
Fehler
Lection 1 Java Core bei jedem Task habe ich diesen Fehler. was bedeutet das?
23.02.2020
999
Aufrufe
0
Kommentare
0
FantasticFlo
Level 20
Munich
Frage zur Aufgabe
Was für eine Liste ist das?
Java Syntax
,
Level 7
,
Lektion 6
In der Diskussion
Fehlerhafte Anzeige
The description shows character incorrectly.
25.02.2020
785
Aufrufe
0
Kommentare
0
Vincenzo Seggio
Level 28
Frage zur Aufgabe
Adapter stärken
Java Core
,
Level 9
,
Lektion 3
Gelöst
Error in Method getDialString?
I cannot find the mistake in the getDialString - method within the DataAdapter class. Can you help me, please?
30.12.2020
304
Aufrufe
4
Kommentare
0
Vincenzo Seggio
Level 28
Frage zur Aufgabe
Preise
Java Core
,
Level 8
,
Lektion 11
Gelöst
Do not understand ...
the problem of the validator. I tested the program and it works.
27.12.2020
398
Aufrufe
2
Kommentare
0
Sylwia
Level 16
Deutschland
Frage zur Aufgabe
Wir brauchen keine Wiederholungen
Java Syntax
,
Level 8
,
Lektion 8
Gelöst
Komme nicht weiter
Ich komme mit der Aufgabe leider nicht weiter. Kann mir bitte jmd einen Tipp geben? Vielen Dank :)
26.12.2020
432
Aufrufe
7
Kommentare
0
Dennis
Level 4
Frage zur Aufgabe
Eine Variable auf deinem Bildschirm
Java Syntax
,
Level 1
,
Lektion 3
In der Diskussion
print.out... ?
What was after print.out....
26.12.2020
317
Aufrufe
1
Kommentar
0
Vincenzo Seggio
Level 28
Frage zur Aufgabe
Eine Datei aufbauen
Java Core
,
Level 8
,
Lektion 11
Gelöst
I don't know...
how to solve this task. If I try to create a file like Lion.avi. the last Point "." dissapears. The Validator says "the outputstream must be closed", but i closed it in line 39. Help please 😇
22.12.2020
394
Aufrufe
4
Kommentare
0
Vincenzo Seggio
Level 28
Frage zur Aufgabe
Zahlen runden
Java Core
,
Level 8
,
Lektion 11
Gelöst
Why is the task failing?
My solution works. Help please.
20.12.2020
450
Aufrufe
1
Kommentar
0
JFK666
Level 6
Frage zur Aufgabe
Positive und negative Zahlen
Java Syntax
,
Level 4
,
Lektion 4
In der Diskussion
Scanner oder BufferedReader wird nicht erkannt
Meiner Meinung nach ist das Ganze in Ordnung aber da wird weder der Scanner erkannt noch der BufferedReader? Kann mich da jemand bitte mal aufklären? Fehlermeldungen: de/codegym/task/task04/task0412/Solution.java:15: error: cannot find symbol Scanner a = new Scanner(System.in); ^
18.12.2020
952
Aufrufe
4
Kommentare
0
Vincenzo Seggio
Level 28
Frage zur Aufgabe
CRUD
Java Core
,
Level 7
,
Lektion 10
Gelöst
I don't know how ...
to satisfy the validator 😬. Can you give me any hint please?
13.12.2020
582
Aufrufe
8
Kommentare
0
Mehr anzeigen
1
...
19
20
21
22
23
...
48
Please enable JavaScript to continue using this application.