carookee - group communication for you
Home / JavaForum / Beginner
Infos   |   Features   |   Gold-Edition   |   Kundenservice   
java
  Übersicht
  Forum
Beginner
Java allgemein
JDBC
JNI
Networking
Online-Ressourcen
Swing + AWT
XML
Meckerecke
  Mitglieder
LOGIN





· Passwort vergessen
· Kostenlos anmelden
  Information
  Demo
  Features
  Im Vergleich
  Anmeldung
SUCHE
Beiträge, Foren oder Verfasser finden:
  Kundenservice
  Impressum
  Datenschutz
  AGB
Status
4.932 User online
1 User eingeloggt
 

Beiträge
   Antworten     Neuer Beitrag    

Beitrag 955 von 2963 (32%) |<   <   >   >|

Autor Uwe Marx
Datum 27.02.02, 16:01
Betreff Re: ArrayAusgabe


Hallo Ralf,

da du dich mit der Ausgabe auf das Array selbst und nicht auf ein Element des Array´s beziehst, wird die Methode toString() auf das Array-Objekt aufgerufen.
Was das ist, was da rauskommt, kannst du in der Doku nachlesen.

Hier die Beschreibung aus der API-Doku:

toString

public String toString()

Returns a string representation of the object. In general, the toString method returns a string
that "textually represents" this object. The result should be a concise but informative
representation that is easy for a person to read. It is recommended that all subclasses
override this method.

The toString method for class Object returns a string consisting of the name of the class of
which the object is an instance, the at-sign character `@', and the unsigned hexadecimal
representation of the hash code of the object. In other words, this method returns a string
equal to the value of:

getClass().getName() + '@' + Integer.toHexString(hashCode())


Returns:
a string representation of the object.


Gruß,

Uwe


Diskussionsverlauf:
ArrayAusgabe
    Re: ArrayAusgabe
        Re: DankeDir

 Auf diesen Beitrag antworten
 Neuen Beitrag verfassen


|<   <   >   >|

                                                                                                                                                                                                                           

Impressum  · Datenschutz  · AGB  · Infos  · Presse
Ein modernes Forum: teamturn.com