Describe what an Interface is and how it?s different from a
Class.

Answer Posted / priaynk

Interface is an idea about the functionalities provided.
class will define the rules for that idea
object is the real entity which takes it into reality.

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is coupling in oops?

598


Can private class be inherited?

619


How do you achieve runtime polymorphism?

573


What is inheritance and how many types of inheritance?

622


Can we create object of abstract class?

577






write a program using c++ to implement single contiguous memory mangement techniques.display the content of the main memory after yhe allocation of jobs and percentage of the wastage of the main memory

2763


What is abstraction in oop?

637


What is the main feature of oop?

622


String = "C++ is an object oriented programming language.An imp feature of oops is classes and objects".Write a pgm to count the repeated words from this scenario?

1944


What is the problem with multiple inheritance?

586


What is the difference between a constructor and a destructor?

615


What are oops functions?

585


What is stream in oop?

841


Can abstract class have normal methods?

616


Is data hiding and abstraction same?

569