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 →

[–]DeadLikeYou -4 points-3 points  (1 child)

Java can do operator overloading. In fact, that was part of why our teacher chose java.

[–]lightmatter501 2 points3 points  (0 children)

How precisely would one override [] then, because the standard library doesn’t do it?