0

What do u mean by static in java programming language?

18th Feb 2017, 4:57 AM
Alok pandey
Alok pandey - avatar
2 Answers
0
The static keyword denotes that a member variable, or method, can be accessed without requiring an instantiation of the class to which it belongs. In simple terms, it means that you can call a method, even if you've never created the object to which it belongs
18th Feb 2017, 5:05 AM
Abdelaziz Abubaker
Abdelaziz Abubaker - avatar
0
The data and method members that directly belong to the class are call static members. You can use class name dot member name to use them without instantiate an object from that class.
18th Feb 2017, 5:38 AM
Jian-hua Yeh
Jian-hua Yeh - avatar