what is the difference between static block and static
method
Answer Posted / anu
static block is execute first after the remaining blocks will executes.
static metods can executes using classname.staicmethodname
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
What are the differences between stringbuffer and stringbuilder?
What are basic data types?
What is generic class?
Can constructor be inherited?
What is a nested structure?
What class allows you to read objects directly from a stream in java programming?
What is floating data type?
what is the difference between thread and runnable types? : Java thread
How can we make string upper case or lower case?
What are facelets templates?
What is externalizable interface?
What is the size of a string in java?
What is difference between float and double?
Why chararray() is preferred over string to store the password?
How to make object serializable in java?