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


Explain go interfaces ?



Explain go interfaces ?..

Answer / Shalini Pandey

"Go interfaces are a way to define a contract or common behavior among different types. An interface is a type that contains method signatures but no method implementation. When a concrete type implements all the methods of an interface, it satisfies the interface and can be used wherever that interface is expected. Interfaces in Go provide a powerful mechanism for polymorphism and are often used for abstraction and loosely coupled code."n

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Go Programming Language Interview Questions

What is the difference between make and new?

1 Answers  


Explain static type declaration of variable in go programming language?

1 Answers  


Explain workspace in go?

1 Answers  


What is the usage of continue statement in go programming language?

1 Answers  


What is slice in go?

1 Answers  


How you can write multiline strings in go?

1 Answers  


What is type assertion in go?

1 Answers  


What is the syntax for creating a function?

1 Answers  


What are the several built-in supports in go programming?

1 Answers  


What are the function closures?

1 Answers  


How to swap two values in golang?

1 Answers  


Does go (golang) support type inheritance?

1 Answers  


Categories