C Books Guide and List
C++ Books Guide and List
Best Java Books

3,749 questions

4,049 answers

114 comments

10,705 users

What is static ?

0 votes
20 views
asked Jan 5, 2014 by sara Guru (24,570 points)

1 Answer

0 votes
static means one per class.  static variables are created when the class loads. They are associated with the class.  In order to access a static we don't need objects. We can directly access static methods and variable by calling classname.variablename.
answered Jan 5, 2014 by rajesh Guru (39,140 points)

Related questions

0 votes
2 answers 33 views
0 votes
2 answers 22 views
22 views asked Jan 5, 2014 by john Guru (27,140 points)
0 votes
1 answer 28 views
28 views asked Jan 9, 2014 by smith Geek (15,340 points)
0 votes
1 answer 54 views
54 views asked Feb 18, 2014 by john Guru (27,140 points)
0 votes
1 answer 35 views
35 views asked Feb 7, 2014 by john Guru (27,140 points)
...