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 is interface in oop?
What does it mean when someone says I oop?
What is constructor in oop?
Why do while loop is used?
Why is polymorphism needed?
What is the important feature of inheritance?
What is difference between abstraction and encapsulation?
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
explain sub-type and sub class? atleast u have differ it into 4 points?
What are benefits of oop?
#include
Whats is abstraction in oops?
What is polymorphism oop?
What is a class and object?
How do you achieve runtime polymorphism?