What is static variable and static method?
Answer Posted / rajiv sairam
Static variable can be modified, only a single copy is maintained for the objects,it stays in memory until we delete it manually,accessing is directly with the class name
Static method can access only static data with the class name, no need of creating objects.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How do you download stubs from Remote place?
What is update method called?
What is the difference between a scrollbar and a scrollpane?
What is better - 'bit-shift a value' or 'multiply by 2'?
What is this keyword used for?
What are the advantages of java over cpp?
What is internal variable?
What is printwriter in java?
What is string intern in java?
How to use arraylist in java netbeans?
When is the finalize() called?
What are the four versions of java?
What is a line separator in java?
What is constructor in java ?
How do you convert an int to a double in java?