java:defining_classes_in_java
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
java:defining_classes_in_java [2020/09/12 03:25] – mithat | java:defining_classes_in_java [2020/09/12 03:32] – [Instantiation and use] mithat | ||
---|---|---|---|
Line 49: | Line 49: | ||
In actuality, this is a pretty crappy class definition for reasons we'll see later. But for now it's enough to get us started. | In actuality, this is a pretty crappy class definition for reasons we'll see later. But for now it's enough to get us started. | ||
- | ==== Instantiation and use ==== | + | +==== Instantiation and use ====+ |
The above is just a class definition. It doesn' | The above is just a class definition. It doesn' | ||
Line 74: | Line 74: | ||
public class ClickerCounter { | public class ClickerCounter { | ||
- | // Class definition | + | // Class definition |
int count; | int count; | ||
| |
java/defining_classes_in_java.txt · Last modified: 2020/09/14 01:38 by mithat