What is the use of static keyword in "public static void
main()"

Answer Posted / praveen

static is method that can be called and executed without
using obect

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the symbol for average?

520


What is return type in java?

635


Why is java so popular?

639


What is the difference between the boolean & operator and the && operator in java programming?

567


Where we write javascript code in html page?

564






What is anonymous inner class?

611


Can we override constructor in java?

579


Can a class be private?

519


What is the protected method modifier?

563


What are the uses of synchronized keyword?

558


Can we use different return types for methods when overridden?

556


What is the nested interface?

599


How will you communicate between two applets?

632


Is binary a low level language?

513


Explain, java is compatible with all servers but not all browsers?

612