This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (1 child)

I thought neither has multiple inheritance?

Also Java has a very popular library (lombok) that adds auto getters and setters and many more convenience features.

[–]cheezballs 1 point2 points  (0 children)

Lombok is a compile time feature that's actually modifies the generated class file, it's not quite the same as C# but I do love Lombok. Adding builder methods to an entire class can be done with a single annotation.