Can anyone please explain me what is an interface class? Abstract Class? and Static Class? Please explain me with a simple example in C++. Since i am a beginner to C++.
Also, please give me some links where I can easily learn C++.
Can anyone please explain me what is an interface class? Abstract Class? and Static Class? Please explain me with a simple example in C++. Since i am a beginner to C++.
Also, please give me some links where I can easily learn C++.
Depending on the context, an interface class is either a class of the interface layer or a class whose purpose is to create a contract between a caller and an implementation (usually by providing only purely virtual functions).
An abstract class is a class that has at least one purely virtual function.
A static class is a class that has only static member variables and static member functions.
If you have sufficient experience with some other programming language, read The C++ Programming Language. If not, you will have to go for a book that not only teaches C++, but also programming.