why we use static with only main()class not with other class

Answer Posted / boxofyuvi

Becoz the class which is stated as static will have the
first preference to execute....

Is This Answer Correct ?    5 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

hii I inntrested abt scjp certification but i dont knw abt scjp plz send details abt scjp exam and syllabus.

1378


how to stop execution of step 3 in a job mainframe

1703


how to get second highest salary from a employee table and how get a 5th highest salary from a employee table by using proc sql?

1882


Write a program to reverse a number?

649


< DL Compact > tag is used for

1540






what is adodb??y it is used for connection of V.B and access??what is ado?dao?

1760


Given a cube of size n*n*n (i.e made up of n^3 smaller cubes), find the number of smaller cubes on the surface. Extend this to k-dimension.

663


Where do we need Operator overloading?

641


I want Ada programming language books. Could anyone post me any link for that?

2936


What r the attributes using in Win Runner?

1936


how we can know the funcions available in a class recording java?

1737


Hai, My name is nisha.I have NIC exam.If anybody Knows NIC previous paper pattern pls send me to nishanairp@gmail.com

1736


Q2. A memory location has physical address D5687h. Compute: a. The offset address if the segment number is D445h. b. The segment number if the offset address is B577h.

1621


For a binary tree with n nodes, How many nodes are there which has got both a parent and a child?

3174


WHAT IS MAIN IMPORTANT THING IN SOFTWARE?

1712