Click here to Skip to main content
15,881,027 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
can classes be declared as static, if yes please show an example program.
what are the conditions for declaring static key word for either a variable or a class or a function.. give some examples for each model please..
Posted
Updated 19-Aug-15 4:56am
v2
Comments
Michael_Davies 17-Aug-15 10:37am    
http://stackoverflow.com/questions/7486012/static-classes-in-java
Dheeraj Cidda 17-Aug-15 11:43am    
thnx michael

1 solution

 
Share this answer
 
Comments
Dheeraj Cidda 17-Aug-15 11:42am    
thnx
Sergey Alexandrovich Kryukov 17-Aug-15 13:55pm    
Fair enough, a 5.
—SA
CPallini 17-Aug-15 15:46pm    
Thank you.
Maciej Los 17-Aug-15 15:43pm    
5!
CPallini 17-Aug-15 15:46pm    
Thank you.

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