I don't really understand the GET and SET functions inside of a function. The functions go like this:
Where do you send the variable for set? When was this added? It seems like a neat way to create functions in classes and not have to create a new get/set function for everything.Code:int somefunction() { Get { return variable; } set { variable = this; } }


LinkBack URL
About LinkBacks




Reply With Quote


Bookmarks
Algorithms and Data Structures
Java tutorials
Algorithms Forum