User Tools

Site Tools


java:defining_classes_in_java

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
java:defining_classes_in_java [2020/09/12 02:49] – [Our first Java class] mithatjava:defining_classes_in_java [2020/09/12 02:51] – [Our first Java class] mithat
Line 42: Line 42:
 } }
 </code> </code>
 +
 +This definition states that an instance of a ClickerCounter will consist of a ''count'' member variable, a method ''click()'' that increments the count, and a ''reset()'' method that resets the count.
  
 ==== Where does the definition go? ==== ==== Where does the definition go? ====
java/defining_classes_in_java.txt · Last modified: 2020/09/14 01:38 by mithat

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki