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


Does go (golang) support type inheritance?



Does go (golang) support type inheritance?..

Answer / Durgesh Nandan

"No", Golang does not directly support type inheritance like other object-oriented languages such as Java or C++. However, it provides a feature called composition and interfaces which can mimic the behavior of inheritance.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Go Programming Language Interview Questions

Does go support generic programming?

1 Answers  


How can variable type be checked at the runtime?

1 Answers  


Explain go interfaces ?

1 Answers  


Can we declare a class in go?

1 Answers  


What is the gopath environment variable?

1 Answers  


What is function closures in go pragramming?

1 Answers  


How many looping constructs are present in go programming language?

1 Answers  


What is go?

1 Answers  


Who is the father of go (golang)?

1 Answers  


Is it true that short variable declaration := can be used only inside a function?

1 Answers  


What is l-value and r-value in go?

1 Answers  


What is the default value of a local variable in go?

1 Answers  


Categories