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


Please Help Members By Posting Answers For Below Questions

what is interface in java? Explain

518


what is aggregation in java?

576


What is the Concept of Encapsulation in OOPS

541


What is initial size of arraylist in java?

524


Which java collection does not allow null?

702






What is classes in java?

504


What is application system?

490


What is final variable?

482


What is math in java?

552


Can you add null to a list java?

569


How infinite loop is declared?

514


Difference between stack and queue?

575


When should we create our own custom exception classes?

570


What is the locale class in java programming?

519


When is the garbage collection used in Java?

643