Explain Public static void main?

Answer Posted / ravikiran(aptech mumbai)

public-this method is accessible in all the classes
static-this method is called before creation of any instance
void-this method doesn't return any thing
main-Is the name of the method

Is This Answer Correct ?    58 Yes 19 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is an abstract class and what is it’s purpose?

539


What is finally block?

567


Which oo concept is achieved by using overloading and overriding?

542


How do you override a method in java?

538


What are the different collection views provided by maps?

572






What is command line used for?

594


What is the difference between numeric and integer?

514


What is the file extension for java?

614


What is use of super keyword in java?

600


Explain the concept of proper inheritance?

623


Which data type is a class in java?

573


What is java thread dump, how can we get java thread dump of a program?

577


What is JVM and is it platform independent?

563


Is main an identifier?

547


How does split work in java?

535