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 |
where is available in this mantis toturials?
In OB52 , How to define two open posting period, Like only 5 and 8 posting should be open.. should not open 6 and 7..period..
why you have to became a software developer?
Fortran cannot have value by reference True or False?
what are wrapper classes
Why we need new operator in java at the time of object declaration and why not in c++?
iam confused among testing ,.net and java. can anybody help me.
Write a program to show polymorphism.
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 does database connection using ADO.NET?
what is the diff bw sql direct and jdbc update can't we do select and updating operation in sql direct
what is lazy loading in hibernate?Explain in detailed manner?