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 |
Describe about storage allocation and scope of global, extern, static, local and register variables?
How can you quickly find the number of elements stored in a static array? Why is it difficult to store linked list in an array?
How the virtual functions maintain the call up?
What is c++ and its uses?
What is the advantage of c++ over c?
What is a virtual destructor? Explain the use of it?
What is the topic of the C++ FAQ list?
How would you represent an error detected during constructor of an object?
What are the syntactic rules to be avoid ambiguity in multiple inheritance?
Will the inline function be compiled as the inline function always? Justify.
What is "mutable" keyword?
Write about the access privileges in c++ and also mention about its default access level?