Answer Posted / azaad
static is keyword which is used for a variable and also for
a method.
static variable is initialized only once (i.e)one time memory.
static method of a class should not called with an objecy it
should be called with class name...
syntax: class-name.static method()
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
explain sub-type and sub class? atleast u have differ it into 4 points?
What is the difference between a constructor and a destructor?
How to handle exception in c++, For example in a functions i am assigning memory to some variables and also in next instructions in am dividing one variable also. If this functions generates a error while allocating memory to those variable and also while dividing the variable if i divide by zero then catch block how it will identify that this error has cone from perticular instruction
What is balance factor?
What type of loop is a for loop?
What is difference between inheritance and polymorphism?
Give an example where we have to specifically use C programming language and C++ programming language cannot be used?
Is this job good for future? can do this job post grduate student?
What does it mean when someone says I oop?
#include
Why it is called runtime polymorphism?
what are the different types of qualifier in java?
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?
Why do we use encapsulation in oops?
Templates mean