What is difference between static method and static
variable?
Answer Posted / kusum
if a variable is declared static only single copy is
visible to all instances of class.if a method is declared
as static it is executed first as how main method is
executed in java
| Is This Answer Correct ? | 22 Yes | 9 No |
Post New Answer View All Answers
Discuss 2D arrays.
Can you run java program without main method?
What is byte data type?
What are the approaches that you will follow for making a program very efficient?
What is java abstraction with example?
What is mean by exception?
What’s the difference between callable and runnable?
What are latest features introduced with java 8?
What is an off by one error in java?
Can each java object keep track of all the threads that want to exclusively access it?
Can we compare two strings in java?
What is java volatile?
How to store image in arraylist in java?
What is a local class in java?
What is serial version uid and its importance in java?