Question:
why constructors not support static variables in java?
2010-08-24 22:10:20 UTC
why constructors not support static variables in java?
Three answers:
Light Cloud
2010-08-24 22:17:35 UTC
What exactly are you asking? Could you give an example?



If you're asking why the keyword "static" doesn't appear in the constructor methods, that's just the way the syntax works.
HMJava
2010-08-26 12:48:39 UTC
It's just how things are structured in java programming.





http://www.homeworkjava.com
penny
2016-10-26 12:30:14 UTC
i do not imagine all of us is going to be too prepared on doing all of your homework for you. Why do not you try answering those your self, and then in case you get stuck on any certain question then ask that one question the following on YA ?


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...