What is non static block in java
Answer Posted / sreenu karampudi
Non static blocks: Code within {} is non-static block
for example:
{
// code
}
| Is This Answer Correct ? | 28 Yes | 3 No |
Post New Answer View All Answers
What is the difference between synchronized and synchronized block?
How can constructor chaining be done by using the super keyword?
What is the difference between multiple processes and multiple threads?
What is try-with-resources in java?
Can a constructor be protected?
What is the difference between a scrollbar and a scrollpane?
Tell me the Importent classes in net package?
What are the three types of design patterns?
Why do we create public static method in java?
What is formatted output in java?
What is the difference in between cpp and java? Can u explain in detail?
What is the difference between abstraction and encapsulation?
What is the difference between logical data independence and physical data independence?
What is method overloading in java ?
If we allocate the memory using 'new' & de-allocated using 'free' then what will happen?