What does the keyword "static" mean?
Answers were Sorted based on User's Feedback
Answer / subhashish sen
static keyword is used with both variables and
functions.when a static variables means it retains its value
for different function calls and in C++ this variable is
used mainly for counting no. of objects of a class and it is
not confined to a particular object and for static member
functions its can only manipulate static variables and a
static member function can be invoked without an object of
class.
| Is This Answer Correct ? | 13 Yes | 0 No |
Answer / mangai
static functions are used to retain the last assigned
value...static function creates only one copy of arguments
and uses it...
| Is This Answer Correct ? | 4 Yes | 1 No |
Answer / anjana priyadharshini
Static:
static is one of the key word of the language c++.static means constant
| Is This Answer Correct ? | 1 Yes | 6 No |
why c++ is called OOPS? waht is inherutance? what is compiler?
why function overloading is not called as pure polymorphism?
What is the difference between Home and $Home?
There are 2 empty jars of 5 and 3 liters capacity. And a river is flowing besides. I want to measure 4 liters of wanter using these 2 jars. How do you do this?
what is mean by design pattern
what is the use of template classes in c++
4. What do you mean by a prototype? Define analysis prototype
polymorphism means?
What do you mean by inline function?
Which language is not a true object oriented programming language?
Why is abstraction needed?
What are different types of JVM's? for example we use dalvik jvm for android then what about the remaining operating systems?