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
can any one suggestion me present which course(except java,.net) has huge demand in the market?
write the a cl program with the following specification A. Accept 2 parameters-date and date type B. if date type is J then convert date to *MDY format C. if date type is M convert date to *JUL format 4.send a program message with the value of converted date Please explain for each with coding?
what is diff bet ref variable & instance of class
if 2 is passed as an argument to the method,void GC.Collect then what would be the result?
iam confused among testing ,.net and java. can anybody help me.
Hi Guys, This is Rama, right now I am working as a Software Test Engineer in Gurgoan and I have over all 3 years of testing expoeriance. Right now I am looking for a change. Can any body help me out to find a job in south india. Thanks in Advance
1. How many jobs can we write in a single file? 2. How many maximum members can exist in a single partition data set(pds) in jcl?
I want sample papers for NIC Examination. Plz send them to my mail Id das.neelam@gmail.com . Plz send it today, tomorrow i've the exam.
Explain the difference between an expert and a novice user. How would your strategy for designing user interfaces for an expert user differ from that for designing user interfaces for a novice user.
what is delegate and how works delegate and event.
Hi All, Can any one please send me the difference between informatica 7i and 8i versions, Thanks in advance. vinod
Tell me the jobs for the MCA Fresher in delhi, Noida..
I need to fetch all rows from the table based one field value in the table and later do a condition check if the condition is true I will have to move all the rows present in the data base to output file one else if the condition is not satisfied then move all the records of that field value into another file .Please let me know how to do that
9.Difference between even and odd signals?explain with the diagram?
public static void main(String args[]) describe it