What is non static block in java
Answer Posted / raj_allinterview
Non static block is a block which is surounded by { and }
for ex :
{
//code goes here
}
The code within non static block is executed whenever a new
instance of that class is created.
It is instance block.
| Is This Answer Correct ? | 25 Yes | 2 No |
Post New Answer View All Answers
What is math in java?
Is cout buffered?
What is primitive array?
Does java linked list allow duplicates?
What causes memory leak in java?
How many characters is 16 bytes?
How to disable caching on back button of the browser?
Mention a package that is used for linked list class in java.
What is Java Package and which package is imported by default?
How do you clear a method in java?
What is static import?
What is a cup of java?
What is function and method in java?
What is the Concept of Encapsulation in OOPS
Write a program in java to find the maximum and minimum value node from a circular linked list.