Thread
:
what does "this" mean?
View Single Post
#
2
(
permalink
)
07-31-2007, 07:57 PM
Swamipsn
Member
Join Date: Jul 2007
Posts: 72
Hi,
"this" means you indicates the variable or instance which is used by this[Present] class. Suppose your base class have int x, and derived class also have int x then you need to use this key word to point out the derived class's
x. .....
Swamipsn
View Public Profile
Send a private message to Swamipsn
Find all posts by Swamipsn