Results 1 to 3 of 3
Thread: ' this. '
- 11-26-2008, 01:09 PM #1Member
- Join Date
- Sep 2008
- Rep Power
- 11-26-2008, 01:11 PM #2
this refers to the current class,in your case this.number monitors to class variable which was declared in the class which is assigned to a parameter double number.
- 11-26-2008, 11:51 PM #3
static always same for all classes. this only applies to classes generated with new keyword.
You will sometimes hear of this discussed as stack and heap.....Introduction to Programming Using Java.
Cybercartography: A new theoretical construct proposed by D.R. Fraser Taylor