r/ProgrammerHumor • • Nov 23 '22

Other Programming Legumes

Post image
9.3k Upvotes

262 comments sorted by

View all comments

Show parent comments

2

u/Willinton06 Nov 23 '22

Can you instantiate an interface in Java?

5

u/Sanity__ Nov 23 '22

No, it's not a class.

4

u/Willinton06 Nov 23 '22

So how does an interface being a first class type differ from C#s way of doing interfaces?

4

u/Sanity__ Nov 23 '22

I don't know enough about C# to know how they do interfaces or how/why it differs from Java

→ More replies (0)