What is static variable and static method?
Answer Posted / govardhani
A static variable is a variable who's single copy in memory
is shared by all objects,so any modifications to the static
variable will modify it's value in all objects.
In classes, a static method is one that is called without an
instance of that class, while a non-static method is called
by instances of the class.
| Is This Answer Correct ? | 9 Yes | 0 No |
Post New Answer View All Answers
What is java util list?
Explain about main() method in java ?
What is the difference between processes and threads?
How can you read content from file in java?
What exactly is methodology?
What does this () mean in java?
Is java based on c?
What is purpose of applet programming?
what is mena by object block any what is the use of that
What is a class reference?
Is arraylist an object in java?
What is the latest java version?
How do I know if java is installed?
what is the difference between future and callable interface in java?
What is a variable and constant?