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
Why we use protected in java?
How does compareto method work?
What do you mean by ternary operator in java?
What 4 doubled?
Explain the difference between call by refrence and call by value?
What is listnode in java?
Can an interface have a constructor?
What is the symbol for average?
What is meant by method?
How to pass arraylist to stored procedure in java?
Is there a jre for java 11?
What is the this keyword?
Explain the purpose of garbage collection in Java?
Can It is possible to synchronize the constructor of a Java Class?
What is the use of set in java?