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
Explain purpose of sleep() method in java?
What are the differences between include directive and include action?
What is void keyword?
Can we increase array size dynamically in java?
Can a abstract class be defined without any abstract methods?
What is the difference between class forname and new?
Can you instantiate the math class?
What function extracts specified characters from a string?
Can we have multiple classes in single file ?
What are basic keywords?
How do you convert string to int in java?
What does ide stand for?
Can static methods access instance variables in java?
Does collectionutils isempty check for null?
What is a buffer in computer?