why we use static with only main()class not with other class
Answer Posted / 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 |
Post New Answer View All Answers
what are the advantages of sap on other software ?
what is client server & server? What r types of Joins? explsin it! which types of indexex in sql server? what is triggers?
Can any one give an example (Source Code) on virtual function implemetation in Java?
what is log files in qtp what is use
what is an INI file?
which book we learned this mantis? how many version are realsed this mantis upto now?
what is programmable BIST in today ic design
how many types of bytes are there???
What is the purpose of
What is Negative testing?
Difference between delegates and Events?
I have try to write a record in a TDQ from a fle.... what are the steps to do... can anybody plz come with a solution
could u please also write an example of a code that involves instances from an abstract class just as u did for interfaces because u said it could also work which i really doubt. thanks
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..
WS-NUM PIC S9(05)V(02) SIGN TRAILING SEPARATE MOVE '0050000+' TO WS-NUM The value stored is 00500,00+ MOVE '0050000-' TO WS-NUM Then what is the value will be stored in WS-NUM? Am getting '-00500,00'.....>>> What should I declare to WS-NUM so that I can get correct values for both + & - signs.