Why static functions always uses static variables?

Answer Posted / harsha

context,object are created in RAM. context is created
once.static methods implementaion , static varibles loads
into context only once.All those staic members avilable to
each other obviously.

Is This Answer Correct ?    2 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why is oop better than procedural?

825


officer say me - i am offered to a smoking , then what can you say

1869


What are main features of oop?

885


What is Difeerence between List obj=new ArrayList(); and ArrayList obj=new ArrayList()?

2328


What is encapsulation in ict?

827


How to improve object oriented design skills?

780


Why is abstraction needed?

780


What are the components of marker interface?

815


Is react oop?

836


How to call a non virtual function in the derived class by using base class pointer

5960


How do you define a class in oop?

880


What is encapsulation in oop?

809


What is destructor in oop?

812


Templates mean

1861


They started with the brief introduction followed by few basic C++ questions on polumorphism, inheritance and then virtual functions. What is polymorphims? How you will access polymorphic functions in C? How virtual function mechanism works?

1640