Results 1 to 3 of 3
Thread: ' this. '
- 11-26-2008, 01:09 PM #1
Member
- Join Date
- Sep 2008
- Posts
- 11
- Rep Power
- 0
- 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


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks