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 final keyword in java?
How many types of flags are there?
How is string stored in java?
Can we create more than one object singleton class?
What is the purpose of the enableevents() method?
What is finalize()?
Is it possible to use string in the switch case?
What do you mean by access modifier?
What is a treeset in java?
Explain jdk, jre and jvm?
What does the three dot emoji mean?
What is java virtual machine and how it is considered in context of java’s platform independent feature?
Is 0 a prime number?
What is anti pattern in cyber security?
Explain about instanceof operator in java?