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 |
what is the draw back of Power builder
explain how to make a control visible and invisible during runtime
how to convert infix expression to prefix expression?
will it allow to add same value in HashMap class.
Hi can you please help for the following. I have a ASP.Net web page I want to print the whole page how is it possible? I want It in ASP also.Please send me the solutions dipankar.hazari@gmail.com . Thanks in advance.
what is the difference between primary key and unique key?
How to call a C++ function which is compiled with C++ compiler in C code?
how to remove header and footer in jcl using sort utility
what is difference between oracle and pl/sql
what is the abap/4
when will triggars the at new event in abap and web dybn pro?
What is Big-O notation?