what is the difference between statis block and static
variable
Answer Posted / suresh.m
staticblock,static variables,static method are executed
before creating an object to be created to class.i think
there is no difference between them.
Is This Answer Correct ? | 2 Yes | 11 No |
Post New Answer View All Answers
What is console based application in java?
In which language java is written?
Difference between error and exception
Why is inheritance used in java?
Describe the Big-O Notation.
How long will it take to learn java?
Is java 9 released?
Is it possible to use Semaphore/ Mutex in an Interrupt Handler?
What is string :: npos?
what type of questions asked for barclays technologies pune please send urgent
What is class variable java?
What is lambda expression in java?
What is the purpose of format function?
Why does java have different data types for integers and floating-point values?
Is object a data type in java?