What is static variable and static method?
Answer Posted / qaisarayub
static variables are classes variables not instance
variables .They are instantianted only once for a
class.They are initialised at class load time.
Static method can be referenced with the name of the name
of the particular object of that class. That's how the
library methods like System.out.println works.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is the purpose of the enableevents() method in java programming?
What is collection class in java? List down its methods and interfaces.
What does indexof mean?
How do you check if two strings are equal in java?
Why string is immutable or final in java
What is broken and continue statement?
What do you mean by aggregation?
What is default size of arraylist in java?
What is Java Annotations?
What is lazy programming?
Is java util list serializable?
How to retrieve data from database in java using arraylist?
how we can use debug in myeclipse 6.0 in order solve the problems that exist in our program when there are 900 to 1000 pages in a web application
How big is a pointer?
What is yield () in java?