give me some class & objects examples?
Answer / divyaja
Sometimes, a programmer will want to
define a custom "thing" and the operations
that can be performed on that "thing"
• A class is the definition
• An object is a particular instance of a class
• Classes contain
– data, called members
– functions, called methods
| Is This Answer Correct ? | 7 Yes | 0 No |
If a base class declares a function to be virtual, and a derived class does not use the term virtual when overriding that class, is it still virtual when inherited by a third-generation class?
Define the process of handling in case of destructor failure?
Is ca high or low level language?
Why the usage of pointers in C++ is not recommended ?
Write a program to calculate the following i want a c++program for this condition 1+4+9+16+….+100 Like this (1^2+2^2) Hint use function pow(a,b)
Explain virtual class?
Write a recursive program to calculate factorial in c++.
How many lines of code you have written for a single program?
Explain virtual functions in C++.
Explain what is class definition in c++ ?
What is object in c++ wikipedia?
What's the order in which the local objects are destructed?