A
A
Alexander Sharomet2015-01-25 13:56:36
Programming
Alexander Sharomet, 2015-01-25 13:56:36

If you make a similar entry in actionscript 3.0, will it work?

private var a:int=0,b:int=10,c:int=5;
With this notation, are all these variables (properties) private?
Thanks!)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Mylchenko, 2015-01-28
@sharomet

Yes, it will work and behave like private. Unless it's just a declaration, syntactically not accepted in the world of AS3 programmers. This is how JS programmers write, and it is considered good practice to describe AS3 code as in Java.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question