Answer Posted / jasbir singh
An abstract class is a class with at least one function
without definitions.
An Interface is a class which only contains function
declarations, all the functions are specifically and
separately defined later. And you can't create objects of
these classes.
| Is This Answer Correct ? | 12 Yes | 1 No |
Post New Answer View All Answers
write a program to enter a string like"sunil is a good boy and seeking for a job" not more than 10 characters including space in one line,rest characters should b in other line.if the next line starts from in between the previous word,then print whole word to next line.
Why is object oriented programming so hard?
What is encapsulation and abstraction? How are they implemented in C++?
What is encapsulation with real life example?
Can a varargs method be overloaded?
i=20;k=0;
for(j=1;k-i;k+=j<10?4:3)
{
cout< What is overriding vs overloading? What is inheritance in simple words? What is difference between polymorphism and inheritance? assume the program must insert 4 elements from the key board
and then do the following programs.sequential search(search
one of the elements),using insertion sort(sort the element)
and using selection sort(sort the element). What are the 4 pillars of oop? They started with the brief introduction followed by few
basic C++ questions on polumorphism, inheritance and then
virtual functions.
What is polymorphims?
How you will access polymorphic functions in C?
How virtual function mechanism works?
What is polymorphism what is it for and how is it used? What are objects in oop? What is the purpose of enum?