Repository navigation
Web 0.14.21: Array-Ausgabe wie in Java (Referenz), Arrays.toString zeigt den Inhalt - #166
Merged
Merged
Conversation
code4teaching
force-pushed
the
web-array-referenz
branch
from
October 31, 2026 15:58
c9aa3b4 to
d2e36b9
Compare
…gt den Inhalt System.out.println(zahlen) gibt in der Simulation und in Programmieren jetzt wie echtes Java eine Referenz wie [I@… aus. Arrays.toString und Arrays.deepToString zeigen den Inhalt; Arrays braucht import java.util.Arrays (Code-Export ergänzt ihn). Lektion 15 erklärt das in de/en/pt. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Ugz28VVb2pkKNmmHKgsfxu
code4teaching
force-pushed
the
web-array-referenz
branch
from
October 31, 2026 16:08
d2e36b9 to
cafebde
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Requested by Holger · project thread
Problem
System.out.println(zahlenreihe)zeigte in Simulation und Programmieren den Inhalt[1, 2, 3]. Echtes Java zeigt eine Referenz wie[I@1b6d3586.Änderungen
simulation.ts): Ein ganzes Array in einer Ausgabe (auch in"Text " + zahlen) wird zu[I@…,[D@…,[Z@…,[Ljava.lang.String;@…,[[I@…. Die Kennung bleibt für dasselbe Array gleich, auch nach dem Ändern eines Fachs.Arrays.toString(x)(Inhalt; bei 2D-Arrays wie Java die Zeilen-Referenzen) undArrays.deepToString(x).Arraysohneimport java.util.Arrays;ist ein Fehler, wie bei javac. Code-Export ergänzt den Import (ohnethrows Exception).Arrays.toString.VisuStructSimulationEngine.swift) ist nicht geändert.Tests
npm test: 389 Tests grün,website/appneu gebaut.Generated by Claude Code