What is non static block in java
Answer Posted / varun reddy
Non-static block is called anonymous block.the block of code which is return inside a non static block is executed on creation of object and before invoking clonstructor.
Syntax of non static block::::-------
{
statements;
}
Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
How to perform linear search in java?
What are the ways to instantiate the class class?
Explain what do you mean by functional overloading in java?
What are the methods of object class ?
Is null or empty java?
What do you mean by object?
Explain features of interfaces in java?
What data type is string java?
How many boolean functions are there?
What is a percentage sign called?
Can a constructor be made final?
What is main in java?
What is the byte range?
What is the difference between final, finally and finalize() in java?
Can keyword be used as identifier?