search
Login

Categories


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

3.8k questions

4k answers

117 comments

10.7k users

0 votes
25 views
asked Guru 24.6k points 29 52 81

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 Guru 39.1k points 10 21 33

Related questions

0 votes
2 answers 36 views
0 votes
2 answers 25 views
25 views
asked john Guru 27.1k points 31 50 97
0 votes
1 answer 34 views
34 views
asked smith Geek 15.3k points 16 41 63
0 votes
1 answer 57 views
57 views
asked john Guru 27.1k points 31 50 97
0 votes
1 answer 37 views
37 views
asked john Guru 27.1k points 31 50 97
...