What are interfaces to go language?



What are interfaces to go language?..

Answer / Jitendra Verma

Interfaces in Go are a type of abstract data type that defines a set of methods that any other type can implement. Interfaces provide a powerful way to achieve polymorphism, as they allow types with unrelated underlying types to be treated uniformly.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Go Programming Language Interview Questions

What are the benefits of using go programming?

1 Answers  


Is “maps” value types?

1 Answers  


Explain packages in go program?

1 Answers  


What is a string literal?

1 Answers  


What are packages in go programming?

1 Answers  


What is the default value of type bool in go programming?

1 Answers  


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

1 Answers  


What is workspace in go?

1 Answers  


How you to access command line arguments passed to a go program?

1 Answers  


How many looping constructs are present in go programming language?

1 Answers  


What are packages in go program?

1 Answers  


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

1 Answers  


Categories