Does go support generic programming?



Does go support generic programming?..

Answer / Shobhit Kumar

No, as of Go 1.17, Go does not support generic programming in the traditional sense. However, Go does have a similar concept called Composable Interfaces.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Go Programming Language Interview Questions

Does go (golang) support operator overloading?

1 Answers  


Explain static type declaration of variable in go programming language?

1 Answers  


How can you distribute tasks in golang?

1 Answers  


Does go (golang) support generic programming?

1 Answers  


What is string types?

1 Answers  


What is gopath environment variable?

1 Answers  


What are nil pointers?

1 Answers  


What is goroutine in go programming language?

1 Answers  


How will you access command line arguments in a go program?

1 Answers  


What is a string literal?

1 Answers  


What is a string literal in go programming?

1 Answers  


What is type casting in go programming?

1 Answers  


Categories