What is difference between static method and static
variable?
Answer Posted / archana
if we declare a variable as static then it has only one copy
for all classes. if a method is declared as static without
using object we can call it.
| Is This Answer Correct ? | 11 Yes | 9 No |
Post New Answer View All Answers
What are the two categories of data types in the java programming language?
How do generics work?
How do you print array in java?
What is stack explain?
Can we cast any other type to boolean type with type casting?
What do you mean by compiler?
Is java se free?
What is the difference between the paint() and repaint() methods in java programming?
Explain naming conventions for packages?
What do you mean by thread safe?
What is parsing in grammar?
Is arraylist an object in java?
What is parsing and its types?
What is ascii format?
What is a map in java?