Thread
:
variable initialization
View Single Post
#
3
(
permalink
)
05-23-2008, 12:10 AM
danielstoner
Senior Member
Join Date: Apr 2008
Location: Canada
Posts: 191
Come on
You cannot do a=1; in the class body. You have to put that in a method, static bloc or initialize the variable on the same line where you declare it like in second example.
__________________
Daniel @ [
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
]
Language is froth on the surface of thought
danielstoner
View Public Profile
Send a private message to danielstoner
Visit danielstoner's homepage!
Find all posts by danielstoner