diff between Abstract class Interfaces?

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


Please Help Members By Posting Answers For Below Questions

What is the real time example of encapsulation?

597


How does polymorphism work?

635


What is static modifier?

631


What is overloading in oops?

598


What is overloading and its types?

615






What is ambiguity in inheritance?

625


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?

1395


What is object in oop?

679


What is the renewal class?

2167


What is abstraction in oop?

632


Which method cannot be overridden?

578


Which language is not a true object oriented programming language?

642


c++ program to swap the objects of two different classes

1764


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’.

1780


What are the two different types of polymorphism?

672