Answer Posted / pramod kumar sharma
abstract class contains the at list one abstract methods and abstract methods contain the only declaration but no definition.
interface contain all methods abstract methods only.
Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
What is the real time example of encapsulation?
How does polymorphism work?
What is static modifier?
What is overloading in oops?
What is overloading and its types?
What is ambiguity in inheritance?
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 object in oop?
What is the renewal class?
What is abstraction in oop?
Which method cannot be overridden?
Which language is not a true object oriented programming language?
c++ program to swap the objects of two different classes
write a code for this. serial_number contained in the header of the file will be read , if this serial number is less than a previous serial number within a successfully processed file, or is the same as another serial number within a successfully processed file, or if the field contains anything other than 7 digits, then the file must error with the reason ‘Invalid SERIAL_NUMBER’.
What are the two different types of polymorphism?