What is the differances between a abstract calss and
interface
Answer Posted / abhijit
Abstract base classes can have data members but not interfaces.
Abstract base classes have private access specifier by
default while that of interfaces is public
Is This Answer Correct ? | 8 Yes | 0 No |
Post New Answer View All Answers
If a=5, b=6, c=7, b+=a%c*2. What is the final value of b?
There are two base class B1,B2 and there is one class D which is derived from both classes, Explain the flow of calling constructors and destructors when an object of derived class is instantiated.
What is encapsulation selenium?
Plese get me a perfect C++ program for railway/airway reservation with all details.
Why multiple inheritance is not possible?
Can you name some types of inheritance?
What is the difference between inheritance and polymorphism?
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.
When not to use object oriented programming?
Which language is not a true object oriented programming language?
just right the logic of it 1--> If few people are electing then every time ur candidate should win 2--> arrange books in box, if box carry weight == books weight then take another box..... find the no of box required.
Why do while loop is used?
write a code for this:trailer recordId contains a value other than 99, then the file must error with the reason ‘Invalid RECORD_ID’(User Defined Exception).
What is pure oop?
What are oops functions?