What is the use of static keyword in "public static void
main()"
Answer Posted / rajesh
Execution starts from main method, but in this statement
importance of "static" is, it load in memory even before
first object is instantiated.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is rmi and steps involved in developing an rmi object?
What are memory tables?
What do you mean by singleton class in java?
What is the difference between static binding and dynamic binding?
What is a double?
there are N number of matchboxes numbered 1...N.each matchbox contain various number of stick.Two player can alternatevely pick some amount of stick from the higest stick containing box . The player is condidered win if there is no stick after his move.Find the final move so that the move player win. Note:In case the number of stick is equal ,pick the stick from the higest numbered box.
What are the advantages of encapsulation in java?
Is it compulsory for a try block to be followed by a catch block in java for exception handling?
What do you mean by platform independence? What is an interface?
Name the components that are termed to be Heavy-weight component but available in Light-weight components?
What are controls and their different types in awt?
How does java pattern compile work?
Can you override static methods?
What is final method in java?
What is file in java?