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


Please Help Members By Posting Answers For Below Questions

What is the parse method in java?

762


what is the purpose of "virtual"?

756


what is the use of pojo (plain old java objects)? how it is interact with crystal reports? pls urgent

1915


How can you read content from file in java?

777


What is an argument in java?

676






Give me example of derived data types.

814


Can constructor return value?

708


When a thread is executing a synchronized method , then is it possible for the same thread to access other synchronized methods of an object ?

790


List the interfaces which extends collection interface?

717


Can you explain the meaning of aggregation and composition

745


Can a source file contain more than one class declaration?

706


Is java util list serializable?

695


why not override thread to make a runnable? : Java thread

735


Can we define private and protected modifiers for the members in interfaces?

776


What is final int?

705