What is the differances between a abstract calss and
interface
Answer Posted / maria alex
An abstract class holds both method prototpypes and method
definitions also...But it is not in the case of
interface..It can contain only protypes.. It should be
defined only where it is implemented...
| Is This Answer Correct ? | 20 Yes | 3 No |
Post New Answer View All Answers
Give two or more real cenario of virtual function and vertual object
What is encapsulation with example?
what is graphics
What is overloading and its types?
what type of questions
What are the advantages of polymorphism?
What is inheritance and how many types of inheritance?
Write a program to compute for numeric grades for a course. The course records are in a file that will serve as the input file. The input file is in exactly the following format: Each line contains a student's first name, then one space, then ten quiz scores all on one line. The quiz scores are in whole number and are separated by one space. Your program will take it input from this file and sends it output to a second file. The data in the output file will be exactly the same as the data in the input file except that there will be one additional number (of type double) at the end of each line. This number will be the average of the student's ten quiz scores. Use at least one function that has file streams as all or some of its arguments.
What is the purpose of polymorphism?
What is polymorphism explain?
Can we override main method?
What is overriding in oop?
Templates mean
What is oops in simple words?
What is polymorphism programming?