Go和Java关于接口的区别是什么? [关闭]

Recently I've been asked a question which is, what's the difference between Golang and Java about interface?

I know there are some 'syntactic sugar level' differences, what I am interested is anything beneath the ground, like how does Golang and Java implement interface? What's the most difference? Which one is more efficient? Why?

Could anyone post blogs link or source code about this topic? Source code is better.

Thanks.

查看全部
douweng9427
douweng9427
2016/10/08 13:06
  • java
  • interface
  • 点赞
  • 收藏
  • 回答
    私信
满意答案
查看全部

1个回复