Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Answer Posted / nick martin

"interface is collection of abstract method."

Ummm No... Perhaps you are thinking of an abstract class and
methods within.

An interface defines a class. A class that implements an
interface must implement all of the methods and properties
within the interface. Interfaces are commonly thought of as
a "Contract" as they guarantee that implementing class will
contain those methods and properties.

Is This Answer Correct ?    10 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a C++ program without using any loop (if, for, while etc) to print prime numbers from 1 to 100 and 100 to 1 (Do not use 200 print statements!!!)

2161


Write a program to implement OOPS concepts such as inheritance, polymorphism, friend function, operator overloading?

4805


What is the difference between a constructor and a destructor?

1345


What is abstraction in oops?

1096


Is react oop?

1112


write knight tour problem which is present in datastructure

2716


Write a program to reverse a string using recursive function?

2411


What is polymorphism programming?

1179


How do you answer polymorphism?

1110


What is the importance of oop?

1145


What are the benefits of polymorphism?

1364


How do you define a class in oop?

1173


Why multiple inheritance is not allowed?

1253


Why do we use polymorphism in oops?

1107


Prepare me a program for the animation of train

2539