Answer Posted / madan
static block contains a code which is executed without
object of a class.i.e is excuted at the time of class
loading
| Is This Answer Correct ? | 6 Yes | 1 No |
Post New Answer View All Answers
What is the difference between Error, defect,fault, failure and mistake?
How do you access command-line arguments within the code?
Can a class be declared as static?
Explain the difference between throw and throws in java?
Explain parallel processing in java8?
Why is singleton instance static?
What is use of inner class in java?
What method is used to specify a container's layout in java programming?
How to sort an array in java without using sort method?
What is generic type?
What does jenkins do?
What are the new features in java 8?
What is a numeric digit?
What happens if we override only equals?
What is the base class of all exception classes?