What is static variable and static method?
Answer Posted / radhika.rangu
Static variable:-static variable is a variable whose single
copy is shared by all the objects of a class.
Static Method:-static method is a method.It is used to
declare the keyword called static.No need to create the
Objects.It is called without creating the object
| Is This Answer Correct ? | 14 Yes | 1 No |
Post New Answer View All Answers
What is passing parameters in java?
What two classes are used to read data only?
Can an anonymous class be declared as implementing an interface and extending a class in java programming?
What is meant by method overriding?
What is purpose of find feature?
What is lazy initialization in java?
Where can I find jdk in my computer?
Why hashcode is used in java?
Is main a keyword in java?
What is printwriter in java?
What is a null point?
How many bytes is a char in java?
What ide should I use for java?
How can u increase the heap size in the memory?
Can we increase array size dynamically in java?