what's the difference between abstract class and concreate
class? what's the meaning of standard template library(STL)?
Answers were Sorted based on User's Feedback
Answer / monalisha
In C++ an abstract class is one which defines an
interface, but does not necessarily provide implementations
for all its member functions. An abstract class is meant to
be used as the base class from which other classes are
derived. The derived class is expected to provide
implementations for the member functions that are not
implemented in the base class. A derived class that
implements all the missing functionality is called a
concrete class .
The Standard Template Library, or STL, is a C++ library of
container classes, algorithms, and iterators; it provides
many of the basic algorithms and data structures of
computer science. The STL is a generic library, meaning
that its components are heavily parameterized: almost every
component in the STL is a template.
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / dumitru
In C++ an abstract class is a class that contain at least
one pure virtual function ( f()=0; ) and is related at using
this only for inheritance, not for instance an object from
this directly.
The Standard Template Library, or STL, is a C++ library of
container classes, algorithms, and iterators; it provides
many of the basic algorithms and data structures of
computer science. The STL is a generic library, meaning
that its components are heavily parameterized: almost every
component in the STL is a template.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is the underlying datastructure of map?
5. Write c++ function that would intake a string and return the number of occurrences of a given character in that sring Ex:- if the word is “Colombo” and count the occurrences of the letter “o” the function would return 3
what are you now programming Languages C+
What is C++ could you enplane me please?
write a program that input four digit no and finds it is palindrome or not
What is Constructor
What are the symptoms of stl?
what is the acronym of the term 'C.O.M.P.U.T.E.R' ?
17 Answers Config Systems, Google, Wipro,
How can you create a bulleted list, numbered list and an outline by using bullets and numbering command. Explain with the help of example.
Q1. A. What is unary operator? List out the different operators involved in the unary operator. B. What is an adjust field format flag? Q2. A. Distinguish between a # include and #define. B. Can a list of string be stored within a two dimensional array? Q3. A.Explain how a pointer to function can be declared in C++? B.List the merits and demerits of declaring a nested class in C++? Q4. A. What are the syntactic rules to be avoid ambiguity in multiple inheritence? B. Explain the operation of overloading of an assignment operator. Q5. A. Explain how the virtual base class is different from the conventional base classes of the opps. B. Explain how an exception handler is defined and invoked in a Program. Q6. A. What is a binary file? List the merits and demerits of the binary file usagein C++. B. Write short notes on Text Manipulation Routines. C. Write bites in Turbo c++ Header (“Include”) Files.
0 Answers GE, Infosys, Microsoft, NIM,
Why should a c++ programmer be interested in stl?
how to use C++?