Click here to Skip to main content
15,890,882 members
Please Sign up or sign in to vote.
4.00/5 (2 votes)
See more:
Hi,
I am in the process of learning about static methods and classes...
After reading several articles, books, etc. I have concluded the following:
Do you agree with each point?

Thank you

1- Static members can not be references through instance variables.
2- static members can be abstract?
3- this keyword can not be used in static methods
4- static modifiers are not used in constant declaration
5- there can be a copy of a static field for each instance of a class.
Posted

1) yes.
2) no.
3) yes.
4) yes.
5) no.
 
Share this answer
 
Comments
Mohammad A Rahman 18-Aug-11 4:58am    
Good answer 5 :)
For further reading,

Static Classes and Static Class Members[^]

:)
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900