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
Why is singleton class used?
What is the final access modifier in java?
Why runnable interface is used in java?
How do you escape sequences in java?
What does ide stand for?
What is the different between get and post?
What is threaded programming and when is it used? : Java thread
Define a package.
What is anagram word?
What is the maximum size of array in java?
What is class??
Write down program for following scenario. Use java coding standard. You have array list with some words in it..we will call it as dictionary….and you have a arbitrary string containing some chars in it. You have to go through each word of dictionary and find out if that word can be constructed with the help of chars from arbitrary string given. If you find the word print it else print none.
What are the access modifiers available in java?
What is maximum size of arraylist in java?
What is the benefit of inner / nested classes ?