0

Can static be used before constructor?

7th Sep 2016, 6:12 PM
vishwa teja
vishwa teja - avatar
2 Réponses
0
No.
7th Sep 2016, 6:33 PM
Zen
Zen - avatar
0
static belong to class, not to object, and initialized only onece, when the class is declared. So when you use object constructor it's do not use static variables and methods. It's about how i understood it.
8th Sep 2016, 3:30 PM
buran9
buran9 - avatar