Java View all facts Glossary Help |
member > instance member > instance method > method that is declared in Object class > toString |
toString comparison table |
Subject | have default implementation | have | is a kind of | is a subtopic of | is an instance of | have purpose | return | write for |
---|---|---|---|---|---|---|---|---|
method that is declared in Object class | a comment at its head if the method is non-obvious | instance method | Methods | a value that is of the return type of the method or a subtype of that type | ||||
toString | the name of the class followed by a hexadecimal code that distinguishes one instance from another | specification | Example Methods | method that is declared in Object class | to convert any kind of object into a string | a String representation of the object to which it is applied | every class you create |
Next method that is declared in Object class: wait method Up: method that is declared in Object class Previous method that is declared in Object class: notifyAll