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 2*2?
Define the terms: field, record, table and database
what is use of for loop?
Write a C/C++ program to add a user to MySQL. The user should be permitted to only "INSERT" into the given database.
What is a stl vector?
how to making game in c++ ?
How do you convert stl to steps?
What is a standard template library (stl)? What are the various types of stl containers?
what's the difference between abstract class and concreate class? what's the meaning of standard template library(STL)?
Why should a c++ programmer be interested in stl?
What is the stl, standard template library?
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