What is static variable and static method?
Answer Posted / sivaramakrishna bandaru
static method or a variable is not attached to a particular
object, but rather to the class as a whole. They are
allocated when the class is loaded. Remember, each time you
call the instance the new value of the variable is provided
to you.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How do you check if a character in a string is a digit or letter?
Can we overload destructor in java?
What is int argc char * argv?
What is JFC?
How do you add an arraylist to an array in java?
List primitive java types?
What is a method declaration?
How to sort double array in java?
What is the meaning of variable in research?
What are the differences between c++ and java?
What is class forname used for?
Can you instantiate the math class?
what is the final keyword denotes in java?
What is the difference between length and length () in java?
Is main a keyword in java?