User Tools

Site Tools


java:initializing_classes_and_constructors

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
java:constructor_basics [2020/09/12 05:02] – [Default constructors] mithatjava:initializing_classes_and_constructors [2020/09/12 05:04] – ↷ Page name changed from java:constructor_basics to java:initializing_classes_and_constructors mithat
Line 144: Line 144:
 </code> </code>
  
-Writing a ''toString()'' instance method is especially important when your class is more complicated than the simple class we've been using here. To understand the magic by which this works, you need to have an understanding of inheritance in Java. But that shouldn't stop you from starting to do this now.+Writing a ''toString()'' instance method is especially important when your class is more complicated than the simple class we've been using here. To understand the magic by which this works, you need to have an understanding of inheritance in Java. But that shouldn't stop you from doing this now.
  
 Copyright © 2020 Mithat Konar. All rights reserved. Copyright © 2020 Mithat Konar. All rights reserved.
java/initializing_classes_and_constructors.txt · Last modified: 2020/09/16 18:15 by mithat

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki