What is a node class?
Answer / beena
A node class is a class that,
relies on the base class for services and implementation,
provides a wider interface to te users than its base class,
relies primarily on virtual functions in its public interface
depends on all its direct and indirect base class
can be understood only in the context of the base class
can be used as base for further derivation
can be used to create objects.
A node class is a class that has added new services or functionality beyond the services inherited from its base class.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is tellg () in c++?
What's the best free c++ profiler for windows?
If dog is a friend of boy and boy is a friend of house, is dog a friend of house?
How to write a program such that it will delete itself after exectution?
what is the C++
what is the size of a class which contains no member variables but has two objects??? is it 1 or 2??
Write a Program for dynamically intialize a 2 dimentional array. Eg:5x20, accept strings and check for vowels and display the no.finally free the space allocated .
Define private, protected and public access control.
Can we use this pointer in a class specific, operator-overloading function for new operator?
Can you be bale to identify between straight- through and cross- over cable wiring? And in what case do you use straight- through and cross-over?
class Alpha { public: char data[10000]; Alpha(); ~Alpha(); }; class Beta { public: Beta() { n = 0; } void FillData(Alpha a); private: int n; }; How do you make the above sample code more efficient? a) If possible, make the constructor for Beta private to reduce the overhead of public constructors. b) Change the return type in FillData to int to negate the implicit return conversion from "int" to "void". c) Make the destructor for Alpha virtual. d) Make the constructor for Alpha virtual. e) Pass a const reference to Alpha in FillData
How is new() different from malloc()?