What is non static block in java
Answer Posted / srinivasa
Instance methods are called non static blocks. Because we
can't call them without creating the object.Constructor is
also a non static block. Non Static means other than the
static block and static methods in a class . So we ca the
above two as non static block.
| Is This Answer Correct ? | 4 Yes | 4 No |
Post New Answer View All Answers
extending thread class or implementing runnable interface. Which is better? : Java thread
What is method reference in java?
How many bytes are a float?
What are the wrapped, classes?
What is string subsequence method?
How do you change an int to a string?
What is the console in java?
What is java algorithm?
How do you replace a string in java?
Is there any case when finally will not be executed?
What is fail first in java?
Why enumeration is faster than iterator?
What do you mean by default constructor in java?
'A class is a template for an object' explain this statement.
What is the use of bufferedreader?