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

State what is encapsulation and friend function?

967


How do you achieve runtime polymorphism?

766


Explain the concepts involved in Object Oriented programming.

895


What is overriding in oops?

847


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

2999


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

2146


if i have same function with same number of argument but defined in different files. Now i am adding these two files in a third file and calling this function . which will get called and wht decide the precedence?

3139


What makes a language oop?

842


What is destructor in oop?

812


What is polymorphism and types?

867


What is the real time example of inheritance?

884


What does <> mean pseudocode?

864


What is abstract class in oops?

801


Why is there no multiple inheritance?

789


Can main method override?

860