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

How many types of flags are there?

736


What is the difference between access specifiers and access modifiers in java? 16

752


What is classes in java?

709


What is a singleton in genetics?

806


What is the benefit of using enum to declare a constant?

863


If system.exit (0); is written at the end of the try block, will the finally block still execute?

833


Is finalize() similar to a destructor?

782


What’s a deadlock?

846


What is primitive data type in java?

734


Why stringbuffer is faster than string?

785


Why java is called not pure object oriented language?

817


What is a method type?

734


Is null an object in java?

784


Does java initialize arrays to zero?

713


How is Object Oriented Programming different from Procedure Oriented Programming?

814