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
Is ++ operator thread-safe in java?
What is a method in programming?
Is java developer a good career?
Is it compulsory for a try block to be followed by a catch block in java for exception handling?
Is it necessary for the port addresses to be unique? Explain with reason.
Difference between association, composition and aggregation?
What is the map interface in java programming?
What is __ init __ functions?
What are the 2 types of java programs?
Can we declare a class as abstract without having any abstract method?
What is java in detail?
What is unicode full form?
Explain the difference between transient and volatile in java?
What are white spaces in java?
What are the basics of core java?