Answer Posted / george from psg
static function is constant to all object. In the same way
static variable is constant to all so we use static variable
in static function
| Is This Answer Correct ? | 9 Yes | 1 No |
Post New Answer View All Answers
What are the three main types of variables?
What does and I oop mean in text?
Why can't we have instance(stack) of a class as a member of the same class like eg.Class A{A obj;} as we can have self refential pointer
What is multilevel inheritance explain with example?
What is the difference between inheritance and polymorphism?
Why multiple inheritance is not possible?
Why do we use class?
What is interface? When and where is it used?
Can main method override?
Why is abstraction needed?
What is super in oop?
Can we override main method?
What are properties in oop?
Please send ford technologies placement paper 2 my mail id
There are two base class B1,B2 and there is one class D which is derived from both classes, Explain the flow of calling constructors and destructors when an object of derived class is instantiated.