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 do a line break in java?
Describe string intern() methodology
What is a pattern what is an anti pattern?
What is a singleton in genetics?
What are the concepts of 'OOPS'?
Which is the class in java?
What are data types in oop?
what is bmg file and how to create that files?what will it contailn?
What is contract between hashcode and equal method?
What is the purpose of sizeof operator?
What is classname class in java?
What are static variables and functions?
What do you mean by Hash Map and Hash Table?
What is the difference between static (class) method and instance method?
How to read and write image from a file ?