why we use static with only main()class not with other class
Answers were Sorted based on User's Feedback
Answer / nadeem khokhar
actually we never write main m = new main();
so with static function or class we do not have to declare a new memory, those are directly accessible. and definitely i can use static keyword with other classes but then i cant make an object of that class.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / boxofyuvi
Becoz the class which is stated as static will have the
first preference to execute....
| Is This Answer Correct ? | 5 Yes | 5 No |
I want Ada programming language books. Could anyone post me any link for that?
What are the tasks performed by a Team Lead
What is meant byStatic Variable ?
How to convert numeric value into words in c#????plz suggest me the coding of this question???
What is the use of sas software? Is sas and sap are different?
What is the difference between windows 98/2000/XP Operating Systems?
16 Answers CMS, Siemens, TCS,
what do u mean by tagging
How to set fixed width in particular <td> in html? if i type more character in this <td> it will not push near <td>. this is my question. can u tell me the answer...
Write a shell program to test whether a given year is leap year or not ?
When we delete logfiles such as screenshots how does it affect the ldf file? Ive seen huge change while adding screenshots in the ldf file but a very minor one deleting them.Please Explain
how to work search engine? plz detail answer me.
1) How can u create the table?