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
Write a program to find factorial of a number using functions
what is the diffrence between software and hardware language?
smal talk is pure object oriented or not?
4. What is the need of START 0? Instead if can we use any other numeric? If we use what will happen?
shall we execute our java programmes in jre
i want to improve my english vocab for racking campus written exam plz tell me best book for prepration......
a characteristic of a multiprogramming is? a.simultaneous exe of pgm instr 4m 2 appli b.concurrent processing of 2 r more prgms c.multiple cpu s d.all the abov
When we have two versions of the dot net installed how does the compiler know which version of DLL it has to select to an application.
what is adodb??y it is used for connection of V.B and access??what is ado?dao?
Explain three modes in which files can be accessed from python program
what are other resources are needed for this mantis?
Mainly Related to Oracle, DBMS , Oracle Stored Procedures, Functions, Oracle 9i Architecture, Redo logs..., Views,
Given a cube of size n*n*n (i.e made up of n^3 smaller cubes), find the number of smaller cubes on the surface. Extend this to k-dimension.
What is BASIS
How to set on/off a group of indicators in a single statement?