What is static variable and static method?
Answer Posted / naraen
static variable is a class variable. This life time scope
in whole prgm...
static method is use to access without creating object in
the java prgm...
| Is This Answer Correct ? | 53 Yes | 26 No |
Post New Answer View All Answers
Is {a, n, d} a palindrome? If you are given a random string, is it a palindrome or not?
Explain the difference between collection api and stream api in java8?
What is the difference between menuitem and checkboxmenu item?
Can we override the overloaded method?
Why parsing is done?
How is hashcode calculated in java?
What is rule of accessibility in java?
What modifiers may be used with an inner class that is a member of an outer class in java programming?
What is the purpose of skeleton and stub?
How do you escape sequences in java?
What is the default value of byte datatype in java?
Is it possible to use string in the switch case?
What is difference between iterator and enumeration in java?
What exceptions occur during serialization?
Can you explain the cs option of java interpreter?